关于帧中继

教程发布:风哥 教程分类:ITPUX技术网 更新日期:2022-02-12 浏览学习:145

1 帧中继基本配置
1.1 帧中继交换机
帧中继交换机在实际工程环境中一般不需要我们配置,由运营商设置完成,但在实验环境中,要求掌握帧中继交换机的基本配置。配置示例:
frame-relay switching
interface s0/1
encapsulation frame-relay
frame-relay intf-type dce
clock rate 64000
frame-relay route 102 interface s0/2 201
// 定义PVC,该条命令是,s0/1口的DLCI 102,绑定到s0/2口的201 DLCI号
frame-relay route 103 interface s0/3 301
no shutdown

1.2 环境1 主接口运行帧中继(Invers-arp)FRswitch(帧中继交换机)的配置:
frame-relay switching
interface s0/1 // 连接到R1的接口
encapsulation frame-relay
frame-relay intf-type dce
clock rate 64000
frame-relay route 102 interface s0/2 201
// 定义PVC,该条命令是,s0/1口的DLCI 102,绑定到s0/2口的201 DLCI号
no shutdown
interface s0/2 // 连接到R2的接口
encapsulation frame-relay
frame-relay intf-type dce
clock rate 64000
frame-relay route 201 interface s0/1 102
no shutdown

R1的配置如下:
interface serial 0/0
ip address 192.168.12.1 255.255.255.252
encapsulation frame-relay
// 接口封装FR,通过invers-arp发现DLCI,并建立对端IP到本地DLCI的映射(帧中继映射表)
no shutdown

R2的配置如下:
interface serial 0/0
ip address 192.168.12.2 255.255.255.252
encapsulation frame-relay
no shutdown

在FRswitch上查看PVI(验证配置):
FRswitch#show frame-relay route
Input Intf Input Dlci Output Intf Output Dlci Status
Serial0/1 102 Serial0/2 201 active
Serial0/2 201 Serial0/1 102 active

在R1上查看帧中继映射
R1#show frame-relay map
Serial0/0 (up): ip 192.168.12.2 dlci 102(0x66,0x1860), dynamic,
broadcast,, status defined, active

R1#ping 192.168.12.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.12.2, timeout is 2 seconds:
!!!!!

本文标签:
本文标题:关于帧中继
网站声明:本文由风哥整理发布,转载请保留此段声明,本站所有内容将不对其使用后果做任何承诺,请读者谨慎使用!
【上一篇】
【下一篇】