![background image](http://html.mh-extra.com/html/cisco/air-wlc2006-k9-wireless-lan-controller-2006/air-wlc2006-k9-wireless-lan-controller-2006_configuration-manual_64446082.webp)
3-26
Cisco Wireless LAN Controller Configuration Guide
OL-8335-02
Chapter 3 Configuring Ports and Interfaces
Configuring Ports
Step 9
Click
Save Configuration
to save your changes.
Using the CLI to Configure Spanning Tree Protocol
Follow these steps to configure STP using the CLI.
Step 1
Enter
show spanningtree port
and
show spanningtree switch
to view the current STP status.
Step 2
If STP is enabled, you must disable it before you can change STP settings. Enter
config spanningtree
switch mode disable
to disable STP on all ports.
Step 3
Enter one of these commands to configure the STP port administrative mode:
•
config spanningtree port mode 802.1d
{
port-number
|
all
}
•
config spanningtree port mode fast
{
port-number
|
all
}
•
config spanningtree port mode off
{
port-number
|
all
}
Step 4
Enter one of these commands to configure the STP port path cost on the STP ports:
•
config spanningtree port pathcost
1-65535
{
port-number
|
all
}—Specifies a path cost from 1 to
65535 to the port.
•
config spanningtree port mode pathcost auto
{
port-number
|
all
}—Enables the STP algorithm to
automatically assign the path cost. This is the default setting.
Step 5
Enter
config spanningtree port priority
0-255
port-number
to configure the port priority on STP ports.
The default priority is 128.
Step 6
If necessary, enter
config spanningtree switch bridgepriority
0-65535
to configure the controller’s
STP bridge priority. The default bridge priority is 32768.
Step 7
If necessary, enter
config spanningtree switch forwarddelay
4-30
to configure the controller’s STP
forward delay in seconds. The default forward delay is 15 seconds.
Step 8
If necessary, enter
config spanningtree switch hellotime
1-10
to configure the controller’s STP hello
time in seconds. The default hello time is 2 seconds.
Step 9
If necessary, enter
config spanningtree switch maxage
6-40
to configure the controller’s STP maximum
age. The default maximum age is 20 seconds.
Hello Time (seconds)
The length of time that the controller broadcasts hello messages to
other controllers.
Options:
1 to 10 seconds
Default:
2 seconds
Forward Delay (seconds)
The length of time that each of the listening and learning states lasts
before the port begins forwarding.
Options:
4 to 30 seconds
Default:
15 seconds
Table 3-7
Controller Spanning Tree Parameters (continued)
Parameter
Description