debug 802.1w messages

Displays BPDU information on a VLAN.
Syntax
debug 802.1w messages vlan decimal
no debug 802.1w messages vlan decimal
Parameters
decimal
Refers to the number of the VLAN.
Modes

Privileged EXEC mode

Examples

If the 802.1w messages are enabled, output similar to the following is displayed.

device# debug 802.1w messages vlan 2
RSTP Enabling packets Debugging for VLAN 2
device# RSTP: Rcvd RST Config BPDU: Port 1/1/1(0) VLAN 2
0000 02 02 7e 80000012f2dbfd80 00000000
80000012f2dbfd80 08 01 0000 0000 0000 0000
RSTP: Rcvd RST Config BPDU: Port 1/1/2(1) VLAN 2
0000 02 02 7e 80000012f2dbfd80 00000000
80000012f2dbfd80 08 02 0000 0000 0000 0000
RSTP[db06d]: Tx RST Config BPDU Port 1/1/9(8) VLAN 2
0000 02 02 7e 80000012f2dbfd80 00004e20
8000002438154580 08 09 0100 1400 0200 0f00
RSTP: Rcvd RST Config BPDU: Port 1/1/1(0) VLAN 2
0000 02 02 7e 80000012f2dbfd80 00000000
80000012f2dbfd80 08 01 0000 0000 0000 0000
RSTP: Rcvd RST Config BPDU: Port 1/1/2(1) VLAN 2
0000 02 02 7e 80000012f2dbfd80 00000000
80000012f2dbfd80 08 02 0000 0000 0000 0000
RSTP[db081]: Tx RST Config BPDU Port 1/1/9(8) VLAN 2
0000 02 02 7e 80000012f2dbfd80 00004e20
8000002438154580 08 09 0100 1400 0200 0f00
RSTP: Rcvd RST Config BPDU: Port 1/1/1(0) VLAN 2
0000 02 02 7e 80000012f2dbfd80 00000000
80000012f2dbfd80 08 01 0000 0000 0000 0000
RSTP: Rcvd RST Config BPDU: Port 1/1/2(1) VLAN 2
0000 02 02 7e 80000012f2dbfd80 00000000
80000012f2dbfd80 08 02 0000 0000 0000 0000
RSTP[db095]: Tx RST Config BPDU Port 1/1/9(8) VLAN 2
0000 02 02 7e 80000012f2dbfd80 00004e20
8000002438154580 08 09 0100 1400 0200 0f00
device# RSTP: Rcvd RST Config BPDU: Port 1/1/1(0) VLAN 2
0000 02 02 7e 80000012f2dbfd80 00000000
80000012f2dbfd80 08 01 0000 0000 0000 0000
RSTP: Rcvd RST Config BPDU: Port 1/1/2(1) VLAN 2
0000 02 02 7e 80000012f2dbfd80 00000000
80000012f2dbfd80 08 02 0000 0000 0000 0000

If the 802.1w messages are disabled, output similar to the following is displayed.

device# no debug 802.1w messages valn 2
RSTP Disabling Packets Debugging for VLAN 2