1、帧中继配置有关帧中继的配置实例(图)【内容摘要】网络的拓扑结构:a市华为2631的配置为:jstzfgjj-jgzx#showrunnowcreateconfiguration.currentconfiguration!version1.65enablepassword$xir12q;*om0,dfdq!hostnamejstzfgjj-jgzx!interfaceaux0asyncmodeinteractiveencapsulationppp!interfaceethernet0speedautoduplexautonoloopbackipaddress10.10.1.10255.255.2
2、55.0!interfaceethernet1speedautoduplexautonoloo-网络的拓扑结构:a市华为2631的配置为:jstzfgjj-jgzx#show runnow create configuration.current configuration!version 1.65enable password $xir12q;*om0,dfdq!hostname jstzfgjj-jgzx!interface aux0async mode interactiveencapsulation ppp!interface ethernet0speed autoduplex aut
3、ono loopbackip address 10.10.1.10 255.255.255.0!interface ethernet1speed autoduplex autono loopbackip address 10.10.2.10 255.255.255.0!interface serial0clock-select dteclk1encapsulation frame-relayframe-relay lmi-type ansi!interface serial0.1 point-to-pointdescription to_city_aframe-relay interface-
4、dlci 351ip address 192.168.5.1 255.255.255.0!interface serial1encapsulation frame-relaydescription this port have many problermframe-relay lmi-type ansi!interface serial2clock-select dteclk1encapsulation pppip address 192.168.7.1 255.255.255.0!interface serial3clock-select dteclk1encapsulation frame
5、-relayframe-relay lmi-type ansi!interface serial3.1 point-to-pointdescription to_city_bframe-relay interface-dlci 352ip address 192.168.6.1 255.255.255.0!interface bri0encapsulation pppdialer in-band!router ripnetwork 192.168.0.0network 10.0.0.0!ip route 0.0.0.0 0.0.0.0 192.168.5.2 preference 60 /可以
6、去掉ip route 0.0.0.0 0.0.0.0 192.168.6.2 preference 60 /可以去掉ip route 10.71.214.0 255.255.255.0 192.168.6.2 preference 60ip route 192.168.0.0 255.255.255.0 192.168.5.2 preference 60!end b 市cisco3661配置为:cisco3661#show runbuilding configuration.current configuration : 3711 bytes!version 12.1service times
7、tamps debug uptimeservice timestamps log uptimeno service password-encryption!hostname cisco3661!boot system tftp c3660-is-mz.121-2.t.bin 192.168.0.253boot system tftp c3660-is-mz.121-2.t.bin 192.168.0.1logging buffered 4096 debuggingenable secret 5 $1$lqky$ykkxubcemlyx9jrtoskvt/!username * password
8、 0 *!ip subnet-zerono ip domain-lookup!partition flash 2 8 8!voice-port 4/0/0cptone jp!voice-port 4/0/1cptone jp!voice-port 4/1/0cptone cn!voice-port 4/1/1cptone cn!dial-peer voice 11 potsdestination-pattern 80001port 4/0/0!dial-peer voice 12 potsdestination-pattern 80002port 4/0/1!dial-peer voice 1
9、3 potsdestination-pattern 80003port 4/1/0!dial-peer voice 14 potsdestination-pattern 80004port 4/1/1!dial-peer voice 30 voipdestination-pattern 83.req-qos guaranteed-delaysession target ipv4:192.1.1.10!dial-peer voice 90 voipdestination-pattern 89.req-qos guaranteed-delaysession target ipv4:192.1.1.
10、6!dial-peer voice 80 voipdestination-pattern 88.req-qos guaranteed-delaysession target ipv4:192.1.1.14!dial-peer voice 60 voipdestination-pattern 86.req-qos guaranteed-delaysession target ipv4:192.1.1.18!dial-peer voice 70 voipdestination-pattern 87.req-qos guaranteed-delaysession target ipv4:192.1.
11、1.22!dial-peer voice 50 voipdestination-pattern 85.req-qos guaranteed-delaysession target ipv4:192.1.1.26!interface fastethernet0/0ip address 82.192.59.254 255.255.255.0 secondaryip address 192.168.0.254 255.255.255.0duplex autospeed auto!interface serial1/0ip address 152.1.1.2 255.255.255.252encaps
12、ulation pppno ip mroute-cacheno fair-queueserial restart-delay 0!interface serial1/1description cbceip address 192.1.1.25 255.255.255.252no ip mroute-cachefair-queue 64 256 36serial restart-delay 0ip rsvp bandwidth 48 48!interface serial1/2description gongliuip address 192.1.1.5 255.255.255.252no ip
13、 mroute-cachefair-queue 64 256 36serial restart-delay 0ip rsvp bandwidth 48 48!interface serial1/3description huochengip address 192.1.1.9 255.255.255.252no ip mroute-cachefair-queue 64 256 36serial restart-delay 0ip rsvp bandwidth 48 48!interface serial2/0description xinyuanip address 192.1.1.13 25
14、5.255.255.252no ip mroute-cachefair-queue 64 256 36serial restart-delay 0ip rsvp bandwidth 48 48!interface serial2/1description zhaosuip address 192.1.1.17 255.255.255.252no ip mroute-cachefair-queue 64 256 36serial restart-delay 0ip rsvp bandwidth 48 48!interface serial2/2description tekesiip addre
15、ss 192.1.1.21 255.255.255.252no ip mroute-cachefair-queue 64 256 36serial restart-delay 0ip rsvp bandwidth 48 48!interface serial2/3no ip addressencapsulation frame-relay ietfserial restart-delay 0frame-relay lmi-type ansi!interface serial2/3.1 point-to-pointdescription to_jstzfgjj-jgzxip address 19
16、2.168.5.2 255.255.255.0frame-relay interface-dlci 351!interface group-async1ip unnumbered fastethernet0/0encapsulation pppasync dynamic addressasync mode interactivepeer default ip address pool dialinppp authentication chap pap callin!router ripversion 2network 10.0.0.0network 82.0.0.0network 192.1.
17、1.0network 192.168.0.0!ip local pool dialin 192.168.0.246 192.168.0.253no ip classlessip route 10.10.1.0 255.255.255.0 192.168.5.1ip route 10.10.2.0 255.255.255.0 192.168.5.1ip route 82.0.0.0 255.0.0.0 serial1/0ip route 82.192.187.0 255.255.255.0 152.1.1.1ip route 192.168.0.0 255.255.255.0 192.168.5
18、.1no ip http server!line con 0line aux 0line vty 0 4password ciscologin!end c市cisco2500路由器配置:user#show runbuilding configuration.current configuration:!version 11.2no service password-encryptionno service udp-small-serversno service tcp-small-servers!hostname user!enable secret 5 $1$0/s$rojmqgt3vvj/
19、zuq1tvq32.!username * password *!interface ethernet0ip address 10.71.214.50 255.255.255.0!interface serial0description to_jstzfgjj-jgzxno ip addressencapsulation frame-relay ietfbandwidth 256 /可以不设frame-relay lmi-type ansi!interface serial0.2 point-to-pointip address 192.168.6.2 255.255.255.0frame-r
20、elay interface-dlci 352!interface serial1no ip addressshutdown Cisco 路由器在帧中继中的配置实例1. 帧中继技术 帧中继是一种高性能的WAN协议,它运行在OSI参考模型的物理层和数据链路层。它是一种数据包交换技术,是X.25的简化版本。它省略了X.25的一些强健功能,如提供窗口技术和数据重发技术,而是依靠高层协议提供纠错功能,这是因为帧中继工作在更好的WAN设备上,这些设备较之X.25的WAN设备具有更可靠的连接服务和更高的可靠性,它严格地对应于OSI参考模型的最低二层,而X.25还提供第三层的服务,所以,帧中继比X.25具有
21、更高的性能和更有效的传输效率。 帧中继广域网的设备分为数据终端设备(DTE)和数据电路终端设备(DCE),Cisco路由器作为 DTE设备。帧中继技术提供面向连接的数据链路层的通信,在每对设备之间都存在一条定义好的通信链路,且该链路有一个链路识别码。这种服务通过帧中继虚电路实现,每个帧中继虚电路都以数据链路识别码(DLCI)标识自己。DLCI的值一般由帧中继服务提供商指定。帧中继即支持PVC也支持SVC。 帧中继本地管理接口(LMI)是对基本的帧中继标准的扩展。它是路由器和帧中继交换机之间信令标准,提供帧中继管理机制。它提供了许多管理复杂互联网络的特性,其中包括全局寻址、虚电路状态消息和多目发
22、送等功能。2.有关命令:端口设置任务命令设置Frame Relay封装encapsulation frame-relayietf 1设置Frame Relay LMI类型frame-relay lmi-type ansi | cisco | q933a2设置子接口interface interface-type interface-number.subinterface-number multipoint|point-to-point映射协议地址与DLCIframe-relay map protocol protocol-address dlci broadcast3设置FR DLCI编号fr
23、ame-relay interface-dlci dlci broadcast注:1.若使Cisco路由器与其它厂家路由设备相连,则使用Internet工程任务组(IETF)规定的帧中继封装格式。2.从Cisco IOS版本11.2开始,软件支持本地管理接口(LMI)“自动感觉”, “自动感觉”使接口能确定交换机支持的LMI类型,用户可以不明确配置LMI接口类型。3.broadcast选项允许在帧中继网络上传输路由广播信息。3.帧中继point to point配置实例:Router1:interface serial 0encapsulation frame-relay!interface
24、serial 0.1 point-to-pointip address 172.16.1.1 255.255.255.0frame-reply interface-dlci 105!interface serial 0.2 point-to-pointip address 172.16.2.1 255.255.255.0frame-reply interface-dlci 102!interface serial 0.3 point-to-pointip address 172.16.4.1 255.255.255.0frame-reply interface-dlci 104!Router2
25、:interface serial 0encapsulation frame-relay!interface serial 0.1 point-to-pointip address 172.16.2.2 255.255.255.0frame-reply interface-dlci 201!interface serial 0.2 point-to-pointip address 172.16.3.1 255.255.255.0frame-reply interface-dlci 203!相关调试命令:show frame-relay lmishow frame-relay mapshow frame-relay pvcshow frame-relay route
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1