Frame-relay 的配置(point-to-point)

Frame-relay 的配置( point-to-point    ---------------------------R1  &  R2
 
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)#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)#no shut
frame-relay(config-if)#end
注:每个接口都应打开( shut
 
 
去掉这俩条映射后 R2 R3 是不通的,因为他没有路径(全互联的具有动态发现邻居的能力,用的是 broadcast
R1
r1(config)#inter s1/2
r1(config-if)#ip addr 10.1.1.1 255.255.255.0(NO 掉这条 )
r1(config-if)#en  
r1(config-if)#encapsulation fra
r1(config-if)#encapsulation frame-relay
r1(config-if)#
r1(config-if)#no shut
r1(config)#inter s1/2.1 p
r1(config)#inter s1/2.1 point-to-point
r1(config-subif)#ip addr 10.1.1.1 255.255.255.0
R1(CONFIG-SUBIF)#FRAME-RELAY INTERFACE-DLCI  102( 此条尤为重要 )
r1(config-subif)#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

本文出自 “www.51cto.com” 博客,谢绝转载!

你可能感兴趣的:(职场,frame,休闲,frame-relay)