Chapter5ServiceConguration
TheSTPcongurationincludesthefollowingcommands:
CommandFunction
zte(cfg)#setstp{enable|disable}EnablesordisablestheSTP .
zte(cfg)#setstpforceversion{mstp|rstp|stp}SetstheforcedSTPtypeto
MSTP/RSTP/STP .
zte(cfg)#setstpport<portlist>{enable|disable}EnablesordisablestheportSTP
function.
zte(cfg)#setstpport<portlist>linktype{point-point|shared}Setsportconnectiontype.
zte(cfg)#setstpport<portlist>packettype{IEEE|CISCO|
HUAWEI|HAMMER|extend}
Setsinstanceportpackettype.
zte(cfg)#setstpport<portlist>pcheckChecksthecurrentSTPprotocol
typeandselectsthebestprotocol.
zte(cfg)#setstpport<portlist>bpdu-guard{enable|disable}EnablesordisablestheBPDU
packetprotectionfunctiononthe
port.
zte(cfg)#setstpbpdu-interval<10-65535>SetsanintervalforBPDU
protectionrecovery.
zte(cfg)#setstptrunk<trunklist>{enable|disable}Enablestrunk/disablestheSTP
function.
zte(cfg)#setstptrunk<trunklist>linktype{point-point|shared}Setstrunkconnectiontype.
zte(cfg)#setstptrunk<trunklist>packettype{IEEE|CISCO|
HUAWEI|HAMMER|extend}
Setspackettypessentand
receivedbythetrunk.
zte(cfg)#setstpedge-port{add|delete}port<portlist>Adds/deletesSTPedgeport.
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 .
5-37
SJ-20130731155059-002|2013-11-27(R1.0)ZTEProprietaryandCondential