ZXR10 2900E Series Command Reference
Guidelines
The priority ranges from 0 to 240. The value configured must be able to be divided by 16.
If not, the system will automatically transform it to the closest value.
Default
The default priority is 128.
Example
The following example sets the priority of trunk 1 in instance 1 to 240:
zte(cfg)#set stp instance 1 trunk 1 priority 240
4.12.22 set stp instance port/trunk cost
Purpose
This command sets the path cost of a port or trunks in an instance.
Command Mode
Global configuration mode
Syntax
set stp instance
<
0-63
>{
port
<
1-52
>|
trunk
<
trunklist
>}
cost
<
1-200000000
>
Parameter Description
Parameter
Description
<
0-63
>
Instance ID.
port
<
1-52
>
Port number. Different devices have different port number ranges.
In the syntax, the 2952E device is used as an example.
trunk
<
trunklist
>
Trunk list.
<
1-200000000
>
Path cost.
Guidelines
For the typical value of path cost, refer to the related standards.
Example
The following example sets the path cost of port 1 in instance 1 to 20000:
zte(cfg)#set stp instance 1 port 1 cost 20000
4-206
SJ-20130731155059-003|2013-11-27 (R1.0)
ZTE Proprietary and Confidential