免费预览已结束,剩余4页可下载查看
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
华为HCNA_STP基本配置_tonySTP的基本配置SW1配置 HuaweiHuaweisyHuaweisystem-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 moment.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 Bridge :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 hello :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-7c04 / 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 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-Port2(Ethernet0/0/2)DOWN- Port Protocol :Enabled Port Role :Disabled Port Port Priority :128 Port Cost(Dot1T ) :Config=auto / Active=200000000 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 / 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 Cost(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=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: 0SW1SW1qSW1SW1save (保存配置)The current configuration will be written to the device.Are you sure to 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配置HuaweiHuaweisyHuaweisystem-view Enter system view, return 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#cluster 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-7c04 / 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 :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 :None-SW3配置HuaweisyHuaweisystem-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 8192SW3SW3disSW3display this#sysname SW3#stp mode stpstp instance 0 priority 8192#cluster enablentdp enablendp enable#drop illegal-mac alarm#returnSW3SW3qSW3SW3SW3SW3saThe current configuration will be written to the device.Are you sure to continue?Y/NyInfo: Please input
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- T/SHATCMI 0002-2023藏红花质量规范
- T/NAHIEM 158-2025日夜分护婴儿纸尿裤
- T/CECCEDA 3-2025企业文化建设指南
- T/CHAA 037-2024医疗机构特殊医学用途配方食品运营管理规范
- T/CSMT YB023-2026动态公路车辆自动衡器期间核查技术规范
- GB/T 3102.7-2026量和单位第7部分:光和辐射
- 2025~2026学年河北省保定市涞水县人教版六年级上册11月期中数学试卷【附答案】
- 2027届四川省绵阳市游仙区数学八上期末综合测试模拟试题含解析
- PHP工程师笔试真题(含详细答案·企业实操版)
- 2026年康复治疗考试题库及答案
- 2026年广西北部湾国际港务集团有限公司人员招聘笔试参考试题及详细答案解析
- 自考 08257 舆论学・重点精简版(速记 + 考点)
- 2026年校招:太平洋保险笔试题及答案
- 2026国企招聘考试公共基础知识考试题(含答案)
- 2025年银行考试-银行间本币市场交易员资格笔试考试历年典型考题及考点
- 安徽省2026年中考数学试题(解析版)
- 【万科集团财务风险防范措施研究8400字(论文)】
- 重庆市康德卷2025-2026学年高二下学期期末考试+政治试题(含答案)
- 管道巡线管理办法培训
- 汽车制造工艺基础+车身冲压+课件
- 2025年同等学力申硕英语真题及参考答案A卷
评论
0/150
提交评论