Chapter5ServiceConguration
CommandFunction
zte(cfg)#setstp{hmd5-digest|hmd5-key}{CISCO|
HUAWEI}<0x00..0-0xff..f>
Setshmd5parameterwhenthe
deviceisconnectedwithCISCO
orHUAWEI.
zte(cfg)#setstphellotime<1-10>SetsSTPnoticationinterval.
zte(cfg)#setstpforwarddelay<4-30>SetsSTPforwardingdelaytime.
zte(cfg)#setstpagemax<6-40>SetsSTPagingtime.
zte(cfg)#setstphopmax<1-40>Setsthemaximumnumberofhops
betweenedgeequipmentandroot
switchofMSTP .
zte(cfg)#setstpname<name>SetsthenameoftheMSTP
domain.
zte(cfg)#setstprevision<0-65535>Setstherevisionlevelofthe
MSTP .
zte(cfg)#setstpinstance<0-63>{add|delete}vlan<vlanlist>AddsordeletestheVLANto/from
theMSTPinstance.
zte(cfg)#setstpinstance<0-63>{port<1-28>|trunk<trunklist
>}priority<0-240>
Setsthepriorityoftheport/trunk
intheinstance.
zte(cfg)#setstpinstance<0-63>{port<1-28>|trunk<trunklist>}
cost<1-200000000>
Setsthepathcostoftheport/trunk
intheinstance.
zte(cfg)#setstpinstance<0-63>{port<1-28>|trunk<trunklist>}
root-guard{enable|disable}
Enablesordisablestheroot
protectionofport/trunkinthe
instance.
zte(cfg)#setstpinstance<0-63>{port<1-28>|trunk<trunklist>}
loop-guard{enable|disable}
Enablesordisablestheloop
protectionofport/trunkinthe
instance.
zte(cfg)#setstpinstance<0-63>priority<0-61440>Setsthepriorityofthebridgein
theinstance,whichisusedforroot
bridgeselection.
zte(cfg)#clearstpinstance<0-63>Deletestheinstance.
zte(cfg)#clearstpinstance<0-63>{port<1-28>|trunk<1-15>}
cost
Setsthepathcostoftheport/trunk
intheinstanceasthedefault
value.
zte(cfg)#clearstpnameDeletestheMSTPdomainname.
showstp(allcongurationmodes)DisplaysSTPglobalconguration
information.
showstpinstance[<0-63>](allcongurationmodes)Displaysthestateinformationof
theinstance.
5-37
SJ-20131111172707-002|2013-11-27(R1.0)ZTEProprietaryandCondential