snmp trap enable stp

Syntax

snmp-agent trap enable stp [ tc ]

undo snmp-agent trap enable stp [ tc ]

View

System view

Default level

3: Manage level

Parameters

tc: Specifies SNMP notifications for PVST topology changes.

Description


[IMPORTANT: ]

IMPORTANT:

This command is available on the HPE 3100 v2 EI switches.


Use snmp-agent trap enable stp to enable SNMP notifications for PVST topology changes.

Use undo snmp-agent trap enable stp to disable SNMP notifications for PVST topology changes.

By default, SNMP notifications are disabled for PVST topology changes in all VLANs.

This command configures SNMP notifications only for PVST topology changes whether you specify the tc keyword or not.

Examples

# Enable SNMP notifications for PVST topology changes.

<Sysname> system-view
[Sysname] snmp-agent trap enable stp tc