display ospf error

Function

The display ospf error command displays OSPF error information.

Format

display ospf process-id error

display ospf [ process-id ] error lsa

display ospf error

display ospf process-id error interface { interface-name | interface-type interface-number } [ multi-area { area-id | area-id } ]

display ospf error interface { interface-name | interface-type interface-number } [ multi-area { area-id | area-id } ]

Parameters

Parameter Description Value
process-id

Specifies the ID of an OSPF process.

If no OSPF process ID is specified, error information about all OSPF processes is displayed.

The value is an integer ranging from 1 to 4294967295.

lsa

Display the OSPF LSA errors.

-

interface interface-name

Specifies the name an interface.

-

interface-type

Specifies the type an interface.

-

interface-number

Specifies the number an interface.

-

multi-area area-id

Displays OSPF error information in a specified area.

The value can be a decimal integer ranging from 0 to 4294967295 or in the format of an IP address.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
ospf read

Usage Guidelines

Usage Scenario

When locating OSPF faults, you can run the display ospf error command to obtain OSPF error information. You can then analyze OSPF faults according to the OSPF error information.

If error statistics keep increasing rapidly, locate the fault based on the error type.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display OSPF error information.
<HUAWEI> display ospf error
OSPF Process 1 with Router ID 10.1.1.1
                  OSPF error statistics

General packet errors:
 0           : IP: received my own packet     113         : Bad packet
 0           : Bad version                    0           : Bad checksum
 0           : Bad area id                    0           : Drop on unnumbered interface
 0           : Bad virtual link               0           : Bad authentication type
 0           : Bad authentication key         0           : Packet too small
 1           : Packet size > ip length        0           : Transmit error
 7           : Interface down                 1           : Unknown neighbor
 0           : Bad authentication sequence number 
 15          : TTL error                      0           : Packet too long
 3           : Bad network segment            2           : Bad RouterId
 1           : Bad destination address        0           : Packet received from silent interface

HELLO packet errors:
 1           : Netmask mismatch               50          : Hello timer mismatch
 0           : Dead timer mismatch            0           : Extern option mismatch
 0           : Router id confusion            0           : Virtual neighbor unknown
 0           : NBMA neighbor unknown          0           : Invalid Source Address
 1           : Invalid DR                     0           : LSDB overflow
 147         : DR/BDR mismatch                0           : Neighbor reach limit
 0           : Hold down state                0           : memory overload
 0           : CPU overload

DD packet errors:
 534         : Neighbor state low             0           : Router id confusion
 0           : Extern option mismatch         0           : Unknown LSA type
 0           : MTU option mismatch            0           : CPU overload
 0           : Exchange neighbor limit

LS ACK packet errors:
 1           : Neighbor state low             0           : Unknown LSA type

LS REQ packet errors:
 0           : Neighbor state low             0           : Empty request
 0           : Bad request

LS UPD packet errors:
 0           : Neighbor state low             17          : Newer self-generate LSA
 0           : LSA checksum bad               12          : Received less recent LSA
 2           : Unknown LSA type               0           : Ignore receive LSA
 7           : Received LSA within LSA Arrival interval

Opaque errors:  
 0           : 9-out of flooding scope        32          : 10-out of flooding scope
 13          : 11-out of flooding scope       0           : Unknown TLV type
 12          : RI LSA TLV ERROR               25          : RI LSA Sub TLV ERROR
 19          : ExtendPrefix LSA TLV ERROR     0           : ExtendPrefix LSA Sub TLV ERROR
 8           : ExtendLink LSA TLV ERROR       0           : ExtendLink LSA Sub TLV ERROR

SR TLV errors:
 1           : Bad SR-Algorithm TLV           3           : Bad SID/Label Range TLV
 2           : Bad SID/Label Sub TLV          1           : Bad Extended Prefix  TLV
 1           : Bad Prefix-SID Sub TLV         1           : Bad Extended Prefix Range TLV
 3           : Bad LAN Adj-SID Sub TLV        2           : Bad Adj-SID Sub TLV 
 1           : Bad Extended Link TLV

Retransmission for packet over Limitation errors:
 0           : Number for DD Packet           0           : Number for Update Packet
 0           : Number for Request Packet

