7-60
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 7 Configuring Spanning Tree
Configuring BPDU Skewing on the Switch
This example shows how to configure BPDU skewing and display the skewing statistics:
Console> (enable)
set spantree bpdu-skewing
Usage:set spantree bpdu-skewing <enable|disable>
Console> (enable)
set spantree bpdu-skewing enable
Spantree bpdu-skewing enabled on this switch.
Console> (enable)
Console> (enable)
show spantree bpdu-skewing 1
Bpdu skewing statistics for vlan 1
Port Last Skew ms Worst Skew ms Worst Skew Time
------ ------------- ------------- -------------------------
8/2 5869 108370 Tue Nov 21 2000, 06:25:59
8/4 4050 113198 Tue Nov 21 2000, 06:26:04
8/6 113363 113363 Tue Nov 21 2000, 06:26:05
8/8 4111 113441 Tue Nov 21 2000, 06:26:05
8/10 113522 113522 Tue Nov 21 2000, 06:26:05
8/12 4111 113600 Tue Nov 21 2000, 06:26:05
8/14 113678 113678 Tue Nov 21 2000, 06:26:05
8/16 4111 113755 Tue Nov 21 2000, 06:26:05
8/18 113833 113833 Tue Nov 21 2000, 06:26:05
8/20 4111 113913 Tue Nov 21 2000, 06:26:05
8/22 113917 113917 Tue Nov 21 2000, 06:26:05
8/24 4110 113922 Tue Nov 21 2000, 06:26:05
8/26 113926 113926 Tue Nov 21 2000, 06:26:05
8/28 4111 113931 Tue Nov 21 2000, 06:26:05
Console> (enable)
This example shows how to configure BPDU skewing for VLAN 1 on module 8, port 2 and display the
skewing statistics:
Console> (enable)
show spantree bpdu-skewing
1 8/4
Bpdu skewing statistics for vlan 1
Port Last Skew ms Worst Skew ms Worst Skew Time
------ ------------- ------------- -------------------------
8/4 5869 108370 Tue Nov 21 2000, 06:25:59
You will receive a similar output when MISTP is running.
The
show spantree summary
command displays if BPDU skew detection is enabled and also lists the
VLANs or instances that are affected in the skew. This example shows the output when using the
show
spantree summary
command:
Console> (enable)
show spantree summary
Root switch for vlans: 1
BPDU skewing detection enabled for the bridge
BPDU skewed for vlans: 1
Portfast bpdu-guard disabled for bridge.
Portfast bpdu-filter disabled for bridge.
Uplinkfast disabled for bridge.
Backbonefast disabled for bridge.
Summary of connected spanning tree ports by vlan
Task
Command
Step 1
Configure BPDU skewing.
set spantree bpdu-skewing
[
enable
|
disable
]
Step 2
Verify the configuration.
show spantree bpdu-skewing
vlan
[
mod/port
]
show spantree bpdu-skewing
mistp-instance
[
instance
] [
mod/port
]