Frame-relay
的配置(全互联)
R5 (frame-relay switching)
frame-relay(config)#frame-relay swi
frame-relay(config)#frame-relay switching
frame-relay(config)#inter s1/0
frame-relay(config-if)#encapsulation frame-relay
frame-relay(config-if)#no ip addr
frame-relay(config-if)#no ip address
frame-relay(config-if)#frame-relay intf
frame-relay(config-if)#frame-relay intf-type dce
frame-relay(config-if)#clock rate 64000
frame-relay(config-if)#fra
frame-relay(config-if)#frame-relay lmi
frame-relay(config-if)#frame-relay lmi-type
frame-relay(config-if)#frame-relay lmi-type ansi
frame-relay(config-if)#frame-relay route 102 inter s1/1 201
frame-relay(config-if)#frame-relay route 103 inter s1/2 301
frame-relay(config-if)#exi
frame-relay(config)#inte s1/1
frame-relay(config-if)#no ip add
frame-relay(config-if)#en
frame-relay(config-if)#encapsulation fra
frame-relay(config-if)#fra
frame-relay(config-if)#frame-relay intf
frame-relay(config-if)#frame-relay intf-type dce
frame-relay(config-if)#clock rate 64000
frame-relay(config-if)#frame-relay route 201 inter s1/0 102
frame-relay(config-if)#frame-relay route 203 inter s1/2 302
frame-relay(config-if)#no shut
frame-relay(config-if)#exi
frame-relay(config)#inte s1/2
frame-relay(config-if)#no ip addr
frame-relay(config-if)#
00:10:08: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/1, changed state to up
frame-relay(config-if)#enc
frame-relay(config-if)#encapsulation fra
frame-relay(config-if)#encapsulation frame-relay
frame-relay(config-if)#fra
frame-relay(config-if)#frame-relay intf
frame-relay(config-if)#frame-relay intf-type dce
frame-relay(config-if)#clock rate 64000
00:10:23: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/1, changed state to down
frame-relay(config-if)#clock rate 64000
frame-relay(config-if)#fra
frame-relay(config-if)#frame-relay route 301 inter s1/0 103
frame-relay(config-if)#fra
frame-relay(config-if)#frame-relay route 302 inter s1/1 203
frame-relay(config-if)#
frame-relay(config-if)#no shut
frame-relay(config-if)#
frame-relay(config-if)#
frame-relay(config-if)#
00:12:36: %LINK-3-UPDOWN: Interface Serial1/2, changed state to up
frame-relay(config-if)#end
注:每个接口都应打开(
shut
)
R1
r1(config)#inter s1/2
r1(config-if)#ip addr 10.1.1.1 255.255.255.0
r1(config-if)#en
r1(config-if)#encapsulation fra
r1(config-if)#encapsulation frame-relay
r1(config-if)#
r1(config-if)#no shut
R2
r2(config)#inter s1/2
r2(config-if)#ip addr 10.1.1.2 255.255.255.0
r2(config-if)#en
r2(config-if)#encapsulation fra
r2(config-if)#encapsulation frame-relay
r2(config-if)#no shut
R3
r3(config)#inter s1/2
r3(config-if)#en
r3(config-if)#encapsulation fra
r3(config-if)#ip addr 10.1.1.3 255.255.255.0
r3(config-if)#no shut