WDS and STP
4-54 Advanced Configuration
Using the CLI to Configure STP
IfaradiointerfaceissettotheBridgeorRootBridgerole,STPcanbeenabledontheaccesspoint
tomaintainavalidnetworktopology.TogloballyenableSTP,usethebridgestpenablecommand
fromtheCLIconfigurationmode.Then,configuretheotherglobalSTPparametersforthe
bridge.
Thepathcostandpriorityforeachbridgelinkcanbesetusingthebridge‐linkpath‐costand
bridge‐linkport‐prioritycommandfromtheWirelessInterfaceconfigurationmode.Thepath
costandprioritycanalsobesetfortheEthernetportfromtheEthernetInterfaceconfiguration
mode.
Toviewthe currentSTPsettings,usetheshowbridgestpcommand.
Example
RoamAbout 4102#configure
Enter configuration commands, one per line. End with CTRL/Z
RoamAbout 4102(config)#bridge stp enable
RoamAbout 4102(config)#bridge stp forwarding-delay 25
RoamAbout 4102(config)#bridge stp hello 5
RoamAbout 4102(config)#bridge stp max-age 40
RoamAbout 4102(config)#bridge stp pri 40000
RoamAbout 4102(config)#interface wireless a
Enter Wireless configuration commands, one per line.
RoamAbout 4102(if-wireless a)#bridge-link path-cost 2 40
RoamAbout 4102(if-wireless a)#bridge-link port-priority 2 64
RoamAbout 4102(if-wireless a)#exit
RoamAbout 4102#show bridge stp
Bridge MAC : 00:11:88:06:37:35
Status : Enabled
priority : 40000
designated-root : priority = 40000, MAC = 00:11:88:06:37:35
root-path-cost : 0
root-Port-no : 0
Hold Time : 1 Seconds
Hello Time : 5 Seconds
Maximum Age : 40 Seconds
Forward Delay : 25 Seconds
bridge Hello Time : 5 Seconds
bridge Maximum Age : 40 Seconds
bridge Forward Delay : 25 Seconds
time-since-top-change: 1269 Seconds
topology-change-count: 33
RoamAbout 4102#sho bridge link wire a 2
Port-No : 19
status : Enabled
state : Forwarding
priority : 64
path cost : 40
message age Timer : Inactive
message age : 1450
designated-root : priority = 40000, MAC = 00:11:88:06:37:35
designated-cost : 0
designated-bridge : priority = 40000, MAC = 00:11:88:06:37:35
designated-port : priority = 64, port No = 19
forward-transitions : 1
RoamAbout 4102#