White Papers

Table Of Contents
SNMP Traps for Root Elections and Topology
Changes
To enable SNMP traps, use the following commands.
Enable SNMP traps for STP state changes.
snmp-server enable traps stp
Enable SNMP traps for RSTP, MSTP, and PVST+ collectively.
snmp-server enable traps xstp
Displaying STP Guard Configuration
To display the STP guard configuration, use the following command.
The following example shows an STP network (instance 0) in which:
Root guard is enabled on a port that is in a root-inconsistent state.
Loop guard is enabled on a port that is in a listening state.
BPDU guard is enabled on a port that is shut down (Error Disabled state) after receiving a BPDU.
Verify the STP guard configured on port or port-channel interfaces.
show spanning-tree 0 guard [interface interface]
Dell#show spanning-tree 0 guard
Interface
Name Instance Sts Guard type Bpdu Filter
--------- -------- --------- ---------- ----------
Tengig 0/1 0 INCON(Root) Rootguard No
Tengig 0/2 0 LIS Loopguard No
Tengig 0/3 0 EDS (Shut) Bpduguard No
Dell#
Spanning Tree Protocol (STP)
779