show spantree lptrapenable
8-50 Spanning Tree Configuration
Defaults
None.
Mode
Switchcommand,read‐write.
Usage
LoopProtecttrapsaresentwhenaLoopProtecteventoccurs,thatis,whenaportgoestolistening
duetonotreceivingBPDUs.Thetrapindicatesport,SIDandloopprotectionstatus.
Example
ThisexampleshowshowtoenablesendingofLoopProtecttraps:
D2(rw)->set spantree lptrapenable enable
show spantree lptrapenable
UsethiscommandtodisplaythecurrentstatusofLoopProtecteventnotification.
Syntax
show spantree lptrapenable
Parameters
None.
Defaults
None.
Mode
Switchcommand,read‐only.
Example
ThisexampleshowshowtodisplaythecurrentLoopProtecteventnotificationstatus:
D2(rw)->show spantree lptrapenable
The Loop Protect event notification status is enable
clear spantree lptrapenable
UsethiscommandtoreturntheLoopProtecteventnotificationstatetoitsdefaultstateof
disabled.
Syntax
clear spantree lptrapenable
Parameters
None.