cisco路由器模拟帧中继交换机

注:实验拓扑图和配置步骤参照 http://wry000.blog.51cto.com/821590/272088,感谢wry的分享。

拓扑图:
201001291264770816625.png

1.把路由器R4配置为帧中继交换机
  
frame-relay  switching   *配置为帧中继交换机
2.在路由器R4上配置接口的时钟频率、封装类型、lmi类型和帧中继dce端
  
int s0/0
no shut
clock rate 64000   *设置时钟频率
encapsulation frame-relay    *封装为帧中继
frame-relay lmi-type cisco   *lmi类型为cisco
frame-relay intf-type dce    *帧中继的dce端
int s0/1
no shut
clock rate 64000
encapsulation frame-relay
frame-relay lmi-type cisco
frame-relay intf-type dce
int s0/2
no shut
clock rate 64000
encapsulation frame-relay
frame-relay lmi-type cisco
frame-relay intf-type dce
exit
3.在路由器R4接口上配置帧中继交换表
int s0/0
frame-relay route 102 interface Serial0/1 201
frame-relay route 104 interface Serial0/2 401

int s0/1
frame-relay route 201 interface Serial0/0 102
frame-relay route 301 interface Serial0/2 103

int s0/2
frame-relay route 401 interface Serial0/0 104
frame-relay route 103 interface Serial0/1 301
4.在R1、R2、R3路由器上配置接口IP,并封装为帧中继
  R1:
  R2:
  R3:
 encapsulation frame-relay
 frame-relay lmi-type cisco
5.验证配置结果
  R1:
  R2:
  R3:
 




     本文转自kindIT 51CTO博客,原文链接:http://blog.51cto.com/kindit/1035942 ,如需转载请自行联系原作者






Router(config)#no ip domain-lo Router(config)#line con 0 Router(config-line)#logg sy Router(config-line)#exec-t 0 0 Router(config-line)#exi Router(config)#ho R1 R1(config)#int s1/0 R1(config-if)#encapsulation fr R1(config-if)#no fram inv R1(config-if)#ip add 12.1.1.1 255.255.255.0 R1(config-if)#no shut R1(config-if)#frame-relay map ip 12.1.1.2 102 broadcast R1(config-if)#exi R1(config)#exi R1# R1#show ip int bri Interface IP-Address OK? Method Status Protocol Ethernet0/0 unassigned YES unset administratively down down Ethernet0/1 unassigned YES unset administratively down down Ethernet0/2 unassigned YES unset administratively down down Ethernet0/3 unassigned YES unset administratively down down Serial1/0 12.1.1.1 YES manual up up Serial1/1 unassigned YES unset administratively down down Serial1/2 unassigned YES unset administratively down down Serial1/3 unassigned YES unset administratively down down R1# Router#conf t Router(config)#no ip domain-lo Router(config)#line con 0 Router(config-line)#logg sy Router(config-line)#exec-t 0 0 Router(config-line)#exi Router(config)#ho R2 R2(config)#int s1/0 R2(config-if)#en fr R2(config-if)#no fram inv R2(config-if)#ip add 12.1.1.2 255.255.255.0 R2(config-if)#no shut R2(config-if)#exi R2(config)#i R2(config)#exi R2#show ip int bri Interface IP-Address OK? Method Status Protocol Ethernet0/0 unassigned YES unset administratively down down Ethernet0/1 unassigned YES unset administratively down down Ethernet0/2 unassigned YES unset administratively down down Ethernet0/3 unassigned YES unset administratively down down Serial1/0 12.1.1.2 YES manual up up Serial1/1 unassigned YES unset administratively down down Serial1/2 unassigned YES unset administratively down down Serial1/3 unassigned YES unset administratively down down R2#conf t R2(config)#int s1/0 R2(config-if)#frame-relay map ip 12.1.1.1 201 broadcast R2(config-if)#exi R2(config)#exi R2#ping 12.1.1.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 12.1.1.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 16/44/80 ms R2#
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值