帧中继配置.docx

上传人:b****5 文档编号:5759780 上传时间:2023-01-01 格式:DOCX 页数:15 大小:124.84KB
下载 相关 举报
帧中继配置.docx_第1页
第1页 / 共15页
帧中继配置.docx_第2页
第2页 / 共15页
帧中继配置.docx_第3页
第3页 / 共15页
帧中继配置.docx_第4页
第4页 / 共15页
帧中继配置.docx_第5页
第5页 / 共15页
点击查看更多>>
下载资源
资源描述

帧中继配置.docx

《帧中继配置.docx》由会员分享,可在线阅读,更多相关《帧中继配置.docx(15页珍藏版)》请在冰豆网上搜索。

帧中继配置.docx

帧中继配置

有关帧中继的配置实例(图)

【内容摘要】网络的拓扑结构:

a市华为2631的配置为:

jstzfgjj-jgzx#showrunnowcreateconfiguration...currentconfiguration!

version1.65enablepassword$x']'ir12]q;`*om0,dfdq!

!

hostnamejstzfgjj-jgzx!

interfaceaux0asyncmodeinteractiveencapsulationppp!

interfaceethernet0speedautoduplexautonoloopbackipaddress10.10.1.10255.255.255.0!

interfaceethernet1speedautoduplexautonoloo……

-----------------------------------------------------------------------------

网络的拓扑结构:

   

  

  a市华为2631的配置为:

  jstzfgjj-jgzx#showrun

  nowcreateconfiguration...

  currentconfiguration

  !

  version1.65

  enablepassword$x']'ir12]q;`*om0,dfdq!

!

  hostnamejstzfgjj-jgzx

  !

  interfaceaux0

  asyncmodeinteractive

  encapsulationppp

  !

  interfaceethernet0

  speedauto

  duplexauto

  noloopback

  ipaddress10.10.1.10255.255.255.0

  !

  interfaceethernet1

  speedauto

  duplexauto

  noloopback

  ipaddress10.10.2.10255.255.255.0

  !

  interfaceserial0

  clock-selectdteclk1

  encapsulationframe-relay

  frame-relaylmi-typeansi

  !

  interfaceserial0.1point-to-point

  descriptionto_city_a

  frame-relayinterface-dlci351

  ipaddress192.168.5.1255.255.255.0

  !

  interfaceserial1

  encapsulationframe-relay

  descriptionthisporthavemanyproblerm

  frame-relaylmi-typeansi

  !

  interfaceserial2

  clock-selectdteclk1

  encapsulationppp

  ipaddress192.168.7.1255.255.255.0

  !

  interfaceserial3

  clock-selectdteclk1

  encapsulationframe-relay

  frame-relaylmi-typeansi

  !

  interfaceserial3.1point-to-point

  descriptionto_city_b

  frame-relayinterface-dlci352

  ipaddress192.168.6.1255.255.255.0

  !

  interfacebri0

  encapsulationppp

  dialerin-band

  !

  routerrip

  network192.168.0.0

  network10.0.0.0

  !

  iproute0.0.0.00.0.0.0192.168.5.2preference60//可以去掉

  iproute0.0.0.00.0.0.0192.168.6.2preference60//可以去掉

  iproute10.71.214.0255.255.255.0192.168.6.2preference60

  iproute192.168.0.0255.255.255.0192.168.5.2preference60

  !

  end

  

  b市cisco3661配置为:

  cisco3661#showrun

  buildingconfiguration...

  

  currentconfiguration:

3711bytes

  !

  version12.1

  servicetimestampsdebuguptime

  servicetimestampsloguptime

  noservicepassword-encryption

  !

  hostnamecisco3661

  !

  bootsystemtftpc3660-is-mz.121-2.t.bin192.168.0.253

  bootsystemtftpc3660-is-mz.121-2.t.bin192.168.0.1

  loggingbuffered4096debugging

  enablesecret5$1$lqky$ykkxubcemlyx9jrtoskvt/

  !

  username******password0******

  !

  !

  !

  !

  ipsubnet-zero

  noipdomain-lookup

  !

  partitionflash288

  !

  !

  !

  voice-port4/0/0

  cptonejp

  !

  voice-port4/0/1

  cptonejp

  !

  voice-port4/1/0

  cptonecn

  !

  voice-port4/1/1

  cptonecn

  !

  !

  dial-peervoice11pots

  destination-pattern80001

  port4/0/0

  !

  dial-peervoice12pots

  destination-pattern80002

  port4/0/1

  !

  dial-peervoice13pots

  destination-pattern80003

  port4/1/0

  !

  dial-peervoice14pots

  destination-pattern80004

  port4/1/1

  !

  dial-peervoice30voip

  destination-pattern83...

  req-qosguaranteed-delay

  sessiontargetipv4:

192.1.1.10

  !

  dial-peervoice90voip

  destination-pattern89...

  req-qosguaranteed-delay

  sessiontargetipv4:

192.1.1.6

  !

  dial-peervoice80voip

  destination-pattern88...

  req-qosguaranteed-delay

  sessiontargetipv4:

192.1.1.14

  !

  dial-peervoice60voip

  destination-pattern86...

  req-qosguaranteed-delay

  sessiontargetipv4:

192.1.1.18

  !

  dial-peervoice70voip

  destination-pattern87...

  req-qosguaranteed-delay

  sessiontargetipv4:

192.1.1.22

  !

  dial-peervoice50voip

  destination-pattern85...

  req-qosguaranteed-delay

  sessiontargetipv4:

