hit counter script

Configuring Pvst+ Default Port Cost Mode; Configuring Pvst+ Port Vlan Cost - Cisco WS-C4003 - Catalyst 4000 Chassis Switch Software Configuration Manual

Software guide
Table of Contents

Advertisement

Chapter 7
Configuring Spanning Tree
1/1
1/2
2/1
2/2
2/3
2/4

Configuring PVST+ Default Port Cost Mode

If any switch in your network is using a port speed of 10 Gb or over and the network is using PVST+
spanning tree mode, all switches in the network must have the same path cost defaults. You can enter
the set spantree defaultcostmode command to force all VLANs associated with all the ports to have
the same pathcost default set.
There are two default port cost modes available – short and long.
The default port cost mode is set to short in PVST+ mode. For port speeds of 10 Gb and greater, the
default port cost mode must be set to long.
To change the default port cost mode, perform this task in privileged mode:
Task
Set the default port cost mode.
This example shows how to configure the default port cost mode:
Console> (enable) set spantree defaultcostmode long
Portcost and portvlancost set to use long format default values.
Console> (enable)

Configuring PVST+ Port VLAN Cost

You can configure the port cost for a port on a per-VLAN basis. Ports with a lower port VLAN cost are
more likely to be chosen to forward frames. You should assign lower numbers to ports attached to faster
media (such as full duplex) and higher numbers to ports attached to slower media. The default cost
differs for different media.
You can set a cost value from 1 to 65535.
78-12647-02
1
1
1
1
1
1
The short mode has these parameters:
Portcost
Portvlancost
When uplinkfast is enabled, the actual cost is incremented by 3000
The long mode has these parameters:
Portcost
Portvlancost
When uplinkfast is enabled, the actual cost is incremented by 10,000,000
EtherChannel computes the cost of a bundle using the formula,
AVERAGE_COST/NUM_PORT
Software Configuration Guide—Catalyst 4000 Family, Catalyst 2948G, Catalyst 2980G, Releases 6.3 and 6.4
not-connected
4
not-connected
4
not-connected
100
not-connected
100
forwarding
19
not-connected
100
Command
set spantree defaultcostmode {short | long}
Using PVST+
32 disabled 0
32 disabled 0
32 disabled 0
32 disabled 0
16 disabled 0
32 disabled 0
7-17

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 4000 seriesCatalyst 2948gCatalyst 2980g

Table of Contents