boson netsim.docx
《boson netsim.docx》由会员分享,可在线阅读,更多相关《boson netsim.docx(13页珍藏版)》请在冰豆网上搜索。
![boson netsim.docx](https://file1.bdocx.com/fileroot1/2022-10/28/f1b1f23a-2372-4da5-8834-e319d46aff61/f1b1f23a-2372-4da5-8834-e319d46aff611.gif)
bosonnetsim
实验拓扑图:
拓扑图详解:
四台路由器做中心辐射式帧中继
中心路由器Dallas,三个子接口
172.16.1.1dlcl102
172.16.2.1dlcl103
172.16.3.1dlcl104
边缘路由:
san-francisco172.16.1.2dlcl201'分别用于与子接口相连
new-york172.16.2.2dlcl301
tampa172.16.3.2dlcl401
整体配置思路:
一.为各路由器命名
二.针对中心路由器进行设置,
1.设置其封装方式为frame-relay,
2.配置子接口的工作模式为point-to-point
3.针对子接口fr,设置dlcl值
三.设置边缘路由
设置接口的封装类型,指定dlcl值,指定IP地址
详细配置说明:
一.为各路由器命名
router>en
router#configt
roter(config)#hostnameDallas
其它三个路由器依次命名
二.针对中心路由进行配置
1,设置接口的封装方式
Dallas(config)#interfaceserial0
Dallas(config-if)#encapsulationframe-relay
Dallas(config-if)#noshut
2,进入子接口,配置子接口的工作模式为point-to-point
子接口1
Dallas(config-if)#exit
Dallas(config)#interfaceserial0.100point-to-point
Dallas(config-if)#frame-relayinterface-dlcl102
Dallas(config-if)#ipaddress172.16.1.1255.255.255.0
Dallas(config-if)#noshut'第一个子接口配置完成,后两个方法一样
子接口2
Dallas(config-if)#exit
Dallas(config)#interfaceserial0.200point-to-point
Dallas(config-if)#frame-relayinterface-dlcl103
Dallas(config-if)#ipaddress172.16.2.1255.255.255.0
Dallas(config-if)#noshut
子接口3
Dallas(config-if)#exit
Dallas(config)#interfaceserial0.300point-to-point
Dallas(config-if)#frame-relayinterface-dlcl104
Dallas(config-if)#ipaddress172.16.3.1255.255.255.0
Dallas(config-if)#noshut
三.设置边缘路由
设置接口的封装类型,指定dlcl值,指定IP地址
San-francisco(config-if)#interfaceserial0
San-francisco(config-if)#encapsulationframe-relay
San-francisco(config-if)#noshut
San-francisco(config-if)#frame-relayinterface-dlcl201
San-francisco(config-if)#ipaddress172.16.1.2255.255.255.0
San-francisco(config-if)#noshutdown
其它两个路由器按此方法设置
new-york(config-if)#interfaceserial0
new-york(config-if)#encapsulationframe-relay
new-york(config-if)#noshut
new-york(config-if)#frame-relayinterface-dlcl301
new-york(config-if)#ipaddress172.16.2.2255.255.255.0
new-york(config-if)#noshutdown
tampa(config-if)#interfaceserial0
tampa(config-if)#encapsulationframe-relay
tampa(config-if)#noshut
tampa(config-if)#frame-relayinterface-dlcl401
tampa(config-if)#ipaddress172.16.3.2255.255.255.0
tampa(config-if)#noshutdown
最后可以进行ping测试一下成功没有……
CISCO路由器配置手册
四、FrameRelay
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
showinterfacesserial
gotop
4.帧中继Multipoint配置实例:
Router1:
interfaceserial0
encapsulationframe-reply
!
interfaceserial0.1multipoint
ipaddress172.16.1.2255.255.255.0
frame-replymapip172.16.1.1201broadcast
frame-replymapip172.16.1.3301broadcast
frame-replymapip172.16.1.4401broadcast
!
Router2:
interfaceserial0
encapsulationframe-reply
!
interfaceserial0.1multipoint
ipaddress172.16.1.1255.255.255.0
frame-replymapip172.16.1.2102broadcast
frame-replymapip172.16.1.3102broadcast
frame-replymapip172.16.1.4102broadcast
!
[/img]..
boson实验笔记
2008-05-1518:
09:
06
lab1
settingupaserialinterface
R1:
#
hostnamerouter1
interfaceserial0
clockrate64