The display snmp-agent trap feature-name emdi all command displays whether the switch is enabled to send traps of eMDI module to the NMS.
Usage Scenario
After running the snmp-agent trap enable feature-name emdi command to enable the function of sending traps of eMDI modules to the NMS, you can run the display snmp-agent trap feature-name emdi all command to check whether this function is enabled.
Prerequisites
SNMP has been enabled. For details, see snmp-agent.
# Display whether the switch is enabled to send traps of eMDI module to the NMS.
<HUAWEI> display snmp-agent trap feature-name emdi all
------------------------------------------------------------------------------
Feature name: EMDI
Trap number : 4
------------------------------------------------------------------------------
Trap name Default switch status Current switch status
hwEMDIIndicatorOverThreshold on on
hwEMDIIndicatorOverThresholdResume
on on
hwEMDIReceiveDuplicatePackets on on
hwEMDIReceiveDuplicatePacketsResume
on on
Item |
Description |
---|---|
Feature name |
Name of the feature that generates traps. |
Trap number |
Number of traps generated by IP FPM module. |
Trap name |
Name of the trap. Traps of the IP FPM module include:
|
Default switch status |
Default status of a trap:
|
Current switch status |
Current status of a trap:
This status can be configured using the snmp-agent trap enable feature-name emdi command. |