EasyManua.ls Logo

Cisco 2950G 24 - Catalyst Switch - Page 285

Cisco 2950G 24 - Catalyst Switch
648 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
11-17
Catalyst 2950 Desktop Switch Software Configuration Guide
78-14982-01
Chapter 11 Configuring STP
Configuring Spanning-Tree Features
Note The show spanning-tree interface interface-id privileged EXEC command displays information only
for ports that are in a link-up operative state. Otherwise, you can use the show running-config privileged
EXEC command to confirm the configuration.
To return the interface to its default setting, use the no spanning-tree [vlan vlan-id] cost interface
configuration command. For information on how to configure load sharing on trunk ports by using
spanning-tree path costs, see the Load Sharing Using STP section on page 14-21.
Step 3
spanning-tree cost cost Configure the cost for an interface that is an access port.
If a loop occurs, spanning tree uses the path cost when selecting
an interface to place into the forwarding state. A lower path cost
represents higher-speed transmission.
For cost, the range is 1 to 200000000; the default value is derived
from the media speed of the interface.
Step 4
spanning-tree vlan vlan-id cost cost Configure the VLAN cost for an interface that is a trunk port.
If a loop occurs, spanning tree uses the path cost when selecting
an interface to place into the forwarding state. A lower path cost
represents higher-speed transmission.
For vlan-id, the range is 1 to 4094 when the EI is installed and
1 to 1005 when the SI is installed. Do not enter leading zeros.
For cost, the range is 1 to 200000000; the default value is
derived from the media speed of the interface.
Step 5
end Return to privileged EXEC mode.
Step 6
show spanning-tree interface interface-id
or
show spanning-tree vlan vlan-id
Verify your entries.
Step 7
copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Purpose

Table of Contents

Related product manuals