HP AP775A Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2(1) (OL-1 - Page 234
spanning-tree port-priority
UPC - 884962062708
View all HP AP775A manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 234 highlights
spanning-tree port-priority Chapter 2 Ethernet Commands Send comments to [email protected] spanning-tree port-priority To set an interface priority when two bridges compete for position as the root bridge, use the spanning-tree port-priority command. The priority you set breaks the tie. To return to the default settings, use the no form of this command. spanning-tree [vlan vlan-id] port-priority value no spanning-tree [vlan vlan-id] port-priority Syntax Description vlan vlan-id value (Optional) Specifies the VLAN identification number; the range of valid values is from 0 to 4094. Port priority; valid values are from 1 to 224 in increments of 32. Command Default Port priority default value is 128. Command Modes Interface configuration mode Command History Release 4.0(0)N1(1a) Modification This command was introduced. Usage Guidelines Do not use the vlan vlan-id parameter on access ports. The software uses the port priority value for access ports and the VLAN port priority values for trunk ports. The priority values are 0, 32, 64, 96, 128, 160, 192, and 224. All other values are rejected. Note Use this command to configure the port priority for Rapid PVST+ spanning tree mode, which is the default STP mode. To configure the port priority for MST spanning tree mode, use the spacing-tree mst port-priority command. Examples This example shows how to increase the probability that the spanning tree instance on access port interface 2/0 is chosen as the root bridge by changing the port priority to 32: switch(config-if)# spanning-tree port-priority 32 Related Commands Command show spanning-tree spanning-tree interface priority Description Displays information about the spanning tree state. Displays information on the spanning tree port priority for the interface. 2-86 Cisco Nexus 5000 Series Command Reference OL-16599-01