华为HCNA_STP基本配置_tonySTP的基本配置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
Pleasewaitforamoment
[SW1][SW1]stppri[SW1]stppriority0(在STP模式下更改BID优先级)BID=BridgeID(桥ID)华为HCNA_STP基本配置_tony[SW1][SW1]dis[SW1]displaythis(查询当前配置)#sysnameSW1#stpmodestpstpinstance0priority0#clusterenablentdpenablendpenable#dropillegal-macalarm#return[SW1][SW1]dis[SW1]displays[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/0CISTRootPortId:0