The display snmp-agent trap feature-name ospf all command displays all trap messages of the OSPF module.
The Simple Network Management Protocol (SNMP) is a standard network management protocol widely used on TCP/IP networks. It uses a central computer (a network management station) that runs network management software to manage network elements. The management agent on the network element automatically reports traps to the network management station. After that, the network administrator immediately takes measures to resolve the problem.
The display snmp-agent trap feature-name ospf all command displays whether all trap functions of the OSPF module are enabled.
# Display all trap messages of the OSPF module.
<HUAWEI> display snmp-agent trap feature-name ospf all
------------------------------------------------------------------------------ Feature name: OSPF Trap number : 24 ------------------------------------------------------------------------------ Trap name Default switch status Current switch status ospfIfStateChange off off ospfVirtIfStateChange off off ospfNbrStateChange off off ospfVirtNbrStateChange off off ospfIfAuthFailure off off ospfVirtIfAuthFailure off off ospfIfRxBadPacket off off ospfVirtIfRxBadPacket off off ospfLsdbOverflow off off ospfLsdbApproachingOverflow off off ospfRestartStatusChange off off ospfNbrRestartHelperStatusChange off off ospfVirtNbrRestartHelperStatusChange off off ospfNssaTranslatorStatusChange off off ospfIfConfigError off off ospfVirtIfConfigError off off ospfTxRetransmit off off ospfVirtIfTxRetransmit off off ospfOriginateLsa off off ospfMaxAgeLsa off off hwOspfv2IntraAreaRouteridConflict on on hwOspfv2IntraAreaDRIpAddressConflict on on hwOspfv2IntraAreaRouterIdConflictRecovered on on hwOspfv2PeerFlappingSuppressStatusChange off off
Item |
Description |
---|---|
Feature name |
Name of the feature |
Trap number |
Number of traps |
Trap name |
Name of the trap:
|
Default switch status |
Status of the default trap switch:
|
Current switch status |
Status of the current trap switch:
|