版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、STP的基本配置SW1配置 <Huawei><Huawei>sy<Huawei>system-view (进入全局模式)Enter system view, return user view with Ctrl+Z.HuaweiHuaweisyHuaweisysname SW1(更改设备名称)SW1SW1stp enSW1stp enable (打开STP)SW1SW1stp moSW1stp mode stp 进入stp模式Info: This operation may take a few seconds. Please wait for a mome
2、nt.done.SW1SW1stp priSW1stp priority 0 (在STP模式下更改BID优先级)BID=Bridge ID(桥ID)SW1SW1disSW1display this (查询当前配置)#sysname SW1#stp mode stpstp instance 0 priority 0#cluster enablentdp enablendp enable#drop illegal-mac alarm#returnSW1SW1disSW1display sSW1display stp (查询STP)-CIST Global InfoMode STP-CIST Bri
3、dge :0 .4c1f-cc38-7c04 (桥ID优先级和MAC)Config Times :Hello 2s MaxAge 20s FwDly 15s MaxHop 20Active Times :Hello 2s MaxAge 20s FwDly 15s MaxHop 20CIST Root/ERPC :0 .4c1f-cc38-7c04 / 0CIST RegRoot/IRPC :0 .4c1f-cc38-7c04 / 0CIST RootPortId :0.0BPDU-Protection :DisabledTC or TCN received :7TC count per hel
4、lo :0STP Converge Mode :Normal Time since last TC :0 days 0h:1m:1sNumber of TC :7Last TC occurred :GigabitEthernet0/0/2-Port1(Ethernet0/0/1)DOWN- Port Protocol :Enabled Port Role :Disabled Port Port Priority :128 Port Cost(Dot1T ) :Config=auto / Active=200000000 Designated Bridge/Port :0.4c1f-cc38-7
5、c04 / 128.1 Port Edged :Config=default / Active=disabled Point-to-point :Config=auto / Active=false Transit Limit :147 packets/hello-time Protection Type :None Port STP Mode :MSTP Port Protocol Type :Config=auto / Active=dot1s BPDU Encapsulation :Config=stp / Active=stp PortTimes :Hello 2s MaxAge 20
6、s FwDly 15s RemHop 20 TC or TCN send :0 TC or TCN received :0 BPDU Sent :0 TCN: 0, Config: 0, RST: 0, MST: 0 BPDU Received :0 TCN: 0, Config: 0, RST: 0, MST: 0-Port2(Ethernet0/0/2)DOWN- Port Protocol :Enabled Port Role :Disabled Port Port Priority :128 Port Cost(Dot1T ) :Config=auto / Active=2000000
7、00 Designated Bridge/Port :0.4c1f-cc38-7c04 / 128.2 Port Edged :Config=default / Active=disabled Point-to-point :Config=auto / Active=false Transit Limit :147 packets/hello-time Protection Type :None Port STP Mode :MSTP Port Protocol Type :Config=auto / Active=dot1s BPDU Encapsulation :Config=stp /
8、Active=stp PortTimes :Hello 2s MaxAge 20s FwDly 15s RemHop 20 TC or TCN send :0 TC or TCN received :0 BPDU Sent :0 TCN: 0, Config: 0, RST: 0, MST: 0 BPDU Received :0 TCN: 0, Config: 0, RST: 0, MST: 0-Port3(Ethernet0/0/3)DOWN- Port Protocol :Enabled Port Role :Disabled Port Port Priority :128 Port Co
9、st(Dot1T ) :Config=auto / Active=200000000 Designated Bridge/Port :0.4c1f-cc38-7c04 / 128.3 Port Edged :Config=default / Active=disabled Point-to-point :Config=auto / Active=false Transit Limit :147 packets/hello-time Protection Type :None Port STP Mode :MSTP Port Protocol Type :Config=auto / Active
10、=dot1s BPDU Encapsulation :Config=stp / Active=stp PortTimes :Hello 2s MaxAge 20s FwDly 15s RemHop 20 TC or TCN send :0 TC or TCN received :0 BPDU Sent :0 TCN: 0, Config: 0, RST: 0, MST: 0SW1SW1q<SW1><SW1>save (保存配置)The current configuration will be written to the device.Are you sure to
11、continue?Y/NyInfo: Please input the file name ( *.cfg, *.zip ) vrpcfg.zip:Mar 15 2017 19:47:02-08:00 SW1 %01CFM/4/SAVE(l)0:The user chose Y when deciding whether to save the configuration to the device.<SW1>-SW2配置<Huawei><Huawei>sy<Huawei>system-view Enter system view, return
12、 user view with Ctrl+Z.HuaweiHuaweisyHuaweisysname SW2SW2SW2stp enSW2stp enable SW2SW2stp mode stSW2stp mode stp Info: This operation may take a few seconds. Please wait for a moment.done.SW2SW2stp priSW2stp priority 4096SW2SW2disSW2display this#sysname SW2#stp mode stpstp instance 0 priority 4096#c
13、luster enablentdp enablendp enable#drop illegal-mac alarm#returnSW2SW2SW2disSW2display stSW2display stp-CIST Global InfoMode STP-CIST Bridge :4096 .4c1f-cc3a-0520Config Times :Hello 2s MaxAge 20s FwDly 15s MaxHop 20Active Times :Hello 2s MaxAge 20s FwDly 15s MaxHop 20CIST Root/ERPC :0 .4c1f-cc38-7c0
14、4 / 20000CIST RegRoot/IRPC :4096 .4c1f-cc3a-0520 / 0CIST RootPortId :128.23BPDU-Protection :DisabledTC or TCN received :42TC count per hello :0STP Converge Mode :Normal Time since last TC :0 days 0h:1m:41sNumber of TC :10Last TC occurred :GigabitEthernet0/0/1-Port1(Ethernet0/0/1)DOWN- Port Protocol
15、:Enabled Port Role :Disabled Port Port Priority :128 Port Cost(Dot1T ) :Config=auto / Active=200000000 Designated Bridge/Port :4096.4c1f-cc3a-0520 / 128.1 Port Edged :Config=default / Active=disabled Point-to-point :Config=auto / Active=false Transit Limit :147 packets/hello-time Protection Type :No
16、ne-SW3配置<Huawei>sy<Huawei>system-view Enter system view, return user view with Ctrl+Z.HuaweiHuaweisyHuaweisysname SW3SW3SW3stp enSW3stp enable SW3SW3stp moSW3stp mode stSW3stp mode stp Info: This operation may take a few seconds. Please wait for a moment.done.SW3SW3stp priSW3stp priority
17、 8192SW3SW3disSW3display this#sysname SW3#stp mode stpstp instance 0 priority 8192#cluster enablentdp enablendp enable#drop illegal-mac alarm#returnSW3SW3q<SW3><SW3><SW3><SW3>saThe current configuration will be written to the device.Are you sure to continue?Y/NyInfo: Please input the file n
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 海康威视:海康观澜大模型白皮书(2026版)
- 2026年上半年中国公司IPO上市分析报告
- 2026-27秋冬天猫趋势洞察品类白皮书 -趋势品类 服饰消费现状 趋势核心策略
- 制造业原材料采购质量控制标准手册
- 团结协作,共创辉煌,小学主题班会课件
- 关于客户订单处理延迟的说明函8篇范本
- 汽车4S店售后服务中心技师服务质量绩效考评表
- 警钟长鸣防溺水生命至上三年级主题班会课件
- 制造业生产计划智能排产方案
- 数据科学家模型预测准确率绩效评定表
- 审计署关于内部审计规定培训
- 质量管理五大工具培训教材
- 物资采购服务投标方案
- 无损检测质量管理
- 压力容器制造质量管理体系2025年内审资料
- 治本攻坚三年行动台账(模板)
- 神经源性直肠的护理策略
- 临床医学课程思政案例
- 短期与长期应对策略
- JT∕T 850-2013 挤压锚固钢绞线拉索
- 2024福建检察机关书记员招聘笔试参考题库含答案解析
评论
0/150
提交评论