hit counter script

Configuring The Rapid Pvst+ Bridge Priority Of A Vlan - Cisco AJ732A - MDS 9134 Fabric Switch Configuration Manual

Cisco nexus 5000 series switch cli software configuration guide, nx-os 4.0(1a)n1 (ol-16597-01, january 2009)
Hide thumbs Also See for AJ732A - Cisco MDS 9134 Fabric Switch:
Table of Contents

Advertisement

Configuring Rapid PVST+
S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m
Command
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 port cost of Ethernet access port 1/4 to 1000:
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.
Note
Be careful when using this configuration. For most situations, we recommend that you configure the
primary root and secondary root to modify the bridge priority.
To choose the bridge priority for a specific VLAN, perform this task:
Command
Step 1
switch# configure terminal
Step 2
switch(config)# spanning-tree vlan
vlan-range priority value
This example shows how to configure the priority of VLAN 5 on Gigabit Ethernet port 1/4 to 8192:
switch# configure terminal
switch(config)# spanning-tree vlan 5 priority 8192
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
8-22
Chapter 8
Purpose
Specifies the interface to configure, and enters the
interface configuration mode.
Configures the port cost for the LAN interface. The
cost value, depending on the pathcost calculation
method, can be as follows:
short—1 to 65535
long—1 to 200000000
Note
You configure this parameter per port on
access ports and per VLAN on trunk ports.
The default is auto, which sets the port cost on both the
pathcost calculation method and the media speed.
Purpose
Enters configuration mode.
Configures the bridge priority of a VLAN. Valid values
are 0, 4096, 8192, 12288, 16384, 20480, 24576,
28672, 32768, 36864, 40960, 45056, 49152, 53248,
57344, and 61440. All other values are rejected. The
default value is 32768.
Configuring Rapid PVST+
OL-16597-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents