O'Reilly logo

Cisco® Field Manual: Catalyst® Switch Configuration by Steve McQuerry, Dave Hucaby

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

7-2. STP Configuration

1.
(Optional) Enable or disable STP:
COS
											set spantree [enable | disable] [vlan]
IOS
(global) [no] spanning-tree [vlan
											vlan]
STP is enabled by default on VLAN 1 and any newly created VLANs. Without a specified VLAN, STP is enabled or disabled on all VLANs. Be aware that if STP is disabled, bridging loops are not detected and prevented. You should always enable STP.
2.
(Optional) Set the STP mode for the switch (Catalyst 4000 and 6000 only):
COS
											set spantree mode {mistp | pvst+ | mistp-pvst+ | mst}
IOSN/A
By default, all Catalyst switches run PVST+ STP for one instance of STP on each VLAN. To configure other STP modes, use the keywords mistp (MISTP), mistp-pvst+ (MISTP-PVST+ interoperability), or mst (MST).
3.
(MST ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required