The display snmp-agent trap all command displays the default and configured status of all traps in all features.
The display snmp-agent trap feature-name all command displays whether the router is enabled to send alarms of specified features to an NM station.
To view the default configuration of the snmp-agent trap enable feature-name command, run the display snmp-agent trap all command.
After the router is enabled to send alarms to the NM station, run the display snmp-agent trap feature-name all command to check whether the alarm function is enabled for special features.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display snmp-agent trap feature-name aaa all
------------------------------------------------------------------------------
Feature name: AAA
Trap number : 1
------------------------------------------------------------------------------
Trap name Default switch status Current switch status
hwAdminLoginFailedClear on on
<HUAWEI> display snmp-agent trap all
------------------------------------------------------------------------------
Feature name: ISISCOMM
Trap number : 17
------------------------------------------------------------------------------
Trap name Default switch status Current switch status
isisAdjacencyChange off off
isisAreaMismatch off off
isisAttemptToExceedMaxSequence on on
isisAuthenticationFailure off off
isisAuthenticationTypeFailure off off
isisCorruptedLSPDetected off off
isisDatabaseOverload off off
isisIDLenMismatch off off
isisLSPTooLargeToPropagate off off
isisManualAddressDrops off off
isisMaxAreaAddressesMismatch off off
isisOrigLSPBuffSizeMismatch off off
isisOwnLSPPurge off off
isisProtocolsSupportedMismatch on on
isisRejectedAdjacency off off
isisSequenceNumberSkip off off
isisVersionSkew off off
------------------------------------------------------------------------------
Item | Description |
---|---|
Feature name | Name of the feature that generates alarms. |
Trap number | Number of alarms generated by this feature. |
Trap name | Name of the alarm. |
Default switch status | Status of the default trap switch:
|
Current switch status | Status of the current trap switch:
|