帧中继技术

更新时间:2024-07-03 15:59:01 阅读量: 综合文库 文档下载

说明:文章内容仅供预览,部分内容可能不全。下载后的文档,内容与下面显示的完全一致。下载之前请确认下面内容是否您想要的,是否完整无缺。

1. 帧中继技术

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

帧中继广域网的设备分为数据终端设备(DTE)和数据电路终端设备(DCE),所谓DTE就是指用户侧最终结点的网络设备。例如,路由器等。DCE设备即电信运营商提供接入的网络边缘设备。例如,帧中继交换机。

帧中继技术提供面向连接的数据链路层的通信,在每对设备之间都存在一条定义好的通信链路,且该链路有一个链路识别码。这种服务通过帧中继虚电路实现,每个帧中继虚电路都以数据链路识别码(DLCI)标识自己。DLCI的值一般由帧中继服务提供商指定。帧中继即支持PVC也支持SVC。

帧中继本地管理接口(LMI)是对基本的帧中继标准的扩展。它是路由器和帧中继交换机之间信令标准,提供帧中继管理机制。它提供了许多管理复杂互联网络的特性,其中包括全局寻址、虚电路状态消息和多目发送等功能。

根据客户拟组网的网络结构的不同,在帧中继端口配置方面可以分为2种类型:第1种:点到点;第2种:点到多点; 关健字:

(1)IETF:互联网工程任务组(Internet Engineering Task Force); (2)DLCI:数据链路连接标识符(Data Link Connection Identifier); (3)帧中继涉及的请求注解:RFC1490/RFC2427/ RFC1973 2. 有关命令:

(1)设置Frame Relay封装 encapsulation frame-relay[ietf]

(2)设置Frame Relay LMI(本地管理接口)类型

frame-relay lmi-type {ansi | cisco | q933a} (3)设置子接口

interface interface-type interface_number.subinterface_number [multipoint|point-to-point]

注意:此处涉及组网的拓扑结构类型:点到点,点到多点; (4)映射协议地址与DLCI

frame-relay map protocol protocol-address dlci [broadcast] (5)设置帧中继接口DLCI编号

frame-relay interface-dlci dlci [broadcast] 注解:

(1)若使Cisco路由器与其它厂家路由设备相连,则使用标准IETF规定的帧中继封装格式。

(2) 从Cisco IOS版本11.2开始,软件支持本地管理接口(LMI)“自动感觉”, “自动感觉”使接口能确定交换机支持的LMI类型,用户可以不明确配置LMI接口类型。

(3)broadcast选项允许在帧中继网络上传输路由广播信息。

3. 帧中继point to point(点到点)配置实例:

网络结构分析:R1分别与R2、R3、R4、R5进行连接。可以理解为一点到多点的网络,同时也可以理解为点到点的网络。根据客户实际进行选择性配置。 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 go top

4. 帧中继 Multipoint (点到多点)配置实例:

Router1: interface serial 0

encapsulation frame-reply !

interface serial 0.1 multipoint ip address 172.16.1.2 255.255.255.0

frame-reply map ip 172.16.1.1 201 broadcast frame-reply map ip 172.16.1.3 301 broadcast frame-reply map ip 172.16.1.4 401 broadcast !

Router2: interface serial 0

encapsulation frame-reply !

interface serial 0.1 multipoint ip address 172.16.1.1 255.255.255.0

frame-reply map ip 172.16.1.2 102 broadcast frame-reply map ip 172.16.1.3 102 broadcast frame-reply map ip 172.16.1.4 102 broadcast !

完整路由器配置样例:

Building configuration... ! ! ! ! ip subnet-zero no ip finger ip domain-name ALTER.NET ip name-server 198.6.1.5 ! ! ! !

interface FastEthernet0/0

description To Office FastEthernet ip address 208.196.79.1 255.255.255.0 ip nat outside no ip route-cache no ip mroute-cache duplex auto speed auto !

interface Serial0/0

description To UUNET (wcomw0g73828) bandwidth 1536 no ip address ip nat inside

encapsulation frame-relay IETF no ip route-cache no ip mroute-cache no fair-queue

frame-relay lmi-type ansi !

interface Serial0/0.1 point-to-point bandwidth 1536

ip unnumbered FastEthernet0/0 no ip unreachables no ip route-cache no ip mroute-cache

frame-relay interface-dlci 500 IETF !

ip nat inside source list 10 interface FastEthernet0/0 overload ip classless

ip route 0.0.0.0 0.0.0.0 Serial0/0.1 no ip http server !

access-list 10 permit 192.168.0.0 0.0.255.255 snmp-server community 0473e54cf9 RO snmp-server enable traps snmp !

line con 0

password 1bb8be0cd3 login

transport preferred none transport input none line aux 0

password 1bb8be0cd3 login modem InOut transport preferred none transport input all transport output pad v120 telnet rlogin udptn stopbits 1 flowcontrol hardware line vty 0 4 password login transport preferred none ! no scheduler allocate end Cisco-gw#

本文来源:https://www.bwwdw.com/article/4ek.html

Top