在PT配置帧中继

合集下载

帧中继概念 帧中继配置命令有哪些

帧中继概念 帧中继配置命令有哪些

帧中继概念帧中继配置命令有哪些1.帧中继概念1、帧中继(FRAME RELAY)是在用户--网络接口之间提供用户信息流的双向传送,并保持顺序不变的一种承载业务,它是以帧为单位,在网络上传输,并将流量控制、纠错等功能,全部交由智能终端设备处理的一种新型高速网络接口技术。

2、帧中继是综合业务数字网标准化过程中产生的一种重要技术,它是在数字光纤传输线路逐渐代替原有的模拟线路,用户终端日益智能化的情况下,由X25分组交换技术发展起来的一种传输技术。

2.帧中继配置命令有哪些帧中继交换机在实际工程环境中一般不需要我们配置,由运营商设置完成,但在实验环境中,要求掌握帧中继交换机的基本配置配置示例:frame-relay switchinginterface s0/1encapsulation frame-relayframe-relay intf-type dceclock rate 64000frame-relay route 102 interface s0/2 201// 定义PVC,该条命令是,s0/1口的DLCI 102,绑定到s0/2口的201 DLCI号frame-relay route 103 interface s0/3 301no shutdown主接口运行帧中继(Invers-arp)FRswitch(帧中继交换机)的配置:frame-relay switchinginterface s0/1 // 连接到R1的接口encapsulation frame-relayframe-relay intf-type dceclock rate 64000frame-relay route 102 interface s0/2 201// 定义PVC,该条命令是,s0/1口的DLCI 102,绑定到s0/2口的201 DLCI号no shutdowninterface s0/2 // 连接到R2的接口encapsulation frame-relayframe-relay intf-type dceclock rate 64000frame-relay route 201 interface s0/1 102no shutdownR1的配置如下:interface serial 0/0ip address 192.168.12.1 255.255.255.252encapsulation frame-relay// 接口封装FR,通过invers-arp发现DLCI,并建立对端IP到本地DLCI的映射(帧中继映射表)no shutdownR2的配置如下:interface serial 0/0ip address 192.168.12.2 255.255.255.252encapsulation frame-relayno shutdown在FRswitch上查看PVI(验证配置):FRswitch#show frame-relay routeInput Intf Input Dlci Output Intf Output Dlci StatusSerial0/1 102 Serial0/2 201 activeSerial0/2 201 Serial0/1 102 active在R1上查看帧中继映射R1#show frame-relay mapSerial0/0 (up): ip 192.168.12.2 dlci 102(0x66,0x1860), dynamic,broadcast,, status defined, activeR1#ping 192.168.12.2Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 192.168.12.2, timeout is 2 seconds:环境2 主接口运行帧中继(静态映射)FRswitch的配置同上,这里不再赘述上述案例是终端路由器采用动态invers-arp获取帧中继相关映射信息,本例采用静态建立映射的方式进行配置。

PT 帧中继实验

PT 帧中继实验

转贴实验分两部分一、在Packet Tracer上边画好拓扑,并配置好模块和帧中继DLCI先看下配好的拓扑图:配置过程:1、添加3台路由器,我用的是2811,为路由器添加S端口模块,我用的是NM-4A/S模块。

2、添加一个Cloud-PT-Empty设备(Cloud0)模拟帧中继网络,为Cloud0添加3个S端口模块,好与路由器连接!3、设置好S1,S2,S3,的DLCI值:4、配置好Frame-relay连接:5、连接端口注意:路由器作为DTE设备,Cloud0作为DCE设备,按照拓扑添加3台PC作测试用,连接到路由器F端口,并启动各连接端口。

