Chapter7ServiceConguration
Whenconguringoneport,onlyoneofthethreeprotectionscan
becongured:BPDUprotection,rootprotectionandloopprotec-
tion.
BasicConfigurationofSTP
Inthedefaultconguration,theMSTPonlyhastheinstancewith
ins_idas0.Thisinstancealwaysexistsandusercannotmanually
deleteit.ThisinstanceismappedwithVLANs1to4094.
CommandFunction
zte(cfg)#clearstpinstance<1-15>ThisclearstheSTP
instance.
zte(cfg)#clearstpinstance<0-15>port
<portid>cost
Thisclearsthecost
valueofSTPinstance
port.
zte(cfg)#clearstpinstance<0-15>trunk
<trunkid>cost
Thisclearsthe
trunkcostvalueof
instance.
zte(cfg)#clearstpnameThisclearstheSTParea
name.
zte(cfg)#setstp{enable|disable}Thisenablesordisables
STP .Thedefaultsetting
isdisabled.
zte(cfg)#setstpname<name>
Thissetstheareaname
ofMST .Thesizeofthe
nameisnomorethan
32characters.
zte(cfg)#setstpforceversion
{mstp|rstp|stp}
ThissetstheforcedSTP
typetomstp/rstp/stp.
Thedefaultforcedtype
ismstp.
zte(cfg)#setstpinstance<0-15>[add|de
lete]vlan<vlanlist>
Thissetsthemapping
relationshipbetween
VLANandinstance.
zte(cfg)#setstpinstance<0-15>priority
<0-61440>
Thissetstheinstance
bridgepriority.
zte(cfg)#setstpinstance<0-15>port
<portname>priority<0-240>
Thissetstheinstance
portpriority.
zte(cfg)#setstpinstance<0-15>trunk<
trunkid>priority<0-240>
Thissetstheinstance
trunkpriority.
zte(cfg)#setstpinstance<0-15>port
<portname>cost<1-200000000>
Thissetstheinstance
portcost.
zte(cfg)#setstpinstance<0-15>
port<portname>root-guard
{enable|disable}
Thisenables/disables
instanceportroot
protection.
CondentialandProprietaryInformationofZTECORPORATION97