spanning-tree vlan port-priority
Syntax
spanning-tree vlan <VLAN-LIST> port-priority <PRIORITY>
no spanning-tree vlan <VLAN-LIST> port-priority
Description
Configures port priority. A port with the lowest priority number has the highest priority for use in forwarding traffic.
The
no
form of this command, sets the port priority to the default of 8.
Command context
config-if
Parameters
<VLAN-LIST>
Specifies the number of a single VLAN, or a series of numbers for a range of VLANs, separated by commas (1, 2, 3, 4), dashes (1-4), or both (1-4,6).
<PRIORITY>
Specifies the port priority. The value, configured as a multiple of 16, helps in determining the designated port. The lower a priority value, the higher the priority. Range: 1-15. Default: 8.
Authority
Administrators
Examples
Setting port priority:
switch# config switch(config)# interface 1/1/1 switch(config-if)# spanning-tree vlan 5 port-priority 10
Setting port priority to the default of 8:
switch# config switch(config)# interface 1/1/1 switch(config-if)# no spanning-tree vlan 5 port-priority