
XG2000 series User's Guide
166/315
All Rights Reserved, Copyright (C) PFU LIMITED 2009
5.11.7 spanning-tree port-priority
Function
Sets a port priority within the Spanning Tree.
A smaller value has a higher priority.
Use the no form to return to the default setup.
Prompt
xg(config-if)# or xg(config-agg)#
Command syntax
spanning-tree port-priority <0-240>
no spanning-tree port-priority
Parameter
z
port-priority
<0-240>
Specifies a port priority value within the Spanning Tree. Specify a value divisible by 16.
It can be within the range of 0 to 240.
Command type
Configuration command
Default
128
Message
% Priority is not step of 16
Explanation
The priority value specified is not an integer divisible by 16.
Solution
Specify a priority value divisible by 16.
Example
Set the priority of port2 to 160.
xg(config)# interface port 2
xg(config-if)# spanning-tree port-priority 160
5.11.8 spanning-tree port-path-cost
Function
Sets a path cost for each port.
Use the no form to return to the default setup.
Prompt
xg(config-if)# or xg(config-agg)#
Command syntax
spanning-tree port-path-cost <1-200000000>
no spanning-tree port-path-cost
Parameter
z
port-path-cost
<1-200000000>
Sets a path cost for each port. It can be within the range of 1 to 200000000.
The following path cost values are recommended by IEEE802.1D.
IEEE802.1D (16bit)
IEEE802.1D (32bit)
Link speed
Recommended
range
Recommended
value
Recommended
range
Recommended
value
100M bps
10 - 60
19
20000 - 2000000
200000
1G bps
3 - 10
4
2000 - 200000
20000
10G bps
1 - 5
2
200 - 20000
2000
Command type
Configuration command
Configuration command Default
2 (16bit)
2000 (32bit)
Example
Set the path cost for port 2 to 3:
xg(config)# interface port 2
xg(config-if)# spanning-tree port-path-cost 3
Содержание XG2000 Series
Страница 1: ...P3N1 E202 01ENZ0 XG2000 series User s Guide ...
Страница 57: ...XG2000 series User s Guide 57 315 All Rights Reserved Copyright C PFU LIMITED 2009 Chapter 5 Command Reference ...
Страница 279: ...XG2000 series User s Guide 279 315 All Rights Reserved Copyright C PFU LIMITED 2009 APPENDICES ...