版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、以太网端口聚合+RSTP配置#拓扑图打=S石D/d?厂SlO/CV3 I5E ED才S5700-LSW2S5700-LSW3功能要求:通过在网络中配置 RSTP功能,实现消除网络环路的目的,当RSTP的根桥DOWN掉后,可以通过非根桥正常通信,达到根桥和备用根桥的切换, 某个链路DOWN后,可以通过将某个阻塞端口恢复为根端口或转发端口,以实现正常的数 据通信,当聚合链路中的某个链路 DOWN掉后,不会影响正常的通信配置过程:S5700-LSW1HuaweiDIS CU# sys name Huawei# vlan batch 10 20# stp mode rstp# cluster en a
2、ble ntdp en able ndp en able# drop illegal-mac alarm diffserv doma in default#drop-p rofile default# aaaauthe nticati on-scheme defaultauthorizatio n-scheme default acco untin g-scheme default doma in defaultdoma in default_adm inlocal-user adm in p assword simple adm inlocal-user adm in service-t y
3、pe htt p#in terface Vla nif1#in terface MEth0/0/1 #in terface GigabitEthernet0/0/1port lin k-t ype trunkport trunk allow-p ass vla n 10 20#in terface GigabitEthernet0/0/2port lin k-t ype trunkport trunk allow-p ass vla n 10 20 #interface GigabitEthernetO/0/3 port link-type access port default vlan 1
4、0 stp disable#interface GigabitEthernet0/0/4port link-type accessport default vlan 20stp disable#in terface GigabitEthernet0/0/5#in terface GigabitEthernet0/0/6#in terface GigabitEthernet0/0/7#in terface GigabitEthernet0/0/8#in terface GigabitEthernet0/0/10#in terface GigabitEthernet0/0/11#in terfac
5、e GigabitEthernet0/0/12#in terface GigabitEthernet0/0/13# in terface GigabitEthernet0/0/14#in terface GigabitEthernet0/0/15#in terface GigabitEthernet0/0/16#in terface GigabitEthernet0/0/17#in terface GigabitEthernet0/0/18# in terface GigabitEthernet0/0/19#in terface GigabitEthernet0/0/20#in terface
6、 GigabitEthernet0/0/21#in terface GigabitEthernet0/0/22#in terface GigabitEthernet0/0/23# in terface GigabitEthernet0/0/24#in terface NULL0#user- in terface con 0 user- in terface vty 0 4#ReturnS5700-LSW2#sys name Huawei# vlan batch 10 20stp mode rstpstp instance 0 root p rimary# cluster en able ntd
7、p en able ndp en able # drop illegal-mac alarm# diffserv doma in default #drop-p rofile default# aaaauthe nticati on-scheme defaultauthorizatio n-scheme defaultacco untin g-scheme defaultdoma in defaultdomain default adminlocal-user admin p assword sim pie adm inlocal-user adm in service-t ype htt p
8、#in terface Vla nif1 #in terface Vla nif10ip address 10.0.0.1 255.255.255.0# in terface Vla nif20ip address 20.0.0.1 255.255.255.0# in terface MEthO/0/1 #interface Eth-Trunk1port link-type trunkport trunk allow- pass vlan 10 20# in terface GigabitEthernet0/0/1port lin k-t ype trunkport trunk allow-p
9、 ass vla n 10 20# in terface GigabitEthernet0/0/2#interface GigabitEthernetO/0/3eth-trunk 1#in terface GigabitEthernetO/0/4#interface GigabitEthernetO/0/5 eth-trunk 1#in terface GigabitEthernetO/0/6# in terface GigabitEthernetO/0/7#in terface GigabitEthernetO/0/8#in terface GigabitEthernet0/0/9#in t
10、erface GigabitEthernetO/O/1O#in terface GigabitEthernetO/O/11# in terface GigabitEthernet0/0/12#in terface GigabitEthernet0/0/13#in terface GigabitEthernetO/O/14#in terface GigabitEthernet0/0/15#in terface GigabitEthernet0/0/16# in terface GigabitEthernet0/0/17#in terface GigabitEthernet0/0/18#in te
11、rface GigabitEthernet0/0/19#in terface GigabitEthernet0/0/20#in terface GigabitEthernet0/0/21#in terface GigabitEthernet0/0/22#in terface GigabitEthernet0/0/23#in terface GigabitEthernetO/0/#in terface NULL0 #user- in terface con 0 user- in terface vty 0 4#ReturnS5700-LSW3 Huaweidis cu# sys name Hua
12、wei# vlan batch 10 20stp mode rstpstp instance 0 root secondary#cluster en able ntdp en able ndp en able # drop illegal-mac alarm#diffserv doma in default drop-p rofile default# aaaauthe nticati on-scheme default authorizatio n-scheme default acco untin g-scheme default doma in defaultdomain default
13、 adminlocal-user adm in p assword simple adm inlocal-user adm in service-t ype htt p# in terface Vla nif1# in terface Vla nif10ip address 10.0.0.3 255.255.255.0#in terface Vla nif20ip address 20.0.0.3 255.255.255.0#in terface MEthO/0/1# interface Eth-Trunk1port link-type trunkport trunk allow- pass
14、vlan 10 20#in terface GigabitEthernet0/0/1# in terface GigabitEthernet0/0/2port lin k-t ype trunkport trunk allow-p ass vla n 10 20#interface GigabitEthernetO/0/3 eth-trunk 1# in terface GigabitEthernetO/0/4#interface GigabitEthernetO/0/5 eth-trunk 1#in terface GigabitEthernetO/0/6#in terface Gigabi
15、tEthernetO/0/7#in terface GigabitEthernet0/0/8#in terface GigabitEthernet0/0/9# in terface GigabitEthernetO/O/1O#in terface GigabitEthernetO/O/11#in terface GigabitEthernet0/0/12#in terface GigabitEthernet0/0/13#in terface GigabitEthernetO/O/14#in terface GigabitEthernet0/0/15#in terface GigabitEthe
16、rnet0/0/16#in terface GigabitEthernetO/0/17#in terface GigabitEthernetO/0/18#in terface GigabitEthernetO/0/19#in terface GigabitEthernetO/0/20#in terface GigabitEthernetO/0/21# in terface GigabitEthernet0/0/22#in terface GigabitEthernet0/0/23#in terface GigabitEthernet0/0/24#in terface NULL0 #user-
17、in terface con 0user- in terface vty 0 4#Return测试:把S5700-LSW2上的端口 G0/0/3 DOWN掉后,用户可以正常通信Huaweidis eth-trunk 1Eth-Trunk1s state information is:WorkingMode: NORMAL Least Active-linknumber: 1 Op erate status: upHash arithmetic: According to SIP -XOR-DIPMax Bandwidth-affected-linknumber: 8P ortNameGigab
18、itEthernetO/0/3GigabitEthernetO/0/5StatusDownUpWeight11Number Of Up Port In Trunk: 1Fing From From Fro皿From From1: 32 data bytes1: bytes=321: bytes=321: bytes=321: bytes=321: bytes=32seq=l seq=2 seq=3 seq=4 eq=5Pres Ctrl C tottl=255ttl=255ttl=255ttl=255ttl=255tiiae=31 tijiie=31 tiiie=32 time=31 time
19、=32breaklas ms ms ms ms 10. 0. 0.1 ping statistics5 packet Cs) transmitted5 packet Cs) received0. 00% packet lossround-trip min/avg/niax = 31/31/32 msPOping 10. 0. 0, 3Ping From Fro皿 From FromFromJL32 data bytes=32 bytes=32 bytes=32 bytes=32 bytes=3212 3 4 5 e e e e e s s s E sPress Ctrl_C to tijiie
20、=62 time=S3 time=47 lime=4:7 liiiie=63ttl=255ttl=255ttl=255ttl=255ttl=255breakms ms ms ms nsping statistics transmitted10. 0. 0, 35 packet (s)5 packet Cs) received0. 00% packet loss round-trip min/avg/max = 47/56/63 ms在S5700-LSW1上将根端口 gO/0/1 DOWN后,阻塞端口 gO/0/2正常切换成根端口接受和发 送报文,Huaweidis stpJan 3201313
21、:23:07-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID1.3.6.1.4.1.2011.5.25.191.3.1 configurations have been changed. The current change number is 6, the change loop count is 0, and the maximum number of records is 4095.briMSTID PortRole STP State Protection0 GigabitEthernet0/0/2ROOT FORWARDINGNONE客户端也可以正常
22、访问S5700-LSW2上的10.0.0.1和S5700-LSW3上的10.0.0.3POping 10, 0, 0.1Ping From From FromFrom From10.60.110. 0. 110.0.0.110.0.0.110.0.0.110.0.0.132 byte=32 bytes=32 bytes=32 bytes=32 bytes=32data bytesJeq=l seq=2 seq=3 seq=4: seq=5Press Ctrl_C to ttl=255 ttl=255 ttl=255 ttl=255 ttl=255tiJiie=62 tiJiie=63 tiji
23、ie=62 tiiie=78 time=63breakms ms ms ms ms10. 0, 0,1 ping statistics5 packet(s) transmitted5 packet(s) received0.00% packet loss round-trip min/avg/nax = 62/65/78 nsPOping 10. 0, 0.3Pins10, 0,0.3:32 data jytes.Press Ctrl_C tobreakFrom10, 0.0. 3:byteE=32seqlttl=255time二16msFrom10, 0.0. 3:bytcs=32seq2ttl=255tin匕二31msFrom10, 0.0.3:byte 沪 32seq=3ttl=255tiui 巳二 31nsFrom10. 0.0. 3:byte=323eq=4ttl 二右 5tin巳=31nsFrom10. 0.0. 3:t)ytes=323eq=5ttl=2bbtime=16ms在客户端2上也可以正常访问S5700-LSW2和
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 中医疼痛护理的个性化方案
- 北师大版七年级英语上册UnitMyschoollife单元测试卷(含答案)
- 2026年医学专升本临床医学综合真题单套试卷
- 雨课堂学堂在线学堂云《现代口腔种植学(山东)》单元测试考核答案
- 2026年自学考试政治经济学试题单套试卷
- 人教版八年级英语上册日常交际单元测试卷(含答案解析)
- 儿科用药护理
- 产科健康宣教动漫
- 2026安宁疗护护理职称考试历年真题汇编及答案
- 2026年湖铁单招测试题及答案
- ISO27001信息安全管理体系培训资料
- 感觉统合教育指导师理论考试复习题库(含答案)
- 制药工艺一次性聚合物组件可提取物技术规程
- 公安机关人民警察基本级执法资格考试题库(简答题)
- 一年级科学第一单元6课它们去哪里了课件
- 解码EOD模式的发展路径
- 妇产科孕14周以上医学需要引产审批表
- 转基因技术与作物育种
- GB/T 8630-2013纺织品洗涤和干燥后尺寸变化的测定
- 表1-人身险职业分类表2019版
- GB∕T 24803.4-2013 电梯安全要求 第4部分:评价要求
评论
0/150
提交评论