为各PC设置好IP和网关:做好ip地址的规划,网络拓扑就基本完成了,下面进行路由器的配置二、配置3台路由器:R1路由器配置:R1>enR1#conf tR1(config)#int s1/0 进入S1/0端口配置R1(config-if)#no shut 启动端口R1(config-if)#encapsulation frame-relay 帧中继封装R1(config-if)#frame-relay lmi-type cisco 帧中继类型为ciscoR1(config)#int s1/0.1 point-to-point 配置子端口,并设置为点对点模式R1(config-subif)#ip add 192.168.1.1 255.255.255.0 分配子端口ip地址R1(config-subif)#frame-relay interface-dlci 102 指定点对点对应的DLCI值R1(config-subif)#exitR1(config)#int s1/0.2 point-to-point 配置子端口,并设置为点对点模式R1(config-subif)#ip add 192.168.2.1 255.255.255.0 分配子端口ip地址R1(config-subif)#frame-relay interface-dlci 103 指定点对点对应的DLCI值R1(config-subif)#exitR2路由器配置:R2>enR2#conf tR2(config)#int s1/0R2(config-if)#no shutR2(config-if)#en frame-relayR2(config-if)#frame-relay lmi-type ciscoR2(config)#int s1/0.1 point-to-pointR2(config-subif)#ip add 192.168.1.2 255.255.255.0R2(config-subif)#frame-relay interface-dlci 201R2(config-subif)#exitR2(config)#int s1/0.2 pR2(config-subif)#ip add 192.168.3.1 255.255.255.0R2(config-subif)#frame-relay interface-dlci 203R2(config-subif)#exitR3路由器配置:R3>enR3#conf tR3(config)#int s1/0R3(config-if)#no shutR3(config-if)#en frame-relayR3(config-if)#frame-relay lmi-type ciscoR3(config)#int s1/0.1 point-to-pointR3(config-subif)#ip add 192.168.3.2 255.255.255.0R3(config-subif)#frame-relay interface-dlci 302R3(config-subif)#exitR3(config)#int s1/0.2 point-to-pointR3(config-subif)#ip add 192.168.2.2 255.255.255.0R3(config-subif)#frame-relay interface-dlci 301R3(config-subif)#exit在三台路由器上启动rip路由:R1(config)#router rip 启动rip路由R1(config-router)#net 192.168.10.0 申明接口网络地址R1(config-router)#net 192.168.1.0 申明接口网络地址R1(config-router)#net 192.168.2.0 申明接口网络地址R1(config-router)#exitR1(config)#R2(config)#router ripR2(config-router)#net 192.168.20.0R2(config-router)#net 192.168.1.0R2(config-router)#net 192.168.3.0R2(config-router)#exitR2(config)#R3(config)#router ripR3(config-router)#net 192.168.30.0R3(config-router)#net 192.168.3.0R3(config-router)#net 192.168.2.0R3(config-router)#exitR3(config)#exitRouter#完成配置后,用PC1~3检验是否成功,实验完成!。

帧中继(frame-relay)简介及配置详解

帧中继(frame-relay)简介及配置详解

帧中继(Frame-Relay)采用分组交换的方式使用虚电路进行连接提供面向对象的服务帧中继的交换设备在用户路由器间建立虚电路,提供基于分组的二层通道。

相关术语虚电路(virtual circuit,VC)1、通过帧中继网络实现的逻辑连接叫虚电路2、利用虚电路,帧中继允许多个用户共享带宽而无需使用多条专用物理网络,虚电路以DLCI标识DLCI(date link connect identity)数据链路连接标识1、通常由帧中继服务提供商分配2、帧中继DLCI仅具有本地意义(本地标识)3、DLCI 0 ~ 15和1008 ~ 1023留作特殊用途,服务提供商分配的DLCI 的范围通常为16 ~ 1007LMI(本地管理接口)1、是一种信令标准,用于管理链路连接和keeplive机制2、终端路由器(DTE)和帧中继交换机(DCE)之间的帧中继设备每10秒(或大概)轮询一次网络。

3、Cisco路由器支持一下三种LMI:Cisco、Ansi、Q933A帧中继的拓扑:星型结构、全互联、部分互联帧中继的地址映射帧中继提供的是基于分组交换的二层通道1、帧中继的映射不是IP与mac的映射,而是IP与DLCI的映射,DLCI 从运营商处获取,映射关系为远端IP地址到本地DLCI之间的关系。

