Chapter5ServiceConguration
Figure5-9STPCongurationInstance
lCongurationProcedure
zte(cfg)#setstpenable
/*enablethestpprotocolofswitch1andswitch2*/
zte(cfg)#setstpforceversionstp
/*setSTPforceversionasstp*/
lCongurationVerication
1.ChecktheSTPstateofswitch1inthesystemview.
zte(cfg)#showstpinstance
Spanningtreeenabledprotocolstp
RootID:
Priority:32768Address:00.d0.d0.02.00.54
HelloTime(s):2MaxAge(s):20
ForwardDelay(s):15
RegRootID:
Priority:32768Address:00.d0.d0.02.00.54
RemainHops:20
BridgeID:
Priority:32768Address:00.d0.d0.02.00.54
HelloTime(s):2MaxAge(s):20
ForwardDelay(s):15MaxHops:20
InterfacePortIdCostStatusRoleBoundGuardStatus
-------------------------------------------------------
1128.1200000ForwardDesignatedSSTPNone
2128.2200000ForwardDesignatedSSTPNone
2.ChecktheSTPstateofswitch2inthesystemview.
zte(cfg)#showstpinstance
Spanningtreeenabledprotocolstp
RootID:
Priority:32768Address:00.d0.d0.02.00.54
HelloTime(s):2MaxAge(s):20
ForwardDelay(s):15
RegRootID:
Priority:32768Address:00.d0.d0.29.52.06
RemainHops:20
BridgeID:
Priority:32768Address:00.d0.d0.29.52.06
HelloTime(s):2MaxAge(s):20
ForwardDelay(s):15MaxHops:20
InterfacePortIdCostStatusRoleBoundGuardStatus
-------------------------------------------------------
5-39
SJ-20130731155059-002|2013-11-27(R1.0)ZTEProprietaryandCondential