设为首页收藏本站language 语言切换
查看: 3113|回复: 7
收起左侧

GNS3基本帧中继配置

[复制链接]
发表于 2013-7-16 13:41:42 | 显示全部楼层 |阅读模式
拓扑图
帧中继.bmp
帧中继部署:
1、 进入所有路由器及帧中继的接口,将接口封装为FR,在物理层DCE端输入时钟以及在所有接口上使用no shut
接口封装为FR命令:FR(config-if)#encapsulation frame-relay      (如果需要配置公有模式,请在命令后面加 ietf
                           FR(config-if)#no shut
R1R2R3配置类似,这里不再赘述。
相应的DCE端配置时钟,由于使用GNS3模拟器,模拟器自身问题不需要配置,但是实际的设备必须配置。
注意这里的DCE是本身物理接口的属性,也就是osi七层中物理层的特性。
2、 将中间路由器模拟成为帧中继交换机,然后在帧中继交换机的所有串行接口配置二层DCE接口
将中间路由器模拟成为帧中继交换机命令:FR(config)#frame-relay switching
帧中继交换机的所有串行接口配置二层DCE接口命令:FR(config-if)#frame-relay intf-type dce
3、 在帧中继交换机定义LMI类型
帧中继交换机的所有串行接口定义LMI类型FR(config-if)#frame-relay lmi-type cisco
4、 在帧中继交换机上分发DLCI并建立PVC
帧中继交换机:
FR(config)#int s 1/1
FR(config-if)#frame-relay route 102 int serial 1/2 201
FR(config-if)#frame-relay route 103 int serial 1/3 301
FR(config)#int s 1/2
FR(config-if)#frame-relay route 201 int serial 1/1 102
FR(config)#int s 1/3
FR(config-if)#frame-relay route 301 int serial 1/1 103
大概一分钟后,使用show命令查看映射情况
在帧中继交换机上
FR#show frame-relay pvc      (只复制下一部分show结果)
PVC Statistics for interface Serial1/1 (Frame Relay DCE)
              Active     Inactive      Deleted       Static
  Local          0            0            0            0
  Switched       2            0            0            0
  Unused         0            0            0            0
DLCI = 102, DLCI USAGE = SWITCHED, PVC STATUS = ACTIVE, INTERFACE = Serial1/1
PVC Statistics for interface Serial1/2 (Frame Relay DCE)
              Active     Inactive      Deleted       Static
  Local          0            0            0            0
  Switched       1            0            0            0
  Unused         0            0            0            0
DLCI = 201, DLCI USAGE = SWITCHED, PVC STATUS = ACTIVE, INTERFACE = Serial1/2
PVC Statistics for interface Serial1/3 (Frame Relay DCE)
              Active     Inactive      Deleted       Static
  Local          0            0            0            0
  Switched       1            0            0            0
  Unused         0            0            0            0
FR#show frame-relay route
Input Intf      Input Dlci      Output Intf     Output Dlci     Status
Serial1/1       102             Serial1/2       201             active
Serial1/1       103             Serial1/3       301             active
Serial1/2       201             Serial1/1       102             active
Serial1/3       301             Serial1/1       103             active
在其他路由器(以R1为例)
R1#show frame-relay pvc
PVC Statistics for interface Serial1/1 (Frame Relay DTE)
              Active     Inactive      Deleted       Static
  Local          0            0            0            0
  Switched       0            0            0            0
  Unused         2            0            0            0
R1#show frame-relay map
Serial1/1 (up): ip 100.1.1.2 dlci 102(0x66,0x1860), dynamic,
              broadcast,, status defined, active
Serial1/1 (up): ip 100.1.1.3 dlci 103(0x67,0x1870), dynamic,
              broadcast,, status defined, active
5、 在客户端配置同一网段的IP地址
按照拓扑图表示配置,配置完毕在路由器上查看PVC信息(以R1为例)
R1#show frame-relay pvc
PVC Statistics for interface Serial1/1 (Frame Relay DTE)
              Active     Inactive      Deleted       Static
Local          2            0            0            0    (由于配置了IP地址,PVC类型改为LOCAL,说明可发送报文)
  Switched       0            0            0            0
  Unused         0            0            0            0
完成这些配置在R1做验证
R1#ping 100.1.1.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 100.1.1.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 80/118/196 ms
R1#ping 100.1.1.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 100.1.1.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 60/104/196 ms
R2R3之间验证不通
6、R2与R3之间创建手工映射
R2(config-if)#frame-relay map ip 100.1.1.3 201 cisco broadcast
R3(config-if)#frame-relay map ip 100.1.1.2 301 cisco broadcast
验证
R3#ping 100.1.1.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 100.1.1.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 120/180/376 ms
R3#traceroute 100.1.1.2
Type escape sequence to abort.
Tracing the route to 100.1.1.2
  1 100.1.1.1 184 msec 156 msec 108 msec
  2 100.1.1.2 172 msec *  168 msec
发表于 2013-7-16 14:49:06 | 显示全部楼层
感谢分享。。。。
沙发 2013-7-16 14:49:06 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2013-7-16 16:03:37 | 显示全部楼层
板凳 2013-7-16 16:03:37 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2013-7-18 15:48:00 | 显示全部楼层
非常感谢
地板 2013-7-18 15:48:00 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2013-8-4 12:15:51 | 显示全部楼层
阿訇
5# 2013-8-4 12:15:51 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2015-9-29 16:11:56 | 显示全部楼层
你什么型号的机器
7# 2015-9-29 16:11:56 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2015-9-29 16:13:37 | 显示全部楼层
看样子是7200,我这个也是7200 的,在FR上sh ip route 显示的interval
8# 2015-9-29 16:13:37 回复 收起回复
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-2-7 17:47 , Processed in 0.060320 second(s), 15 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表