snmp-agent trap enable feature-name mad command enables the trap function for the MAD module.
undo snmp-agent trap enable feature-name mad command disables the trap function of the MAD module.
By default, the trap function is enabled for the MAD module.
snmp-agent trap enable feature-name mad [ trap-name { hwmadconflictdetect | hwmadconflictresume } ]
undo snmp-agent trap enable feature-name mad [ trap-name { hwmadconflictdetect | hwmadconflictresume } ]
Parameter |
Description |
Value |
---|---|---|
trap-name |
Enables or disables the trap function for a specified event. |
- |
hwmadconflictdetect |
Enables or disables the trap function when a MAD conflict is detected. |
- |
hwmadconflictresume |
Enables or disables the trap function when existing stacks are merged. |
- |
When the trap function is enabled, the device generates traps for failures and sends traps to the NMS through SNMP. When the trap function is disabled, the device does not generate traps for failures, 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.