The snmp-agent trap enable feature-name mrm command enables the trap function for the Multicast Routing Management (MRM) module.
The undo snmp-agent trap enable feature-name mrm command disables the trap function for the MRM module.
By default, the trap function for MRM events is disabled.
snmp-agent trap enable feature-name mrm [ trap-name { hwipmcastsgexceed | hwipmcastsgexceedclear | hwipmcastsgthresholdexceed | hwipmcastsgthresholdexceedclear } ]
undo snmp-agent trap enable feature-name mrm [ hwipmcastsgexceed | hwipmcastsgexceedclear | hwipmcastsgthresholdexceed | hwipmcastsgthresholdexceedclear } ]
Only the S5720-EI, S5720-HI, S5720I-SI, S5720-LI, S5735-L, S5735S-L, S5735S-L-M, S5720S-LI, S5720S-SI, S5720-SI, S5735-S, S5735S-S, S5735-S-I, S5730-HI, S5730S-EI, S5730-SI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720-LI, S6720S-EI, S6720S-LI, S6720S-SI, S6720-SI, S6730-H, S6730S-H, S6730-S, and S6730S-S support this command.
Parameter | Description | Value |
---|---|---|
trap-name | Enables the trap for a specified type of MRM event. | - |
hwipmcastsgexceed | Enables the trap for the event indicating that the number of (S, G) multicast forwarding entries created exceeds the maximum number of (S, G) multicast forwarding entries allowed. | - |
hwipmcastsgexceedclear | Enables the trap for the event indicating that the number of (S, G) multicast forwarding entries created falls below the maximum number of (S, G) multicast forwarding entries allowed. | - |
hwipmcastsgthresholdexceed | Enables the trap for the event indicating that the proportion of (S, G) multicast forwarding entries created to the maximum (S, G) multicast forwarding entries allowed exceeds the upper alarm threshold. | - |
hwipmcastsgthresholdexceedclear | Enables the trap for the event indicating that the proportion of (S, G) multicast forwarding entries created to the maximum (S, G) multicast forwarding entries allowed falls below the lower alarm threshold. | - |
To enable the trap function for a specific type of event, specify trap-name. To enable the trap function for multiple types of events, run this command multiple times.
# Enable the trap for the event indicating that the number of (S, G) multicast forwarding entries created exceeds the maximum number of (S, G) multicast forwarding entries allowed.
<HUAWEI> system-view [HUAWEI] snmp-agent trap enable feature-name mrm trap-name hwipmcastsgexceed
# Disable the trap for the event indicating that the number of (S, G) multicast forwarding entries created exceeds the maximum number of (S, G) multicast forwarding entries allowed.
<HUAWEI> system-view [HUAWEI] undo snmp-agent trap enable feature-name mrm trap-name hwipmcastsgexceed