< Home

display snmp-agent trap feature-name ospf all

Function

The display snmp-agent trap feature-name ospf all command displays all trap messages of the OSPF module.

Format

display snmp-agent trap feature-name ospf all

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

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.

Example

# 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
Table 1 Description of the display snmp-agent trap feature-name ospf all command output

Item

Description

Feature name

Name of the feature

Trap number

Number of traps

Trap name

Name of the trap:
  • ospfIfStateChange: It is sent when the interface status changes.
  • ospfVirtIfStateChange: It is sent when the status of the interface on the virtual link changes.
  • ospfNbrStateChange: It is sent when the neighbor status changes.
  • ospfVirtNbrStateChange: It is sent when the status of the neighbor on the virtual link changes.
  • ospfIfAuthFailure: It is sent when interface authentication fails.
  • ospfVirtIfAuthFailure: It is sent when the authentication of the interface on the virtual link fails.
  • ospfIfRxBadPacket: It is sent when a bad packet is received on the interface.
  • ospfVirtIfRxBadPacket: It is sent when a bad packet is received on the interface on the virtual link.
  • ospfLsdbOverflow: It is sent when the LSDB overflows.
  • ospfLsdbApproachingOverflow: It is sent when the LSDB is about to overflow.
  • ospfRestartStatusChange: It is sent when the GR Restarter status changes.
  • ospfNbrRestartHelperStatusChange: It is sent when the GR Helper status changes.
  • ospfVirtNbrRestartHelperStatusChange: It is sent when the GR Helper status of the neighbor on the virtual link changes.
  • ospfNssaTranslatorStatusChange: It is sent when the status of the NSSA device that translates Type 7 LSAs into Type 5 LSAs changes.
  • ospfIfConfigError: It is sent when the interface configuration is incorrect.
  • ospfVirtIfConfigError: It is sent when the configuration of the interface on the virtual link is incorrect.
  • ospfTxRetransmit: It is sent when packets are retransmitted.
  • ospfVirtIfTxRetransmit: It is sent when packets are retransmitted on the interface on the virtual link.
  • ospfOriginateLsa: It is sent when local LSAs are generated.
  • ospfMaxAgeLsa: It is sent when Max Age LSAs are generated.
  • hwOspfv2IntraAreaDRIpAddressConflict: It is sent when ip addresses of DRs in an intra area conflict.
  • hwOspfv2IntraAreaRouteridConflict: It is sent when router ID conflict was detected in an intra area.
  • hwOspfv2IntraAreaRouterIdConflictRecovered: The OSPF router ID conflict is resolved.
  • hwOspfv2PeerFlappingSuppressStatusChange: The status of OSPF neighbor relationship flapping suppression changed.

Default switch status

Status of the default trap switch:
  • on: indicates that the trap function is enabled.
  • off: indicates that the trap function is disabled.

Current switch status

Status of the current trap switch:
  • on: indicates that the trap function is enabled.
  • off: indicates that the trap function is disabled.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >