ZXR102900ESeriesCommandReference
Guidelines
Thepriorityrangesfrom0to240.Thevalueconguredmustbeabletobedividedby16.
Ifnot,thesystemwillautomaticallytransformittotheclosestvalue.
Default
Thedefaultpriorityis128.
Example
Thefollowingexamplesetsthepriorityoftrunk1ininstance1to240:
zte(cfg)#setstpinstance1trunk1priority240
4.12.22setstpinstanceport/trunkcost
Purpose
Thiscommandsetsthepathcostofaportortrunksinaninstance.
CommandMode
Globalcongurationmode
Syntax
setstpinstance<0-63>{port<1-52>|trunk<trunklist>}cost<1-200000000>
ParameterDescription
ParameterDescription
<0-63>InstanceID.
port<1-52>
Portnumber.Differentdeviceshavedifferentportnumberranges.
Inthesyntax,the2952Edeviceisusedasanexample.
trunk<trunklist>Trunklist.
<1-200000000>Pathcost.
Guidelines
Forthetypicalvalueofpathcost,refertotherelatedstandards.
Example
Thefollowingexamplesetsthepathcostofport1ininstance1to20000:
zte(cfg)#setstpinstance1port1cost20000
4-206
SJ-20130731155059-003|2013-11-27(R1.0)ZTEProprietaryandCondential