< 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.

<sysname> display snmp-agent trap feature-name ospf all
----------------------------------------------------------
Feature name: OSPF
Trap number : 30
----------------------------------------------------------------
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
hwOspfv2DeleteRouteByPurge                  off                     off
hwOspfv2DeleteRouteByPurgeClear             off                     off
hwOspfv2RouteBeDeletedByPurge               off                     off
hwOspfv2RouteBeDeletedByPurgeClear          off                     off
hwOspfv2ThirdPartRouteBeDeletedByPurge      off                     off
hwOspfv2ThirdPartRouteBeDeletedByPurgeClear 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 router 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.
  • hwOspfv2IntraAreaRouterIdConflictRecovered: The OSPF router ID conflict is resolved.
  • hwOspfv2PeerFlappingSuppressStatusChange: The status of OSPF neighbor relationship flapping suppression changed.
  • hwOspfv2DeleteRouteByPurge: The trap is generated when the local device flushes OSPF LSAs advertised by other devices.
  • hwOspfv2DeleteRouteByPurgeClear: The trap is generated if the local device does not flushes OSPF LSAs advertised by other devices.
  • hwOspfv2RouteBeDeletedByPurge: The trap is generated when the OSPF LSAs advertised by the local device are flushed by another device.
  • hwOspfv2RouteBeDeletedByPurgeClear: The trap is generated if the OSPF LSAs advertised by the local device are not flushed by another device.
  • hwOspfv2ThirdPartRouteBeDeletedByPurge: The trap is generated when the OSPF LSAs advertised by a third device are flushed by another device.
  • hwOspfv2ThirdPartRouteBeDeletedByPurgeClear: The trap is generated if the OSPF LSAs advertised by a third device are not flushed by another device.
  • hwOspfv2IntraAreaDRIpAddressConflict: It is sent when Intra-Area DR IP address conflict is generated.
  • hwOspfv2IntraAreaRouteridConflict: It is sent when Intra-Area Router-id conflict is generated.

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.

# Display all the OSPF trap messages in detail.

<sysname> display snmp-agent trap feature-name ospf all verbose
------------------------------------------------------------------------------
Feature name: OSPF
Trap number : 30
------------------------------------------------------------------------------

Trap name                : ospfIfStateChange
Default switch status    : off
Current switch status    : off
Trap Description         :

Trap name                : ospfVirtIfStateChange
Default switch status    : off
Current switch status    : off
Trap Description         :

Trap name                : ospfNbrStateChange
Default switch status    : off
Current switch status    : off
Trap Description         :

Trap name                : ospfVirtNbrStateChange
Default switch status    : off
Current switch status    : off
Trap Description         :

Trap name                : ospfIfAuthFailure
Default switch status    : off
Current switch status    : off
Trap Description         :

Trap name                : ospfVirtIfAuthFailure
Default switch status    : off
Current switch status    : off
Trap Description         :

Trap name                : ospfIfRxBadPacket
Default switch status    : off
Current switch status    : off
Trap Description         :

Trap name                : ospfVirtIfRxBadPacket
Default switch status    : off
Current switch status    : off
Trap Description         :

Trap name                : ospfLsdbOverflow
Default switch status    : off
Current switch status    : off
Trap Description         :

Trap name                : ospfLsdbApproachingOverflow
Default switch status    : off
Current switch status    : off
Trap Description         :

Trap name                : ospfRestartStatusChange
Default switch status    : off
Current switch status    : off
Trap Description         :

Trap name                : ospfNbrRestartHelperStatusChange
Default switch status    : off
Current switch status    : off
Trap Description         :

Trap name                : ospfVirtNbrRestartHelperStatusChange
Default switch status    : off
Current switch status    : off
Trap Description         :

Trap name                : ospfNssaTranslatorStatusChange
Default switch status    : off
Current switch status    : off
Trap Description         :

Trap name                : ospfIfConfigError
Default switch status    : off
Current switch status    : off
Trap Description         :

Trap name                : ospfVirtIfConfigError
Default switch status    : off
Current switch status    : off
Trap Description         :

Trap name                : ospfTxRetransmit
Default switch status    : off
Current switch status    : off
Trap Description         :

Trap name                : ospfVirtIfTxRetransmit
Default switch status    : off
Current switch status    : off
Trap Description         :

Trap name                : ospfOriginateLsa
Default switch status    : off
Current switch status    : off
Trap Description         :

Trap name                : ospfMaxAgeLsa
Default switch status    : off
Current switch status    : off
Trap Description         :

Trap name                : hwOspfv2IntraAreaRouteridConflict
Default switch status    : on
Current switch status    : on
Trap Description         :

Trap name                : hwOspfv2IntraAreaDRIpAddressConflict
Default switch status    : on
Current switch status    : on
Trap Description         :

Trap name                : hwOspfv2IntraAreaRouterIdConflictRecovered
Default switch status    : on
Current switch status    : on
Trap Description         :

Trap name                : hwOspfv2PeerFlappingSuppressStatusChange
Default switch status    : off
Current switch status    : off
Trap Description         :

Trap name                : hwOspfv2DeleteRouteByPurge
Default switch status    : off
Current switch status    : off
Trap Description         :

Trap name                : hwOspfv2DeleteRouteByPurgeClear
Default switch status    : off
Current switch status    : off
Trap Description         :

Trap name                : hwOspfv2RouteBeDeletedByPurge
Default switch status    : off
Current switch status    : off
Trap Description         :

Trap name                : hwOspfv2RouteBeDeletedByPurgeClear
Default switch status    : off
Current switch status    : off
Trap Description         :

Trap name                : hwOspfv2ThirdPartRouteBeDeletedByPurge
Default switch status    : off
Current switch status    : off
Trap Description         :

Trap name                : hwOspfv2ThirdPartRouteBeDeletedByPurgeClear
Default switch status    : off
Current switch status    : off
Trap Description         :
Table 2 Description of the display snmp-agent trap feature-name ospf all verbose command output

Item

Description

Trap Description

Displays the trap description.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >