第1段:配置有2个节点的帧中继环境 version 12.1 service timestamps debug uptime service timestamps log uptime no service passWord-encryption ! hostname FR_S witch ip subnet-zero no ip domain-lookup frame-relay switching ! interface Serial0 no ip address shutdown ! interface Serial 1 no Ip address encapsuSatlois frame-relay dockrate 64000 frame-relay lmi-type dsco frame-relay Intf-type dee frame-relay route 102 Interface Serlal2 201 ! interface Serial2 no ip address encapsulation frame-relay clockrate 64000 frame-relay Imi-type cisco frame-relay intf-type dee frame-relay route 201 interface Seriall 102 !
interface Serial3 no ip address shutdown ! line con 0 line aux 0 transport input all line vty 0 4 login ! end 第2段:查看有关信息 FR_Switch#sh fr route Input Intf Input Dici Output Intf Output Dici Status Serial1 102 Serial2 201 inactive Serial2 201 Serial1 102 inactive FR_Switch#sh fr lmi LMI Statistics for interface Serial1(Frame Relay DCE)LMI TYPE=CISCO Invalid Unnumbered info 0 Invalid PRot Disc 0 Invalid dummy Call Ref 0 Invalid Msg Type 0 Invalid Status Message 0 Invalid Lock Shift 0 Invalid Information ID 0 Invalid Report IE Len 0 Invalid Report Request 0 Invalid Keep IE Len 0 Num Status Enq. Rcvd 0 Num Status msgs Sent 0 Num Update Status Sent 0 Num St Enq. Timeouts 0 LMI Statistics for interface Serial2(Frame Relay DCE)LMI TYPE=CISCO Invalid Unnumbered info 0 Invalid Prot Disc 0 Invalid dummy Call Ref 0 Invalid Msg Type 0 Invalid Status Message 0 Invalid Lock Shift 0 Invalid Information ID 0 Invalid Report IE Len 0 Invalid Report Request 0 Invalid Keep IE Len 0 Num Status Enq. Rcvd 0 Num Status msgs Sent 0 Num Update Status Sent 0 Num St Enq. Timeouts 154 FR_Switch#sh fr pvc PVC Statistics for interface Serial1(Frame Relay DCE) Active Inactive Deleted Static Local 0 0 0 0 Switched 0 1 0 0 Unused 0 0 0 0
DLCI=102,DLCI USAGE-SWITCHED,PVC STATUS=INACTIVE,INTERFACE=Serial1 input pkts 0 output pkts 0 in bytes 0 out bytes 0 dropped pkts 0 in FECN pkts 0 in BECN pkts 0 out FECN pkts 0 out BECN pkts 0 in DE pkts 0 out DE pkts 0 out beast pkts 0 out beast bytes 0 Num Pkts Switched 0 pvc create time 00:39:51, last time pvc status changed 00:39:51
PVC Statistics for interface Serial2(Frame Relay DCE) Active Inactive Deleted Static Local 0 0 0 0 Switched 0 1 0 0 Unused 0 0 0 0