天天看點

P2P SubInterface FrameRelay

作者:stanley.wy & allens 步驟一:配置 R4 的為幀中繼交換機。

R4(config)#frame-relay switching [s1]  R4(config)#interface serial 1/0 R4(config-if)#encapsulation frame-relay R4(config-if)#frame-relay intf-type dce R4(config-if)#frame-relay lmi-type cisco (預設類型) R4(config-if)#frame-relay route 100 interface serial 1/1 101 R4(config-if)#frame-relay route 200 interface serial 1/2 201 R4(config-if)#clock rate 64000 R4(config-if)#no shutdown R4(config-if)#exit R4(config)#interface serial 1/1 R4(config-if)#frame-relay lmi-type ansi R4(config-if)#frame-relay route 101 interface serial 1/0 100 R4(config)#interface serial 1/2 R4(config-if)#frame-relay lmi-type q933a R4(config-if)#frame-relay route 201 interface serial 1/0 200
步驟二 配置 R2 路由器
R2(config)#interface serial 1/2 R2(config-if)#encapsulation frame-relay [s2]  R2(config-if)#ip address 172.16.1.2 255.255.255.0 R2(config-if)#no shut
步驟三:配置 R3
R3(config)#interface serial 1/2 R3(config-if)#encapsulation frame-relay R3(config-if)#ip address 172.16.2.2 255.255.255.0 R3(config-if)#no shut
步驟四:配置 R1 ,采用點對點的子接口,配置 的幀中繼
R1(config)#interface serial 1/2 R1(config-if)#encapsulation frame-relay R1(config-if)#no ip address R1(config-if)#no shutdown R1(config-if)#exit R1(config)#interface serial 1/2.100 point-to-point [s3]  R1(config-subif)#ip address 172.16.1.1 255.255.255.0 R1(config-subif)#frame-relay interface-dlci 100 R1(config-fr-dlci)#exit R1(config-subif)#exit R1(config)#interface serial 1/2.200 point-to-point R1(config-subif)#ip address 172.16.2.1 255.255.255.0 R1(config-subif)#frame-relay interface-dlci 200
步驟五:在 使用 show frame-realy lmi show frame-relay pvc 進行确認。 步驟六:在 上配置 RIP ,進行觀察。 結果: 能夠正确的學習到所有的路由。

 [s1]啟用frame-relay交換

 [s2]在接口下啟用幀中繼的封裝

 [s3]建立一個幀中繼子接口,其類型為點對點。

繼續閱讀