![](https://s1.51cto.com/attachment/200903/200903041236175009500.bmp)
sw配置:
frame-relay switching
interface Serial1/0
no ip address
encapsulation frame-relay
serial restart-delay 0
clock rate 64000
frame-relay lmi-type q933a
frame-relay intf-type dce
frame-relay route 100 interface Serial1/1 101
interface Serial1/1
no ip address
encapsulation frame-relay
serial restart-delay 0
clock rate 64000
frame-relay lmi-type q933a
frame-relay intf-type dce
frame-relay route 101 interface Serial1/0 100
R1配置:
interface Loopback0
ip address 1.1.1.1 255.0.0.0
interface FastEthernet0/0
no ip address
shutdown
interface Serial1/0
ip address 192.168.1.1 255.255.255.0
encapsulation frame-relay
ip ospf network point-to-point
frame-relay interface-dlci 100
frame-relay lmi-type q933a
R3配置
interface Loopback0
ip address 3.3.3.3 255.0.0.0
interface Serial1/1
ip address 192.168.1.2 255.255.255.0
encapsulation frame-relay
ip ospf network point-to-point
frame-relay interface-dlci 101
frame-relay lmi-type q933a
frame-relay switching
interface Serial1/0
no ip address
encapsulation frame-relay
serial restart-delay 0
clock rate 64000
frame-relay lmi-type q933a
frame-relay intf-type dce
frame-relay route 100 interface Serial1/1 101
interface Serial1/1
no ip address
encapsulation frame-relay
serial restart-delay 0
clock rate 64000
frame-relay lmi-type q933a
frame-relay intf-type dce
frame-relay route 101 interface Serial1/0 100
R1配置:
interface Loopback0
ip address 1.1.1.1 255.0.0.0
interface FastEthernet0/0
no ip address
shutdown
interface Serial1/0
ip address 192.168.1.1 255.255.255.0
encapsulation frame-relay
ip ospf network point-to-point
frame-relay interface-dlci 100
frame-relay lmi-type q933a
R3配置
interface Loopback0
ip address 3.3.3.3 255.0.0.0
interface Serial1/1
ip address 192.168.1.2 255.255.255.0
encapsulation frame-relay
ip ospf network point-to-point
frame-relay interface-dlci 101
frame-relay lmi-type q933a
sw1#show frame-relay pvc
PVC Statistics for interface Serial1/0 (Frame Relay DCE)
Active Inactive Deleted Static
Local 0 0 0 0
Switched 1 0 0 0
Unused 0 0 0 0
Local 0 0 0 0
Switched 1 0 0 0
Unused 0 0 0 0
DLCI = 100, DLCI USAGE = SWITCHED, PVC STATUS = ACTIVE, INTERFACE = Serial1/0
input pkts 83 output pkts 81 in bytes 7104
out bytes 6976 dropped pkts 0 in pkts dropped 0
out pkts dropped 0 out bytes dropped 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 bcast pkts 0 out bcast bytes 0
30 second input rate 0 bits/sec, 0 packets/sec
30 second output rate 0 bits/sec, 0 packets/sec
switched pkts 83
Detailed packet drop counters:
no out intf 0 out intf down 0 no out PVC 0
in PVC down 0 out PVC down 0 pkt too big 0
shaping Q full 0 pkt above DE 0 policing drop 0
pvc create time 00:16:07, last time pvc status changed 00:12:12
PVC Statistics for interface Serial1/1 (Frame Relay DCE)
Active Inactive Deleted Static
Local 0 0 0 0
Switched 1 0 0 0
Unused 0 0 0 0
DLCI = 101, DLCI USAGE = SWITCHED, PVC STATUS = ACTIVE, INTERFACE = Serial1/1
input pkts 83 output pkts 84 in bytes 7094
out bytes 7188 dropped pkts 2 in pkts dropped 2
out pkts dropped 0 out bytes dropped 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 bcast pkts 0 out bcast bytes 0
30 second input rate 0 bits/sec, 0 packets/sec
30 second output rate 0 bits/sec, 0 packets/sec
switched pkts 82
Detailed packet drop counters:
no out intf 0 out intf down 0 no out PVC 0
in PVC down 0 out PVC down 2 pkt too big 0
shaping Q full 0 pkt above DE 0 policing drop 0
pvc create time 00:14:45, last time pvc status changed 00:12:25
out bytes 6976 dropped pkts 0 in pkts dropped 0
out pkts dropped 0 out bytes dropped 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 bcast pkts 0 out bcast bytes 0
30 second input rate 0 bits/sec, 0 packets/sec
30 second output rate 0 bits/sec, 0 packets/sec
switched pkts 83
Detailed packet drop counters:
no out intf 0 out intf down 0 no out PVC 0
in PVC down 0 out PVC down 0 pkt too big 0
shaping Q full 0 pkt above DE 0 policing drop 0
pvc create time 00:16:07, last time pvc status changed 00:12:12
PVC Statistics for interface Serial1/1 (Frame Relay DCE)
Active Inactive Deleted Static
Local 0 0 0 0
Switched 1 0 0 0
Unused 0 0 0 0
DLCI = 101, DLCI USAGE = SWITCHED, PVC STATUS = ACTIVE, INTERFACE = Serial1/1
input pkts 83 output pkts 84 in bytes 7094
out bytes 7188 dropped pkts 2 in pkts dropped 2
out pkts dropped 0 out bytes dropped 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 bcast pkts 0 out bcast bytes 0
30 second input rate 0 bits/sec, 0 packets/sec
30 second output rate 0 bits/sec, 0 packets/sec
switched pkts 82
Detailed packet drop counters:
no out intf 0 out intf down 0 no out PVC 0
in PVC down 0 out PVC down 2 pkt too big 0
shaping Q full 0 pkt above DE 0 policing drop 0
pvc create time 00:14:45, last time pvc status changed 00:12:25
sw1# show frame-relay route
Input Intf Input Dlci Output Intf Output Dlci Status
Serial1/0 100 Serial1/1 101 active
Serial1/1 101 Serial1/0 100 active
Input Intf Input Dlci Output Intf Output Dlci Status
Serial1/0 100 Serial1/1 101 active
Serial1/1 101 Serial1/0 100 active
转载于:https://blog.51cto.com/waterice/134988