The snmp-agent trap enable feature-name mcast command enables the trap function for the MCAST module.
The undo snmp-agent trap enable feature-name mcast command disables the trap function for the MCAST module.
By default, the trap function is enabled for the MCAST module.
snmp-agent trap enable feature-name mcast [ trap-name { hwboardipmcreslack | hwboardipmcreslackresume | hwboardl2mcreslack | hwboardl2mcreslackresume } ]
undo snmp-agent trap enable feature-name mcast [ trap-name { hwboardipmcreslack | hwboardipmcreslackresume | hwboardl2mcreslack | hwboardl2mcreslackresume } ]
Parameter |
Description |
Value |
---|---|---|
trap-name |
Enables or disables the trap function for the specified event. |
- |
hwboardipmcreslack |
Enables the Huawei proprietary trap that will be sent when the IPMC index resources are insufficient. |
- |
hwboardipmcreslackresume |
Enables the Huawei proprietary trap that will be sent when the alarm on IPMC index resource insufficiency is cleared. |
- |
hwboardl2mcreslack |
Enables the Huawei proprietary trap that will be sent when the L2MC index resources are insufficient. |
- |
hwboardl2mcreslackresume |
L2MC the Huawei proprietary trap that will be sent when the alarm on L2MC index resource insufficiency is cleared. |
- |
When the trap function is enabled, the switch generates traps and uses SNMP to send traps to the NMS. When the trap function is not enabled, the switch 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.