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
8-22
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 8 Configuring Rapid PVST+
Configuring Rapid PVST+
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:
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
Step 3
switch(config)#
interface
type
slot
/
port
Specifies the interface to configure, and enters the
interface configuration mode.
Step 4
switch(config-if)#
spanning-tree
[
vlan
vlan-id
]
cost
[
value
|
auto
]
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.
Command
Purpose
Command
Purpose
Step 1
switch#
configure terminal
Enters configuration mode.
Step 2
switch(config)#
spanning-tree vlan
vlan-range
priority
value
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.
Содержание N5010P-N2K-BE
Страница 50: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Страница 101: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m P A R T 2 LAN Switching ...
Страница 102: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Страница 239: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m P A R T 3 Switch Security Features ...
Страница 240: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Страница 311: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m P A R T 4 System Management ...
Страница 312: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Страница 399: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m P A R T 5 Fibre Channel over Ethernet ...
Страница 400: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Страница 417: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m P A R T 6 Quality of Service ...
Страница 418: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Страница 435: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m P A R T 7 SAN Switching ...
Страница 436: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Страница 657: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m P A R T 8 Troubleshooting ...
Страница 658: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...