Receive Grace LSA errors:
 0           : Number of invalid LSAs         0           : Number of policy failed LSAs
 0           : Number of wrong period LSAs

Configuration errors:
 0           : Tunnel cost mistake
 1           : The network type of the neighboring interface is not consistent
# Display the OSPF LSA errors.
<HUAWEI> display ospf error lsa
OSPF Process  1  with Router ID 1.1.1.14

 Last Received Bad LSA Header
    LS Age             : 36
    Link State Type    : 0x0008
    Link State ID      : 10.0.1.66
    Advertising Router : 2.2.2.22
    LS Sequence Number : 0x80000002
    LS Checksum        : 0x00bd2e
    Length             : 96
    Interface          : GigabitEthernet0/1/0
    Recv Time          : 2011-05-27 14:37:17
Table 1 Description of the display ospf error command output
Item Description
Router id confusion

The router IDs on the two ends are the same.

General packet errors

General packet errors.

IP: received my own packet

The interface receives the packet sent by itself.

Bad packet

The parsed packet is incorrect, including the checksum of the length field.

Bad version

The OSPF version is incorrect (not version 2).

Bad checksum

The OSPF checksum is incorrect.

Bad area id

The area ID in the received packet does not match the local area ID. (Vlink can receive packets from only area 0 and its own area.).

Bad virtual link

The Vlink receives invalid packets.

Bad authentication type

Packet authentication type is incorrect.

Bad authentication key

Packet authentication key is incorrect.

Bad authentication sequence number

Indicates bad authentication sequence number errors.

Bad request

BadRequest event in the protocol.

Bad network segment

The source address in the Hello packet does not match the network segment of the local interface address.

Bad RouterId

The router ID in the non-Hello packet is different from the router ID of the neighbor.

Bad destination address

A non-DR/BDR interface receives a packet with the destination address 224.0.0.6, or the destination address is not the local interface address or the multicast address 224.0.0.5 or 224.0.0.6, the vlink/sham link/NBMA interface and the v3 P2MP non-broadcast interface receive multicast packets with destination addresses 224.0.0.5 and 224.0.0.6.

Bad SR-Algorithm TLV

The length of the algorithm TLV of the RI LSA is incorrect.

Bad SID/Label Range TLV

The length of the range TLV in the RI LSA is incorrect.

Bad SID/Label Sub TLV

The length of the SID sub TLV of the RI LSA is incorrect.

Bad Extended Prefix TLV

The length of the extend prefix TLV in the extend prefix LSA is incorrect.

Bad Prefix-SID Sub TLV

The length of the prefix SID sub-TLV in the extend prefix LSA is incorrect.

Bad Extended Prefix Range TLV

The length of the range TLV in the extended prefix LSA is incorrect.

Bad LAN Adj-SID Sub TLV

The length of the lan adj sid sub TLV in the extended link LSA is incorrect.

Bad Adj-SID Sub TLV

The length of the adj sid sub TLV in the extended link LSA is incorrect.

Bad Extended Link TLV

The length of the extended link TLV in the extended link LSA is incorrect.

Drop on unnumbered interface

The unnumbered interface receives packets (the interface must be of the P2P type).

Packet too small

The length of the received packet does not equal the sum of the IP header length and the packet length.

Packet size > ip length

The length of the OSPF packet is greater than the permitted length of the IP packet.

Packet too long

The length of the packet is more than 65535.

Packet received from silent interface

Packets are received from the silent interface.

Transmit error

The packets fail to be sent to the socket.

Interface down

Number of times that the OSPF interface goes Down.

Interface

Interface that receives the LSA.

Unknown neighbor

OSPF packets are received from non-OSPF neighbors on NBMA networks, virtual links, and sham links.

Unknown LSA type

Unknown LSA type.

TTL error

The TTL value in the packet is 0.

HELLO packet errors

Hello packet errors.

Netmask mismatch

The address mask does not match the local address mask.

Hello timer mismatch

The Hello intervals on the two ends are inconsistent.

Dead timer mismatch

The Dead intervals on the two ends are inconsistent.

Extern option mismatch