(DLCI仅具有本地意义)2、可以通过手动配置或 inverse-arp自动发现。

帧中继(用路由器模拟)配置对于帧中继交换机:(三个接口都要配置)frame-relay switching 将路由器模拟成帧中继交换机int s0/1 进入serial 0/1接口no ip address 帧中继交换机不需要IP地址encapsulation frame-relay 设置接口的封装模式为frame-relayno shutdown 开启接口frame-relay intf-type dce 设置接口类型为DCEclock rate 64000 设置始终频率为64000frame-relay route 102 int s0/2 201 搭建虚电路,对于s0/1来说,来源的DLCI标识为102,发出的接口为serial0/2,目的DLCI为201frame-relay route 103 int s0/3 301 搭建虚电路,对于s0/1来说,来源的DLCI标识为103,发出的接口为serial0/3,目的DLCI为301int s0/2no ip addressencapsulation frame-relayno shutdown 开启接口frame-relay intf-type dce 设置接口类型为DCEclock rate 64000 设置始终频率为64000frame-relay route 201 int s0/1 102 对于serial0/2来说,数据来源的DLCI为201,发出接口为serial0/1,目的DLCI为102int s0/3no ip addressencapsulation frame-relayno shutdown 开启接口frame-relay intf-type dce 设置接口类型为DCEclock rate 64000 设置始终频率为64000frame-relay route 301 int s0/1 103 对于serial0/3来说,数据来源的DLCI为301,发出接口为serial0/1,目的DLCI为103R1的配置:(center)int s0/0ip address 10.1.123.1 255.255.255.0encapsulation frame-relayno shutdownno frame-relay inverse-arp 关闭inverse-arpframe-relay map ip 10.1.123.2 102 broadcast 手动配置帧中继映射,对端IP为10.1.123.2,映射的虚电路的本地DLCI为102frame-relay map ip 10.1.123.3 103 broadcast 手动配置帧中继映射,对端IP为10.1.123.3,映射的虚电路的本地DLCI为103R2的配置:int s0/0ip address 10.1.123.2 255.255.255.0encapsulation frame-relayno shutdownno frame-relay inverse-arp 关闭inverse-arpframe-relay map ip 10.1.123.1 201 broadcast 手动配置帧中继映射,对端IP为10.1.123.2,映射的虚电路的本地DLCI为201R3的配置:int s0/0ip address 10.1.123.3 255.255.255.0encapsulation frame-relayno shutdownno frame-relay inverse-arp 关闭inverse-arpframe-relay map ip 10.1.123.1 301 broadcast 手动配置帧中继映射,对端IP为10.1.123.3,映射的虚电路的本地DLCI为301在帧中继上运行EIGRP默认情况下inverse-arp为开启状态,且支持广播若手动配置则必须加上broadcast关键字段。

第七章 配置帧中继

第七章  配置帧中继

第七章配置帧中继一、帧中继技术(Frame Relay)帧中继是一种高性能的WAN协议,它运行在OSI参考模型的物理层和数据链路层。

它是一种数据包交换技术,是X.25的简化版本。

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

图1是应用帧中继技术通信的典型例子。

图1、帧中继通信• 虚电路:两个DTE设备(如路由器)之间的逻辑链路称为虚电路(交换虚拟线路SVC,Switched VirtualCircuits),帧中继用虚电路来提供端点之间的连接。

由服务提供商预先设置的虚电路称为永久虚电路(PVC,Permanent VirtualCircuits);别外一种虚电路是交换虚电路(SVC),它是动态设置的虚电路。

• 帧中继设置中可分为数据终端设备(DTE)和数据电路终端设备(DCE),在实际应用中,Cisco路由器为DTE端,通过V.35线缆连接CSU/DSU,如果将两个路由器通过V.35线缆直连,连接V.35 DCE线缆的路由器充当DCE的角色,并且需要提供同步时钟。

CSU(通道服务单元):把终端用户和本地数字电话环路相连的数字接口设备。

DSU(数据业务单元):指的是用于数字传输中的一种设备,它能够把DTE设备上的物理层接口适配到T1或者E1等通信设施上。

