snmp-agent trap enable feature-name asmngtrap command enables the trap function for the ASMNGTRAP module.
undo snmp-agent trap enable feature-name asmngtrap command disables the trap function for the ASMNGTRAP module.
By default, the trap function is enabled for the ASMNGTRAP module.
This command can only be executed on a parent switch.
snmp-agent trap enable feature-name asmngtrap [ trap-name trap-name ]
undo snmp-agent trap enable feature-name asmngtrap [ trap-name trap-name ]
Parameter |
Description |
Value |
---|---|---|
trap-name |
Enables or disables the trap function for a specified event. |
|
When the trap function is enabled, the device generates traps during running and sends traps to the NMS through SNMP. When the trap function is not enabled, the device does not generate traps and the SNMP module does not send traps to the NMS.
You can specify trap-name to enable the trap function for one or more events.