Configuring The Rapid Pvst+ Bridge Priority Of A Vlan - Cisco nexus 5000 series Configuration Manual

Nx-os layer 2
Hide thumbs Also See for nexus 5000 series:
Table of Contents

Advertisement

Configuring the Rapid PVST+ Bridge Priority of a VLAN

Command or Action
Step 3
switch(config)# interface type slot/port
Step 4
switch(config-if)# spanning-tree [vlan
vlan-id] cost [value | auto]
This example shows how to configure the access port cost of an Ethernet interface:
switch# configure terminal
switch (config)# spanning-tree pathcost method long
switch (config)# interface ethernet 1/4
switch(config-if)# spanning-tree cost 1000
You can only apply this command to a physical Ethernet interface.
Configuring the Rapid PVST+ Bridge Priority of a VLAN
You can configure the Rapid PVST+ bridge priority of a VLAN.
Be careful when using this configuration. For most situations, we recommend that you configure the
Note
primary root and secondary root to modify the bridge priority.
SUMMARY STEPS
1. switch# configure terminal
2. switch(config)# spanning-tree vlan vlan-range priority value
DETAILED STEPS
Command or Action
Step 1
switch# configure terminal
Step 2
switch(config)# spanning-tree vlan
vlan-range priority value
Cisco Nexus 5000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.1(3)N1(1)
182
Purpose
Specifies the interface to configure, and enters interface configuration
mode.
Configures the port cost for the LAN interface. The cost value, depending
on the path-cost calculation method, can be as follows:
• short—1 to 65535
• long—1 to 200000000
You configure this parameter per interface on access ports and
Note
per VLAN on trunk ports.
The default is auto , which sets the port cost on both the path-cost
calculation method and the media speed.
Purpose
Enters global configuration mode.
Configures the bridge priority of a VLAN. Valid values are 0, 4096,
8192, 12288, 16384, 20480, 24576, 28672, 32768, 36864, 40960, 45056,
Configuring Rapid PVST+
OL-25842-01

Advertisement

Table of Contents
loading

Table of Contents