User's Manual

6-10
Cisco 3200 Series Wireless MIC Software Configuration Guide
OL-7734-02
Chapter 6 Configuring Spanning Tree Protocol
Configuring STP Features
STP Configuration Examples
These configuration examples show how to enable STP on root and non-root bridges with and without
VLANs:
Root Bridge Without VLANs, page 6-10
Non-Root Bridge Without VLANs, page 6-11
Root Bridge with VLANs, page 6-12
Non-Root Bridge with VLANs, page 6-13
Root Bridge Without VLANs
This example shows the configuration of a root bridge with no VLANs configured and with STP enabled:
hostname master-bridge-south
ip subnet-zero
!
bridge irb
!
interface Dot11Radio0
no ip address
no ip route-cache
!
ssid tsunami
authentication open
guest-mode
!
speed basic-6.0 9.0 12.0 18.0 24.0 36.0 48.0 54.0
rts threshold 2312
station-role root
no cdp enable
infrastructure-client
bridge-group 1
!
Step 3
bridge-group number Assign the interface to a bridge group. You can number your
bridge groups from 1 to 255.
Step 4
no bridge-group number spanning-disabled Counteract the command that automatically disables STP for a
bridge group. STP is enabled on the interface when you enter
the bridge n protocol ieee command.
Step 5
exit Return to global configuration mode.
Step 6
bridge number protocol ieee Enable STP for the bridge group. You must enable STP on each
bridge group that you create with bridge-group commands.
Step 7
bridge number priority priority (Optional) Assign a priority to a bridge group. The lower the
priority, the more likely it is that the bridge becomes the
spanning-tree root.
Step 8
end Return to privileged EXEC mode.
Step 9
show spanning-tree bridge Verify your entries.
Step 10
copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Purpose