数据业务单元也负责信号计时等功能,它通常与CSU(信道业务单元)一起提及,称作CSU/DSU (Channel Service Unit/Data [or Digital] Service Unit)。

• 帧中继技术提供面向连接的数据链路层的通信,在每对设备之间都存在一条定义好的通信链路,且该链路有一个链路识别码。

帧中继实验配置

帧中继实验配置

实验七:帧中继配置实验目的:掌握帧中继基本概念、DLCI含义、LMI作用、静态和动态映射区别掌握帧中继基本配置:如接口封装、DLCI配置、LMI配置等能够对帧中继进行基本故障排除实验要求:1)帧中继拓扑与地址规划;2)帧中继基本配置和帧中继网云配置(如帧中继交换表配置)3)ospf配置4)验证帧中继配置并给出配置清单实验拓扑如下:实验设备(环境、软件)本部分主要是阐述本实验用的实验设备、软件及其数量和要求。

实验设计到的基本概念和理论:帧中继概述:是由国际电信联盟通信标准化组和美国国家标准化协会制定的一种标准。

它定义在公共数据网络上发送数据的过程。

它是一种面向连接的数据链路技术,为提供高性能和高效率数据传输进行了技术简化,它靠高层协议进行差错校正,并充分利用了当今光纤和数字网络技术。

帧中继的作用:帧使用DLCI进行标识,它工作在第二层;帧中继的优点在于它的低开销。

帧中继在带宽方面没有限制,它可以提供较高的带宽。

典型速率56K-2M/s内。

DLCI含义:DLCI即数据链路连接标识,帧中继协议是一种统计复用的协议,它在单一物理传输线路上能够提供多条虚电路。

每条虚电路都是用DLCI(Data Link Connection Identifier)来标识。

虚电路是面向连接的,它将用户数据帧按顺序传送至目的地。

从建立虚电路的方式的不同,将帧中继虚电路分为两种类型:永久虚电路(PVC)和交换虚电路(SVC)。

永久虚电路是指给用户提供固定的虚电路。

这种虚电路是通过人工设定产生的,如果没有人为取消它,它是一直存在的。

交换虚电路是指通过协议自动分配的虚电路,当本地设备需要与远端设备建立连接时,它首先向帧中继交换机发出“建立虚电路请求”报文,帧中继交换机如果接受该请求,就为他分配一虚电路。

在通信结束后,该虚电路可以被本地设备或交换机取消。

这种虚电路的创建/删除不需要人工操作。

LMI的作用:LMI即本地管理接口,它是一种存活机制,他提供路由器和帧中继交换机之间的帧中继连接的状态信息。

帧中继配置(点到点)

帧中继配置(点到点)

帧中继是ISP提供的一种广域网服务,是一种网络与数据终端设备(DTE)接口标准,多用于公司总部与分支机构互连。

帧中继的主要特点是:使用光纤作为传输介质,因此误码率极低,能实现近似无差错传输,减少了进行差错校验的开销,提高了网络的吞吐量;帧中继是一种宽带分组交换,使用复用技术时,其传输速率可高达44.6Mbps。

但是,帧中继不适合于传输诸如话音、电视等实时信息,它仅限于传输数据。

下面我们开始试验,试验拓扑如下试验环境分析:在上图环境中A路由器代表公司总部,A公司有两个分支机构,我们分别用路由器B、C表示试验目标:使用帧中继实现总部与分支机构互连帧中继的配置分为点对点子接口和多点子接口,在此我们将使用点对点子接口配置帧中继。

点对点网络就是每一个端口对应一个相应的站点,而一个公司有可能有多个分支,而路由器端口的数量有限,这是我们需要在一个物理端口上划分出多个子接口,每个子接口对应一个站点。

