Viewing BPDU filtering

Syntax:

show spanning-tree [ethernet] <port-list> configuration

Displays the BPDU's filter state.

Displaying BPDU filtering for specific ports within the config file

This example shows how BPDU filter state is displayed for ports 23 and 24 within the configuration file.

switch#: show spanning-tree 23,24 config
Spanning Tree Information
STP Enabled [No] : Yes
Mode : RPVST
Switch MAC Address : 0024a8-d60b80
RPVST Enabled VLANs : 10,20
      Admin Auto Admin Root Loop TCN BPDU BPDU
Port  Edge  Edge PtP   Grd  Grd  Grd Flt  Guard
----- ----- ---- ----- ---- ---- --- ---- -----
23    No    Yes  True  No   No   No  Yes  No
24    No    Yes  True  No   No   No  Yes  No

Displaying BPDU filtering as separate entries of the spanning tree category within the running config file

This example shows how BPDU filters per port are displayed as separate entries of the spanning tree category within the configuration file.

switch(config)#: show running-config
Running configuration:

spanning-tree
spanning-tree 23 bpdu-filter
spanning-tree 24 bpdu-filter
spanning-tree mode rapid-pvst