192.1.1.26

  !

  !

  !

  interfacefastethernet0/0

  ipaddress82.192.59.254255.255.255.0secondary

  ipaddress192.168.0.254255.255.255.0

  duplexauto

  speedauto

  !

  interfaceserial1/0

  ipaddress152.1.1.2255.255.255.252

  encapsulationppp

  noipmroute-cache

  nofair-queue

  serialrestart-delay0

  !

  interfaceserial1/1

  descriptioncbce

  ipaddress192.1.1.25255.255.255.252

  noipmroute-cache

  fair-queue6425636

  serialrestart-delay0

  iprsvpbandwidth4848

  !

  interfaceserial1/2

  descriptiongongliu

  ipaddress192.1.1.5255.255.255.252

  noipmroute-cache

  fair-queue6425636

  serialrestart-delay0

  iprsvpbandwidth4848

  !

  interfaceserial1/3

  descriptionhuocheng

  ipaddress192.1.1.9255.255.255.252

  noipmroute-cache

  fair-queue6425636

  serialrestart-delay0

  iprsvpbandwidth4848

  !

  interfaceserial2/0

  descriptionxinyuan

  ipaddress192.1.1.13255.255.255.252

  noipmroute-cache

  fair-queue6425636

  serialrestart-delay0

  iprsvpbandwidth4848

  !

  interfaceserial2/1

  descriptionzhaosu

  ipaddress192.1.1.17255.255.255.252

  noipmroute-cache

  fair-queue6425636

  serialrestart-delay0

  iprsvpbandwidth4848

  !

  interfaceserial2/2

  descriptiontekesi

  ipaddress192.1.1.21255.255.255.252

  noipmroute-cache

  fair-queue6425636

  serialrestart-delay0

  iprsvpbandwidth4848

  !

  interfaceserial2/3

  noipaddress

  encapsulationframe-relayietf

  serialrestart-delay0

  frame-relaylmi-typeansi

  !

  interfaceserial2/3.1point-to-point

  descriptionto_jstzfgjj-jgzx

  ipaddress192.168.5.2255.255.255.0

  frame-relayinterface-dlci351

  !

  interfacegroup-async1

  ipunnumberedfastethernet0/0

  encapsulationppp

  asyncdynamicaddress

  asyncmodeinteractive

  peerdefaultipaddresspooldialin

  pppauthenticationchappapcallin

  !

  routerrip

  version2

  network10.0.0.0

  network82.0.0.0

  network192.1.1.0

  network192.168.0.0

  !

  iplocalpooldialin192.168.0.246192.168.0.253

  noipclassless

  iproute10.10.1.0255.255.255.0192.168.5.1

  iproute10.10.2.0255.255.255.0192.168.5.1

  iproute82.0.0.0255.0.0.0serial1/0

  iproute82.192.187.0255.255.255.0152.1.1.1

  iproute192.168.0.0255.255.255.0192.168.5.1

  noiphttpserver

  !

  !

  linecon0

  lineaux0

  linevty04

  passwordcisco

  login

  !

  end

  

  c市cisco2500路由器配置:

  user#showrun

  buildingconfiguration...

  

  currentconfiguration:

  !

  version11.2

  noservicepassword-encryption

  noserviceudp-small-servers

  noservicetcp-small-servers

  !

  hostnameuser

  !

  enablesecret5$1$0//s$rojmqgt3vvj/zuq1tvq32.

  !

  username*****password******

  !

  interfaceethernet0

  ipaddress10.71.214.50255.255.255.0

  !

  interfaceserial0

  descriptionto_jstzfgjj-jgzx

  noipaddress

  encapsulationframe-relayietf

  bandwidth256//可以不设

  frame-relaylmi-typeansi

  !

  interfaceserial0.2point-to-point

  ipaddress192.168.6.2255.255.255.0

  frame-relayinterface-dlci352!

  interfaceserial1

  noipaddress

shutdown<

 

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

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.有关命令:

  端口设置

  任务

  命令

  设置FrameRelay封装

  encapsulationframe-relay[ietf]1

  设置FrameRelayLMI类型

  frame-relaylmi-type{ansi|cisco|q933a}2

  设置子接口

  interfaceinterface-typeinterface-number.subinterface-number[multipoint|point-to-point]

  映射协议地址与DLCI

  frame-relaymapprotocolprotocol-addressdlci[broadcast]3

  设置FRDLCI编号

  frame-relayinterface-dlcidlci[broadcast]

  注:

  1.若使Cisco路由器与其它厂家路由设备相连,则使用Internet工程任务组(IETF)规定的帧中继封装格式。

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

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

  3.帧中继pointtopoint配置实例:

 Router1:

  interfaceserial0

  encapsulationframe-relay

  !

  interfaceserial0.1point-to-point

  ipaddress172.16.1.1255.255.255.0

  frame-replyinterface-dlci105

  !

  interfaceserial0.2point-to-point

  ipaddress172.16.2.1255.255.255.0

  frame-replyinterface-dlci102

  !

  interfaceserial0.3point-to-point

  ipaddress172.16.4.1255.255.255.0

  frame-replyinterface-dlci104

  !

  Router2:

  interfaceserial0

  encapsulationframe-relay

  !

  interfaceserial0.1point-to-point

  ipaddress172.16.2.2255.255.255.0

  frame-replyinterface-dlci201

  !

  interfaceserial0.2point-to-point

  ipaddress172.16.3.1255.255.255.0

  frame-replyinterface-dlci203

  !

  相关调试命令:

  showframe-relaylmi

  showframe-relaymap

  showframe-relaypvc

  showframe-relayroute

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 医药卫生 > 基础医学

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1