ZXR102900ESeriesCongurationGuide
CommandFunction
zte(cfg)#setstpport<portlist>bpdu-guard{enable|disable}
EnablesordisablesportBPDUpacket
protectionfunction.
zte(cfg)#setstpbpdu-interval<10-65535>
SetsBPDUprotectionportlink-down
interval.
zte(cfg)#setstptrunk<trunklist>{enable|disable}Enablestrunk/disablesSTPfunction.
zte(cfg)#setstptrunk<trunklist>linktype{point-point|shared}Setstrunkconnectiontype.
zte(cfg)#setstptrunk<trunklist>packettype{IEEE|CISCO|HUAWEI|
HAMMER|extend}
Setstrunkreceivingandsendingpacket
type.
zte(cfg)#setstpedge-port{add|delete}port<portlist>Adds/deletesSTPedgeport.
zte(cfg)#setstp{hmd5-digest|hmd5-key}{CISCO|HUAWEI}<0x00..0-0xf
f..f>
Setshmd5parameterwhenthedevice
isconnectedwithCISCOorHUAWEI.
zte(cfg)#setstphellotime<1-10>SetsSTPnoticationinterval.
zte(cfg)#setstpforwarddelay<4-30>SetsSTPforwardingdelaytime.
zte(cfg)#setstpagemax<6-40>SetsSTPagingtime
zte(cfg)#setstphopmax<1-40>
Setsthemaximumnumberofhop
betweenanytwoterminalsofMST .
zte(cfg)#setstpname<name>SetsthenameofMSTPdomain.
zte(cfg)#setstprevision<0-65535>SetstherevisionlevelofMSTP.
zte(cfg)#setstpinstance<0-63>{add|delete}vlan<vlanlist>
AddsordeletesVLANto/fromMSTP
instance.
zte(cfg)#setstpinstance<0-63>{port<1-28>|trunk<trunklist>}priority
<0-240>
Setsthepriorityofport/trunkinthe
instance.
zte(cfg)#setstpinstance<0-63>{port<1-28>|trunk<trunklist>}cost
<1-200000000>
Setsthepathcostofport/trunkinthe
instance.
zte(cfg)#setstpinstance<0-63>{port<1-28>|trunk<trunklist>}root-guard
{enable|disable}
Enablesordisablestherootprotection
ofport/trunkintheinstance.
zte(cfg)#setstpinstance<0-63>{port<1-28>|trunk<trunklist>}loop-guard
{enable|disable}
Enablesordisablestheloopprotection
ofport/trunkintheinstance.
zte(cfg)#setstpinstance<0-63>priority<0-61440>
Setsthepriorityofthebridgeinthe
instance,whichisusedforrootbridge
selection.
zte(cfg)#clearstpinstance<0-63>Deletestheinstance.
zte(cfg)#clearstpinstance<0-63>{port<1-28>|trunk<1-15>}cost
Setsthepathcostofport/trunkinthe
instanceasdefaultvalue.
zte(cfg)#clearstpnameDeletesMSTPdomainname.
4-36
SJ-20120409144109-002|2012-07-02(R1.0)ZTEProprietaryandCondential