The extension attributes of the Hello packets on the two ends are inconsistent.

Virtual neighbor unknown

The router ID of the packet is inconsistent with that of the neighbor configured by the virtual link.

NBMA neighbor unknown

The status of the NBMA neighbor is not active.

Invalid Source Address

The source address of LSA is invalid.

Invalid DR

Statistics about Hello packets with non-zero DR priorities received by a P2P interface.

LSDB overflow

Number of received Hello packets when the OSPF LSDB is overloaded.

Neighbor state low

Following situations:

  • A DD packet is received, but its neighbor status is lower than 2-way.
  • An LSR packet is received, but its neighbor status is lower than Exchange.
  • An LSU packet is received, but its neighbor status is lower than Exchange.
  • An LSAck packet is received, but its neighbor status is lower than Exchange.
Neighbor reach limit

The number of neighbors exceeds the upper limit.

Hold down state

The neighbor is in the holddown state.

memory overload

The received packets are ignored due to memory overload.

CPU overload

The received packets are ignored because the CPU is overloaded.

DD packet errors

Database description (DD) packet errors.

LSA checksum bad

The LSA checksum is incorrect.

MTU option mismatch

The MTU check of the OSPF interface is enabled, and the MTU of the DD packet received by the interface is greater than the MTU of the interface.

Exchange neighbor limit

The number of peers in the Exchange state exceeds the upper limit.

LS ACK packet errors

LS Ack packet errors.

LS REQ packet errors

LSR packet errors.

LS UPD packet errors

LSU packet errors.

LS Age

Aging time of the LSA.

LS Sequence Number

Sequence number in the LSA header.

LS Checksum

LSA checksum.

Empty request

Empty LSR packets.

Newer self-generate LSA

Number of new self-generated LSAs. This field is reserved for future use.

Received less recent LSA

The LSA older than the local LSA is received.

Received LSA within LSA Arrival interval

An LSA is received within the LSA arrival interval.

Ignore receive LSA

The sum of received LSA ignored.

Opaque errors

Opaque errors.

9-out of flooding scope

Number of Type 9 LSAs that exceed the flooding scope.

10-out of flooding scope

Number of Type 10 LSAs that exceed the flooding scope.

11-out of flooding scope

Number of Type 11 LSAs that exceed the flooding scope.

RI LSA TLV ERROR

The length of the main TLV in the RI LSA is incorrect.

RI LSA Sub TLV ERROR

The length of the sub TLV in the RI LSA is incorrect.

ExtendPrefix LSA TLV ERROR

The length of the main TLV in the extend prefix LSA is incorrect.

ExtendPrefix LSA Sub TLV ERROR

The length of the sub TLV in the Extend prefix LSA is incorrect.

ExtendLink LSA TLV ERROR

The length of the main TLV of the extend link LSA is incorrect.

ExtendLink LSA Sub TLV ERROR

The length of the sub TLV of the extended link LSA is incorrect.

SR TLV errors

segment-routing TLV error.

Link State Type

LSA type.

Link State ID

LSA state ID.

Retransmission for packet over Limitation errors

Indicates the number of times that the number of retransmitted packets exceeds the threshold.

Number for DD Packet

Number of times that retransmitting DD packets expires.

Number for Update Packet

Number of times that retransmitting LSU packets expires.

Number for Request Packet

Number of times that retransmitting LSR packets expires.

Number of invalid LSAs

Total number of invalid LSAs.

Number of policy failed LSAs

Total number of policy failed LSAs.

Number of wrong period LSAs

Total number of wrong period LSAs.

Receive Grace LSA errors

Number of received incorrect Grace LSAs.

Configuration errors

Configuration errors.

Tunnel cost mistake

Number of times that the cost of the OSPF tunnel interface is smaller than 1. This count increases by 1 each time the cost of the OSPF tunnel interface is smaller than 1. If the cost is smaller than 1, the cost is calculated as 1.

The network type of the neighboring interface is not consistent

The network types of the neighboring interfaces are different.

Last Received Bad LSA Header

Last received LSA.

Advertising Router

Device that advertises or generates LSAs.

Length

Size of the LSA.

Recv Time

Time when the LSA was received.

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