




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 电子竞技赛事策划与组织的专业化管理
- 社交媒体在职业发展中的人际作用
- 电影技术在医疗诊断中的应用探索
- 2025至2030年中国蔳型水辊套数据监测研究报告
- 科技引领下的绿色能源产业发展研究
- 科学饮食与身体状况的密切关系探索
- 2025至2030年中国苄胺数据监测研究报告
- 模具制造工艺 计算题答案学习课件
- 2025年浙能集团应届生招聘818人笔试参考题库附带答案详解
- 2025年江西航空校园招聘笔试参考题库附带答案详解
- JGT331-2011 建筑幕墙用氟碳铝单板制品
- 宝钢BQB 481-2023全工艺冷轧中频无取向电工钢带文件
- 企业文化变革的阻力与推进策略
- 特种设备作业人员资格申请表(新版)
- 巡察组作风纪律情况评估表
- 苏教版五年级数学下册100道口算题大全(全册)
- 隐蔽工程验收记录(综合布线)
- 小学班级心理委员管理办法
- 教科版六年级科学下册全册全套课件【完整版】
- 赢的含义员工培训
- 2023年江苏省五年制专转本英语统考真题(试卷+答案)
评论
0/150
提交评论