Cisco路由器在帧中继中的配置实例

2007-9-12-14-40
1:帧中继技术
帧中继是一种高性能的WAN协议,它运行在OSI参考模型的物理层和数据链路层。它是一种数据包交换技术,是X.25的简化版本。它省略了X.25 的一些强健功能,如提供窗口技术和数据重发技术,而是依靠高层协议提供纠错功能,这是因为帧中继工作在更好的WAN设备上,这些设备较之X.25的WAN 设备具有更可靠的连接服务和更高的可靠性,它严格地对应于OSI参考模型的最低二层,而X.25还提供第三层的服务,所以,帧中继比X.25具有更高的性能和更有效的传输效率。 帧中继广域网的设备分为数据终端设备(DTE)和数据电路终端设备(DCE),Cisco路由器作为 DTE设备。

帧中继技术提供面向连接的数据链路层的通信,在每对设备之间都存在一条定义好的通信链路,且该链路有一个链路识别码。这种服务通过帧中继虚电路实现,每个帧中继虚电路都以数据链路识别码(DLCI)标识自己。DLCI的值一般由帧中继服务提供商指定。帧中继即支持PVC也支持SVC。帧中继本地管理接口(LMI)是对基本的帧中继标准的扩展。它是路由器和帧中继交换机之间信令标准,提供帧中继管理机制。它提供了许多管理复杂互联网络的特性,其中包括全局寻址、虚电路状态消息和多目发送等功能。
2:有关命令

设置帧中继封装:
r1(config-if)#encapsulation frame-relay ?
  ietf  Use RFC1490/RFC2427 encapsulation
  <cr>
设置Frame-relay LMI 类型:
r1(config-if)#frame-relay lmi-type ?
  cisco 
  ansi  
  q933a 
设置子接口:
r1(config)#inter serial 1/0.1 ?
  multipoint      Treat as a multipoint link
  point-to-point  Treat as a point-to-point link
映射协议地址与DLCI:
r1(config)#frame-relay map protocol protocol-address dlci
设置FR DLCI编号:
r1(config-if)#frame-relay interface-dlci dlci

3:帧中继point-to-point配置实例
2007-9-12-14-42 

Router1:

interface serial 0

encapsulation frame-relay

!

interface serial 0.1 point-to-point

ip address 172.16.1.1 255.255.255.0

frame-reply interface-dlci 105

!

interface serial 0.2 point-to-point

ip address 172.16.2.1 255.255.255.0

frame-reply interface-dlci 102

!

interface serial 0.3 point-to-point

ip address 172.16.4.1 255.255.255.0

frame-reply interface-dlci 104

!

  Router2:

interface serial 0

encapsulation frame-relay

!

interface serial 0.1 point-to-point

ip address 172.16.2.2 255.255.255.0

frame-reply interface-dlci 201

!

interface serial 0.2 point-to-point

ip address 172.16.3.1 255.255.255.0

frame-reply interface-dlci 203

!

相关调试命令:

show frame-relay lmi

show frame-relay map

show frame-relay pvc

show frame-relay route

show interfaces serial  

Leave a Reply