幀中繼配置命令

楨中繼
點到多點
1.做與P-TO-P相同的網雲配置
2.路由器的配置:
Router>enable
Router(config)#interface Serial0/0/0
Router(config-if)#clock rate 128000
Router(config-if)#exit
Router(config)#interface Serial0/0/0
Router(config-if)#encapsulation frame-relay
Router(config-if)#frame-relay lmi-type cisco
Router(config-if)#no shut
Router(config-if)#ex
Router(config)#interface serial 0/0/0.1 multipoint
Router(config)#interface serial 0/0/0.1
Router(config-subif)#interface serial 0/0/0.1 multipoint
Router(config-subif)#ip address 192.168.0.3 255.255.255.0
Router(config-subif)#frame-relay map ip 192.168.0.1 301
Router(config-subif)#frame-relay map ip 192.168.0.2 302
Router(config-subif)#no shut
Router(config-subif)#end
%SYS-5-CONFIG_I: Configured from console by console
Router#ping 192.168.0.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.0.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 62/65/78 ms
Router#ping 192.168.0.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.0.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 47/59/63 ms
Router#
點到點
1.在Interface各接口中配置網雲中的DLCI號
2.在CONNECTIONS中frame relay中配置各接口不同DLCI號的對應關係
3.配置路由器
router 0
Router>enable
Router#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#interface Serial0/0/0
Router(config-if)#clock rate 128000
Router(config-if)#
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to upno shutdown
Router(config-if)#exit
Router(config)#interface Serial0/0/0
Router(config-if)#encapsulation frame-relay
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
Router(config-if)#no shut
Router(config-if)#ex
Router(config)#interface serial 0/0/0.1 point-to-point
Router(config-subif)#ip address 192.168.10.1 255.255.255.0
Router(config-subif)#frame-relay interface-dlci 102
Router(config-subif)#ex
Router(config)#interface serial 0/0/0.2 point-to-point
Router(config-subif)#ip address 192.168.30.1 255.255.255.0
Router(config-subif)#frame-relay interface-dlci 103
Router(config-subif)#end
%SYS-5-CONFIG_I: Configured from console by console
Router#ping 192.168.10.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.10.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 47/59/63 ms
Router#ping 192.168.30.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.30.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 50/60/63 ms
Router#
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章