Configuring The Pvst+ Port Cost - Cisco WS-X6066-SLB-APC - Content Switching Module Software Manual

Catalyst 6000 series software configuration guide
Hide thumbs Also See for WS-X6066-SLB-APC - Content Switching Module:
Table of Contents

Advertisement

Chapter 8
Configuring Spanning Tree
Designated Root
Designated Root Priority
Designated Root Cost
Designated Root Port
Root Max Age
Bridge ID MAC ADDR
Bridge ID Priority
Bridge Max Age 20 sec
Port
------------------------ ---- ------------- --------- ---- -------- ----------
1/1
1/2
2/1
2/2

Configuring the PVST+ Port Cost

You can configure the port cost of switch ports. The ports with lower port costs are more likely to be
chosen to forward frames. Assign lower numbers to ports that are attached to faster media (such as full
duplex) and higher numbers to ports that are attached to slower media. The possible cost is from 1 to
65535 when using the short method for calculating port cost and from 1 to 200000000 when using the
long method. The default cost differs for different media. For information about calculating port cost,
see the
To configure the PVST+ port cost for a port, perform this task in privileged mode:
Task
Step 1
Configure the PVST+ port cost for a switch
port.
Step 2
Verify the port cost setting.
When you enter the set channel cost command, it does not appear in the configuration file.
Note
The command causes a "set spantree portcost" entry to be created for each port in the
channel. See the
"Configuring EtherChannel,"
This example shows how to configure the PVST+ port cost on a port and verify the configuration:
Console> (enable) set spantree portcost 2/3 12
Spantree port 2/3 path cost set to 12.
Console> (enable) show spantree 2/3
VLAN 1
.
.
.
Port
------------------------ ---- ------------- --------- ---- -------- ----------
1/1
1/2
2/1
2/2
2/3
78-13315-02
00-60-70-4c-70-00
16384
19
2/3
14 sec
Hello Time 2 sec
00-d0-00-4c-18-00
32769 (bridge priority: 32768, sys ID ext: 1)
Hello Time 2 sec
Vlan Port-State
1
1
1
1
"Calculating and Assigning Port Costs" section on page
"Setting the EtherChannel Port Path Cost"
for information on using the set channel cost command.
Vlan Port-State
1
1
1
1
1
Catalyst 6000 Family Software Configuration Guide—Releases 6.3 and 6.4
Forward Delay 10 sec
Forward Delay 15 sec
Cost
not-connected
4
not-connected
4
not-connected
100
not-connected
100
Command
set spantree portcost {mod/port} cost
show spantree mod/port
section in
Cost
not-connected
4
not-connected
4
not-connected
100
not-connected
100
forwarding
12
Prio Portfast Channel_id
32 disabled 0
32 disabled 0
32 disabled 0
32 disabled 0
8-4.
Chapter 6,
Prio Portfast Channel_id
32 disabled 0
32 disabled 0
32 disabled 0
32 disabled 0
32 disabled 0
Using PVST+
8-17

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the WS-X6066-SLB-APC - Content Switching Module and is the answer not in the manual?

Questions and answers

Table of Contents