Configuring Stp On An Ios Command−Based Switch; Disabling Stp On An Ios Command−Based Switch - Cisco RJ-45-to-AUX Brochure

Cisco switch brochure
Table of Contents

Advertisement

Bridge Max Age 20 Sec
Port vlan Port−State Cost Priority Fast−start Group−Method
———— ———— —————————— ———— ———————— —————————— ————————————
5/1
2
forwarding 19
5/2
2
forwarding 19
5/3
2
blocking
5/4
2
blocking
The listing at the bottom of the output shows the ports in use in the spanning tree. It states the port, port−state,
and priority, as well as whether Fast−Start (PortFast) is enabled.
Table 10.6: The show spantree command output fields.
Field
Spanning tree enabled
Spanning tree type
Designated Root
Designated Root Priority
Designated Root Cost
Designated Root Port
Root timers
Bridge ID MAC ADDR
Bridge ID Priority
Bridge Max Age
Configuring STP on an IOS Command−Based Switch
Unlike the Set/Clear command−based switch, enabling the Spanning Tree Protocol on a Cisco IOS
command−based switch is performed in Global Configuration mode. To enable STP, enter the following
command:
spantree <VLAN list>
In the following example, 5 is the VLAN number and is considered a VLAN−list field; you can include up to
10 VLANs in the list:
spantree 5
Disabling STP on an IOS Command−Based Switch
To disable STP on a VLAN, in Global Configuration mode use this command:
no spantree <VLAN list>
In this example, 5 is the VLAN number and is considered a VLAN−list field:
no spantree 5
Hello Time 2 sec
32
disabled
32
disabled
19
32
disabled
19
32
disabled
Description
Shows that STP is in use
Typically the IEEE standard
The 6−byte MAC address for the designated root bridge
The 2−byte priority setting for the root bridge
Total cost to get to the root bridge from this switch (0 indicates the root
switch)
The port used to get to the root bridge
Timer values of the root bridge or switch; these include the MaxAge,
Hello Time, and Forward Delay timer values
The 6−byte address that the switch uses for its bridge ID
The 2−byte priority of this bridge
The maximum values from the root bridge
Forward Delay 15 sec
214

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents