Consolidated Platform Configuration Guide, Cisco Ios Release 15.2(4)E (Catalyst 2960-X Switches - Cisco Catalyst 2960 series Configuration Manual

Consolidated platform configuration guide, ios release 15.2(4)e
Hide thumbs Also See for Catalyst 2960 series:
Table of Contents

Advertisement

How to Configure Spanning-Tree Features
DETAILED STEPS
Command or Action
Step 1
enable
Example:
Switch> enable
Step 2
configure terminal
Example:
Switch# configure terminal
Step 3
spanning-tree vlan vlan-id root primary
[diameter net-diameter
Example:
Switch(config)# spanning-tree vlan 20-24
root primary diameter 4
Step 4
end
Example:
Switch(config)# end
What to Do Next
After configuring the switch as the root switch, we recommend that you avoid manually configuring the hello
time, forward-delay time, and maximum-age time through the spanning-tree vlan vlan-id hello-time,
spanning-tree vlan vlan-id forward-time, and the spanning-tree vlan vlan-id max-age global configuration
commands.
Related Topics
Bridge ID, Device Priority, and Extended System ID, on page 214
Spanning-Tree Topology and BPDUs, on page 213
Accelerated Aging to Retain Connectivity, on page 220
Restrictions for STP, on page 211

Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)

228
Purpose
Enables privileged EXEC mode. Enter your password if prompted.
Enters the global configuration mode.
Configures a switch to become the root for the specified VLAN.
• For vlan-id, you can specify a single VLAN identified by VLAN
ID number, a range of VLANs separated by a hyphen, or a series
of VLANs separated by a comma. The range is 1 to 4094.
• (Optional) For diameter net-diameter, specify the maximum
number of switches between any two end stations. The range
is 2 to 7.
Returns to privileged EXEC mode.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents