欢迎来到天天文库
浏览记录
ID:59341788
大小:46.94 KB
页数:7页
时间:2020-10-31
《华为HCNA-STP基本配置练习.docx》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、STP的基本配置SW1配置sysystem-view(进入全局模式)Entersystemview,returnuserviewwithCtrl+Z.[Huawei][Huawei]sy[Huawei]sysnameSW1(更改设备名称)[SW1][SW1]stpen[SW1]stpenable(打开STP)[SW1][SW1]stpmo[SW1]stpmodestp进入stp模式Info:Thisoperationmaytakeafewseconds.Plea
2、sewaitforamoment...done.[SW1][SW1]stppri[SW1]stppriority0(在STP模式下更改BID优先级)BID=BridgeID(桥ID)[SW1][SW1]dis[SW1]displaythis(查询当前配置)#sysnameSW1#stpmodestpstpinstance0priority0#clusterenablentdpenablendpenable#dropillegal-macalarm#return[SW1][SW1]dis[SW1]display
3、s[SW1]displaystp(查询STP)-------[CISTGlobalInfo][ModeSTP]-------CISTBridge:0.4c1f-cc38-7c04(桥ID优先级和MAC)ConfigTimes:Hello2sMaxAge20sFwDly15sMaxHop20ActiveTimes:Hello2sMaxAge20sFwDly15sMaxHop20CISTRoot/ERPC:0.4c1f-cc38-7c04/0CISTRegRoot/IRPC:0.4c1f-cc38-7c04/0C
4、ISTRootPortId:0.0BPDU-Protection:DisabledTCorTCNreceived:7TCcountperhello:0STPConvergeMode:NormalTimesincelastTC:0days0h:1m:1sNumberofTC:7LastTCoccurred:GigabitEthernet0/0/2----[Port1(Ethernet0/0/1)][DOWN]----PortProtocol:EnabledPortRole:DisabledPortPortPri
5、ority:128PortCost(Dot1T):Config=auto/Active=DesignatedBridge/Port:0.4c1f-cc38-7c04/128.1PortEdged:Config=default/Active=disabledPoint-to-point:Config=auto/Active=falseTransitLimit:147packets/hello-timeProtectionType:NonePortSTPMode:MSTPPortProtocolType:Conf
6、ig=auto/Active=dot1sBPDUEncapsulation:Config=stp/Active=stpPortTimes:Hello2sMaxAge20sFwDly15sRemHop20TCorTCNsend:0TCorTCNreceived:0BPDUSent:0TCN:0,Config:0,RST:0,MST:0BPDUReceived:0TCN:0,Config:0,RST:0,MST:0----[Port2(Ethernet0/0/2)][DOWN]----PortProtocol:E
7、nabledPortRole:DisabledPortPortPriority:128PortCost(Dot1T):Config=auto/Active=DesignatedBridge/Port:0.4c1f-cc38-7c04/128.2PortEdged:Config=default/Active=disabledPoint-to-point:Config=auto/Active=falseTransitLimit:147packets/hello-timeProtectionType:NonePor
8、tSTPMode:MSTPPortProtocolType:Config=auto/Active=dot1sBPDUEncapsulation:Config=stp/Active=stpPortTimes:Hello2sMaxAge20sFwDly15sRemHop20TCorTCNsend:0TCorTCNreceived:0BPDUSent:0TCN:0,Config:0,RST:0,MST:0
此文档下载收益归作者所有