In our device, some alarm is disabled by default, how to query which alarm is disable or enable on device, how to enable the alarm?
The display snmp-agent trap feature-name all command displays whether the router is enabled to send alarms of specified features to the NM station.
Format
display snmp-agent trap feature-name feature-name all
Example
# Display the status of the ARP alarms.
<HUAWEI> display snmp-agent trap feature-name arp all ------------------------------------------------------------------------------ Feature name: ARP Trap number : 4 ------------------------------------------------------------------------------ Trap name Default switch status Current switch status hwEthernetARPSpeedLimitAlarm on on hwEthernetARPThresholdExceedAlarm on on hwEthernetARPThresholdResumeAlarm on on hwEthernetARPIPConflictEvent on on
The snmp-agent trap enable feature-name command enables a specified trap for a specified feature.
Format
snmp-agent trap enable feature-name feature-name [ trap-name trap-name ]