帧中继配置在路由器与分支相连的端口上,也就是广域网端口帧中继配置命令:①进入物理端口后不需要直接在端口上配置IP地址,如有IP地址可以在端口上使用(config-if)#no ip address②在物理端口(广域网端口)封装帧中继协议(config-if)#encap frame-relay③激活物理端口(config-if)#no shutdown④在物理端口上建立子接口,并指定接口类型(config-if)#interface 子接口point-to-point⑤给子接口配置IP地址和子网掩码(config-subif)#ip address IP地址子网掩码⑥给子接口配置DLCI值(config-subif)#frame-relay interface-dlci DLCI值⑦给子接口配置端口速率(config-sibif)#bandwidth 带宽DLCI值IP地址规划A:e0---192.168.10.1 B:e0---192.168.20.1 C:e0---192.168.30.1 s0.1--202.110.100.1 s0---202.110.100.2 s0---202.110.10 1.2s0.2--202.110.101.1一、配置A路由器A(config)#interface e0 进入局域网端口A(config-if)#ip address 192.168.10.1 255.255.255.0配置局域网I P和掩码A(config-if)#no shutdown激活局域网端口A(config-if)# interface s0 进入广域网端口A(config-if)#no ip address 删除广域网端口的IPA(config-if)#no shutdown 激活广域网A(config-if)#encap frame-relay封装帧中继协议A(config-if)#interface s0.1 point-to-point 在物理端口上建立子接口S0.1,指定端口类型A(config-subif)#ip address 202.110.100.1 255.255.255.0给子接口配置IP和掩码A(config-subif)#frame-relay interface-dlci 102 给S0.1子接口封装DLCIA(config-subif)#bandwidth 64给S0.1子接口配置A(config-subif)#interface s0.2 point-to-point 建立子接口S0.2,并指定子接口类型A(config-subif)#ip address 202.110.101.1 255.255.255.0 给子接口S0.2配置IP和掩码A(config-subif)#frame-relay interface-dlci 103给S0.2子接口封装DLCIA(config-subif)#bandwidth 64 给S0.2子接口配置端口速率A(config-subif)#exit 退出子接口A(config)#router eigrp 100 配置路由,协议为EIGRPA(config-router)#net 192.168.10.0A(config-router)#net 202.110.100.0A(config-router)#net 202.110.101.0二、配置B路由器B路由器上有两个端口,一个是局域网端口E0,一个是广域网端口S0,S0为连接A路由器的S0.1端口,不需要配置子接口,只需要配置IP地址然后封装帧中继协议即可B(config)#int e0B(config-if)#ip address 192.168.20.1 255.255.255.0B(config-if)#no shutdownB(config-if)#int s0B(config-if)#ip address 202.110.100.2 255.255.255.0B(config-if)#encap frame-relayB(config-if)#frame-relay interface-dlci 201B(config-if)#bandwidth 64B(config-if)#no shutB(config-if)#exitB(config)#router eigrp 100B(config-router)#net 192.168.20.0B(config-router)#net 202.110.100.0三、配置路由器CC路由器有两个端口,E0为局域网端口。

帧中继网络的配置

帧中继网络的配置

帧中继网络配置试验一在实验中,我们用路虫器当帧中继交换机使用,有的时候会出现Serial 口不足的情况,那么我就需要部署两台路由器,然后配置一条Tunnel链路把两台交换机连起来。

实验的拓扑图:R2上Tunnel链路的配置:R2(config)#int f1/0R2(config-if)#ip add 192.168.1.1 255.255.255.0R2(config-if)#no shR2(config-if)#int tunnel 0R2(config-if)#tunnel source fastEthernet 1/0R2(config-if)#tunnel destination 192.168.1.2R2(config-if)#exiR2(config)#exiR3上Tunnel链路的配置:R3上Tunnel链路的配置和R2几乎一样,指定一个source端口和一个destination 的 IP。

R2上的配置:R2(config)#frame-relay switchingR2(config)#int s0/0R2(config-if)#no shR2(config-if)#en frR2(config-if)#frame-relay intf-type dceR2(config-if)#fram rout 104 int tun 0 100R2(config-if)#fram route 105 int tun 0 101R2(config-if)#endR3上的配置:R1上的配置:R1(config)#int s0/0R1(config-if)#en frR1(config-if)#frame-relay inverse-arpR1(config-if)#ip add 10.0.0.1 255.255.255.0R1(config-if)#endR4和R5上的配置和R1类似,只是IP地址不一样而已。

