首页 > 其他 > 详细

帧中继交换机配置

时间:2020-09-28 10:39:05      阅读:28      评论:0      收藏:0      [点我收藏+]
技术分享图片
实验过程:
第一步:配置R1为帧中继交换机
R1(config)#fr swi (封装为帧中继交换机,非常重要的一步)
R1(config)#int s1/2
R1(config-if)#en fr
R1(config-if)#frame-relay intf-type dce (帧中继接口类型为DCE)
R1(config-if)#frame-relay route 23 interface s1/3 32

(配置本地dlci为23,出口为s1/3,dlci为32)
R1(config-if)#no sh
R1(config-if)#int s1/3
R1(config-if)#en fr
R1(config-if)#frame-relay intf-type dce
R1(config-if)#frame-relay
R1(config-if)#frame-relay route 32 interface s1/2 23

R1(config-if)#
R1(config-if)#no sh
R1(config-if)#exit
第二步:查看R1的帧中继路由
R1#sh fr rou
Input Intf Input Dlci Output Intf Output Dlci Status
Serial1/2 23 Serial1/3 32 inactive
Serial1/3 32 Serial1/2 23 inactive
R1#
?
第三步:查看R2和R3帧中继接口
R2(config)#
R2(config)#int s2/1
R2(config-if)#en fr
R2(config-if)#no sh
R2(config-if)#ip add 10.0.0.2 255.255.255.0
R2(config-if)#exit

R3(config)#int s3/1
R3(config-if)#en fr
R3(config-if)#no sh
R3(config-if)#ip add 10.0.0.3 255.255.255.0
R3(config-if)#exit
R3(config)#
R3(config)#^Z

第四步:现在在R2、R3帧中继客户端上查看frame-relay map

R2#sh fr map
Serial2/1 (up): ip 10.0.0.3 dlci 23(0x17,0x470), dynamic,
broadcast,, status defined, active
R2#

R3#sh fr map
Serial3/1 (up): ip 10.0.0.2 dlci 32(0x20,0x800), dynamic,
broadcast,, status defined, active
R3#

第五步:测试客户端互通
R2#ping 10.0.0.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.0.0.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 12/41/104 ms
R2#

R3#
R3#ping 10.0.0.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.0.0.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/48/96 ms
Over

帧中继交换机配置

原文:https://blog.51cto.com/starshomes/2537578

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!