spanning-tree vlan port-priority

Syntax

spanning-tree vlanport-priority没有扩充树vlanport-priority

Description

Configures port priority. A port with the lowest priority number has the highest priority for use in forwarding traffic.

The没有form of this command, sets the port priority to the default of 8.

Command context

config-if

Parameters

指定的数量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).

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 to15. Default: 8.

Authority

Administrators or local user group members with execution rights for this command.

Examples

Setting port priority:

switch(config-if)#spanning-tree vlan 5 port-priority 10

Setting port priority to the default of 8:

switch(config-if)#没有扩充树vlan5 port-priority