案例41:配置帧中继

案例41:配置帧中继

案例41:配置帧中继1. 案例目标通过本案例,你可以掌握如下技能:1)理解帧中继交换表的工作原理2)理解PVC的概念3)帧中继的基本配置4)帧中继的动态映射5)帧中继的静态映射2. 设备与拓扑设备:1台2811路由器,2台2621XM路由器,3台PC,1个空白网云。

拓扑:如下图。

【说明】⏹Hub与R1和R2、R3构成星型拓扑(Hub & Spoke)⏹Hub与R2、R3构成全互联拓扑3. 配置要求1)Hub路由器的s0/0/0接口分两个子接口:(1)s0/0/0.100配置为点对点模式,连接R1(2)s0/0/0.900配置多点模式,连接R2与R32)地址分配Hub:s0/0/0.100:172.16.1.1/30s0/0/0.900:172.16.1.9/29R1:s0/0.100:172.16.1.2/30f0/0:192.168.1.1/24R2:s0/0:172.16.1.10/29f0/0:192.168.2.1/24R3:s0/0:172.16.1.11/29f0/0:192.168.3.1/243)配置RIP实现连通性。

4. 操作步骤步骤1:根据上述拓扑图创建PT拓扑,并完成以下预配置:⏹给所有路由器添加1个WIC-2T模块。

⏹给帧中继网云添加4个PT-CLOUD-NM-1S模块,接口编号为Serial0~Serial03。

在帧中继网云的4个串行接口上配置DLCI如下:(注意各自的LMI类型)在帧中继网云上配置帧中继交换表如下:⏹按拓扑图标示设置路由器R2、R3和3台PC的主机名及各接口的IP地址。

步骤2:配置帧中继1)配置Hub路由器⏹在S0/0/0接口上配置帧中继封装和LMI类型Hub#conf tHub(config)#int s0/0/0Hub(config-if)# encapsulation frame-relayHub(config-if)# frame-relay lmi-type ansi//注意:在帧中继云的配置中,Serial0接口连接Hub的s0/0/0接口,且LMI类型是ansi。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

应为在PT路由器上打不出frame-relay switching这条命令所以先做以下配置
2
3
R1>en
R1#conf t
R1(config)#int s1/0?????????????????????????????????? 进入S1/0端口配置
R1(config-if)#no shut???????????????????????????????? 启动端口
R1(config-if)#encapsulation frame-relay?????????????? 帧中继封装
R1(config-if)#frame-relay lmi-type cisco????????????? 帧中继类型为cisco
R1(config)#int s1/0.1 point-to-point????????????????? 配置子端口,并设置为点对点模式R1(config-subif)#ip add 192.168.1.1 255.255.255.0???? 分配子端口ip地址
R1(config-subif)#frame-relay interface-dlci 102?????? 指定点对点对应的DLCI值
R1(config-subif)#exit
R1(config)#int s1/0.2 point-to-point????????????????? 配置子端口,并设置为点对点模式R1(config-subif)#ip add 192.168.2.1 255.255.255.0???? 分配子端口ip地址
R1(config-subif)#frame-relay interface-dlci 103?????? 指定点对点对应的DLCI值
R1(config-subif)#exit
R2路由器配置:
R2>en
R2#conf t
R2(config)#int s1/0
R2(config-if)#no shut
R2(config-if)#en frame-relay
R2(config-if)#frame-relay lmi-type cisco
R2(config)#int s1/0.1 point-to-point
R2(config-subif)#ip add 192.168.1.2 255.255.255.0
R2(config-subif)#frame-relay interface-dlci 201
R2(config-subif)#exit
R2(config)#int s1/0.2 p
R2(config-subif)#ip add 192.168.3.1 255.255.255.0
R2(config-subif)#frame-relay interface-dlci 203
R2(config-subif)#exit
R3路由器配置:
R3>en
R3#conf t
R3(config)#int s1/0
R3(config-if)#no shut
R3(config-if)#en frame-relay
R3(config-if)#frame-relay lmi-type cisco
R3(config)#int s1/0.1 point-to-point
R3(config-subif)#ip add 192.168.3.2 255.255.255.0
R3(config-subif)#frame-relay interface-dlci 302
R3(config-subif)#exit
R3(config)#int s1/0.2 point-to-point
R3(config-subif)#ip add 192.168.2.2 255.255.255.0
R3(config-subif)#frame-relay interface-dlci 301
R3(config-subif)#exit
测试是否成功⑴show frame-relay route
该命令用来查看接口进入和送出的dlci,以及状态是否是active。

