8-38
Catalyst 6000 Family Software Configuration Guide—Releases 6.3 and 6.4
78-13315-02
Chapter 8 Configuring Spanning Tree
Configuring BPDU Skewing
Configuring BPDU Skewing
Commands that support the spanning tree BPDU skewing feature perform these functions:
•
Allow you to enable or disable BPDU skewing. The default is disabled.
•
Modify the
show spantree summary
output to show if the skew detection is enabled and for which
VLANs or PVST+ or MISTP instances the skew was detected.
•
Provide a display of the VLAN or PVST+ or MISTP instance and the port affected by the skew
including this information:
–
The last skew duration (in absolute time)
–
The worst skew duration (in absolute time)
–
The date and time of the worst duration
To change how spanning tree performs BPDU skewing statistics gathering, enter the
set spantree
bpdu-skewing
command. The
bpdu-skewing
command is disabled by default.
To configure the BPDU skewing statistics gathering for a VLAN, perform this task in privileged mode:
This example shows how to configure BPDU skewing and view 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)
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
]