The display snmp-agent trap feature-name igmp all command displays whether the trap function is enabled for the IGMP module.
display snmp-agent trap feature-name igmp all
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.
You can run the display snmp-agent trap feature-name igmp all command to view the status of all IGMP traps when you want to monitor the current status of IGMP protocol events but are not sure whether the IGMP trap function is enabled. You can use the snmp-agent trap enable feature-name igmp command to enable the trap function of IGMP.
# Display whether the trap function is enabled for the IGMP module.
<HUAWEI> display snmp-agent trap feature-name igmp all
------------------------------------------------------------------------------
Feature name: IGMP
Trap number : 18
------------------------------------------------------------------------------
Trap name Default switch status Current switch status
IFLIMIT off on
IFLIMITCLR off on
INSLIMIT off on
GLBLIMIT off on
HWMGMDGMPGLOBALLIMITCLEAR off on
HWMGMDGMPTOTALLIMITCLEAR off on
JOINGRP off on
LEAVEGRP off on
hwMgmdTotalLimitThresholdExceed
off on
hwMgmdTotalLimitThresholdExceedClear
off on
hwMgmdHostStarGThresholdExceed off on
hwMgmdHostStarGThresholdExceedClear
off on
hwMgmdHostStarGExceed off on
hwMgmdHostStarGExceedClear off on
hwMgmdHostSGThresholdExceed off on
hwMgmdHostSGThresholdExceedClear
off on
hwMgmdHostSGExceed off on
hwMgmdHostSGExceedClear off on
Item |
Description |
---|---|
Feature name |
Name of the module. |
Trap number |
Number of trap event types. |
Trap name |
Trap event type. The following types of trap events are
defined:
|
Default switch status |
Default status of a trap function:
|
Current switch status |
Current status of a trap function:
|