R2#show frame-relay route
Input Intf Input Dlci Output Intf Output Dlci Status
Serial0/0 103 Serial0/1 301 active
Serial0/0 104 Serial0/2 401 active
Serial0/1 301 Serial0/0 103 active
Serial0/1 304 Serial0/2 403 active
Serial0/2 401 Serial0/0 104 active
Serial0/2 403 Serial0/1 304 active 以上输出表明了路由器R2上配置了3条PVC,状态都是活动的,其中se0/0 103 se0/1 301 active 的含义是路由器如果从se0/0接口收到dlci=103的帧,要从se0/1接口交换出去,并且dlci被替换为301。

⑴Show frame-relay pvc
该命令用于显示路由器上配置的所有pvc的统计信息。

R2#show frame-relay pvc
PVC Statistics for interface Serial0/3/0 (Frame Relay DCE)//该接口是帧中继的dce
Active Inactive Deleted Static
Local 0 0 0 0
Switched 0 1 0 0
Unused 0 0 0 0
//以上4行输出表明该接口有1条处于活动状态的pvc
DLCI= 103, DLCI USAGE= SWITCHED, PVC STATUS= INACTIVE, INTERFACE= Serial0/3/0 //dlci为103的pvc处于活动状态,本地接口是se0/3/0,dlci用途是完成帧中继dlci 交换
input pkts 0 output pkts 0 in bytes 0
out bytes 0 dropped pkts 0 in pkts dropped 0
out pkts dropped 0 out bytes dropped 0
in FECN pkts 0 in BECN pkts 0 out FECN pkts 0
out BECN pkts 0 in DE pkts 0 out DE pkts 0
out bcast pkts 0 out bcast bytes 0
30 second input rate 0 bits/sec, 0 packets/sec
30 second output rate 0 bits/sec, 0 packets/sec
switched pkts 0
Detailed packet drop counters:
no out intf 0 out intf down 0 no out PVC 0
in PVC down 0 out PVC down 0 pkt too big 0
shaping Q full 0 pkt above DE 0 policing drop 0
pvc create time 00:09:12, last time pvc status changed 00:09:12
//以上输出是dlci为103的pvc统计信息
PVC Statistics for interface Serial0/3/1 (Frame Relay DCE)
Active Inactive Deleted Static
Local 0 0 0 0
Switched 0 1 0 0
Unused 0 0 0 0
DLCI = 301, DLCI USAGE = SWITCHED, PVC STATUS = INACTIVE, INTERFACE = Serial0/3/ 1
input pkts 0 output pkts 0 in bytes 0
out bytes 0 dropped pkts 0 in pkts dropped 0
out pkts dropped 0 out bytes dropped 0
in FECN pkts 0 in BECN pkts 0 out FECN pkts 0
out BECN pkts 0 in DE pkts 0 out DE pkts 0
out bcast pkts 0 out bcast bytes 0
30 second input rate 0 bits/sec, 0 packets/sec
30 second output rate 0 bits/sec, 0 packets/sec
switched pkts 0
Detailed packet drop counters:
no out intf 0 out intf down 0 no out PVC 0
in PVC down 0 out PVC down 0 pkt too big 0
shaping Q full 0 pkt above DE 0 policing drop 0
pvc create time 00:06:13, last time pvc status changed 00:06:13
//以上输出是dcli为301的pvc统计信息。

相关文档
最新文档