set spantree lptrapenable

Use this command to enable or disable Loop Protect event notification.

Syntax

set spantree lptrapenable {enable | disable}

Parameters

enable | disable Enables or disables the sending of Loop Protect traps. Default is disabled.

Defaults

None.

Mode

All command modes.

Usage

Loop Protect traps are sent when a Loop Protect event occurs, that is, when a port goes to listening due to not receiving BPDUs. The trap indicates port, SID and loop protection status.

Example

This example shows how to enable sending of Loop Protect traps:

System(rw)->set spantree lptrapenable enable