< Home

display ospf error

Function

The display ospf error command displays OSPF error information.

Format

display ospf [ process-id ] error [ lsa | interface interface-type interface-number ]

Parameters

Parameter Description Value

process-id

Specifies the ID of an OSPF process.

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

The value is an integer ranging from 1 to 65535.

lsa

Displays the OSPF LSA errors.

-

interface interface-type interface-number

Specifies the type and number of an interface.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

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.

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     0     : Bad packet
 0     : Bad version                    0     : Bad checksum
 0     : Bad area id                    0     : Drop on unnumbered interface
 1     : Bad virtual link               0     : Bad authentication type
 0     : Bad authentication key         0     : Packet too small
 0     : Packet size > ip length        0     : Transmit error
 0     : Interface down                 0     : Unknown neighbor
 0     : Bad net segment                0     : Extern option mismatch
 0     : Router id confusion            0     : Bad authentication sequence number

HELLO packet errors:
 0     : Netmask mismatch               0     : Hello timer mismatch
 0     : Dead timer mismatch            0     : Virtual neighbor unknown
 0     : NBMA neighbor unknown          0     : Invalid Source Address

DD packet errors:
 0     : Neighbor state low             0     : Unknown LSA type
 0     : MTU option mismatch

LS ACK packet errors:
 0     : 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             0     : Newer self-generate LSA
 0     : LSA checksum bad               0     : Received less recent LSA
 0     : Unknown LSA type

Opaque errors:
 0     : 9-out of flooding scope        0     : 10-out of flooding scope
 0     : 11-out of flooding scope       0     : Unknown TLV type

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
Table 1 Description of the display ospf error command output

Item

Description

General packet errors

Indicates general packet errors.

IP: received my own packet

Indicates that the packet sent by its own interface is received and therefore the packet is not processed.

Bad packet

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

Bad version

Indicates that the OSPF version is incorrect, that is, it is not version 2.

Bad checksum

Indicates that the OSPF checksum is incorrect.

Bad area id

Indicates that 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.)

Drop on unnumbered interface

Indicates that the unnumbered rather than P2P interface receives packets (the interface must be of the P2P type).

Bad virtual link

Indicates that the Vlink receives invalid packets.

Bad authentication type

Indicates that packet authentication is incorrect.

If the value of this field keeps increasing, the OSPF authentication types of the two devices that establish the neighbor relationship are inconsistent. In this case, run the area-authentication-mode command to configure the same authentication type for the two devices.

Bad authentication key

Packet authentication key is incorrect.

Packet too small

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

Packet size > ip length

Indicates that the length of the OSPF packet is greater than the permitted length of the IP packet.

Transmit error

Indicates that sending packets to the socket fails.

Interface down

Indicates the number of times that the OSPF interface goes Down.

Unknown neighbor

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

HELLO packet errors

Indicates Hello packet errors.

Netmask mismatch

Indicates that the address mask does not match the local address mask.

Hello timer mismatch

Indicates that the Hello intervals on the two ends are inconsistent.

If the value of this field keeps increasing, the value of the Hello timers on the two devices that establish the neighbor relationship are inconsistent. In this case, check the interface configurations of the two devices and run the ospf timer hello command to set the same value for the Hello timers.

Dead timer mismatch

Indicates that the Dead intervals on the two ends are inconsistent.

If the value of this field keeps increasing, the values of the dead timers on the two devices that establish the neighbor relationship are inconsistent. In this case, check the interface configurations of the two devices and run the ospf timer dead command to set the same value for the dead timers.

Extern option mismatch

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

If the value of this field keeps increasing, the area types of the two devices that establish the neighbor relationship are inconsistent (the area type of one device is common area, and the area type of the other device is stub area or NSSA). In this case, configure the same area type for the two devices (in the OSPF area view, the stub command indicates the area type is stub and the stub command indicates the area type is nssa).

Bad net segment

The source address of received packets is not on the same network segment as the IP address of the interface that receives packets.

Router id confusion

Indicates that the router IDs on the two ends are the same.

Bad authentication sequence number

Indicates bad authentication sequence number errors.

Virtual neighbor unknown

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

NBMA neighbor unknown

Indicates that the status of the NBMA neighbor is not active.

Invalid Source Address

Indicates that the source address of LSA is invalid.

DD packet errors

Indicates DD packet errors.

Neighbor state low

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

Unknown LSA type

Indicates the unknown LSA type.

MTU option mismatch

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

LS ACK packet errors

Indicates LSAck packet errors.

Bad ack

Indicates the number of times that incorrect LSAck packets are received.

Duplicate ack

Indicates the number of times that duplicate LSAck packets are received.

LS REQ packet errors

Indicates LSR packet errors.

Empty request

Indicates empty LSR packets.

Bad request

Indicates the BadRequest event in the protocol.

LS UPD packet errors

Indicates LSU packet errors.

Newer self-generate LSA

Indicates the number of new self-generated LSAs. This field is reserved for future use.

LSA checksum bad

Indicates that the LSA checksum is incorrect.

Received less recent LSA

Indicates that the LSA older than the local LSA is received.

Opaque errors

Indicates opaque errors.

9-out of flooding scope

Indicates the number of Type 9 LSAs that exceed the flooding scope.

10-out of flooding scope

Indicates the number of Type 10 LSAs that exceed the flooding scope.

11-out of flooding scope

Indicates the number of Type 11 LSAs that exceed the flooding scope.

Unknown TLV type

Indicates the unknown TLV type.

Retransmission for packet over Limitation errors

Indicates the number of times that retransmitting packets expires.

Number for DD Packet

Indicates the number of times that retransmitting DD packets expires.

Number for Update Packet

Indicates the number of times that retransmitting LSU packets expires.

Number for Request Packet

Indicates the number of times that retransmitting LSR packets expires.

Receive Grace LSA errors

Indicates the number of received incorrect Grace LSAs.

Number of invalid LSAs

Indicates the total number of invalid LSAs.

Number of policy failed LSAs

Indicates the total number of policy failed LSAs.

Number of wrong period LSAs

Indicates the total number of wrong period LSAs.

Configuration errors

Indicates configuration errors.

Tunnel cost mistake

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

# Display the OSPF LSA errors.
<HUAWEI> display ospf error lsa
 OSPF Process  1  with Router ID 10.1.1.14

 Last Received Bad LSA Header
    LS Age             : 36
    Link State Type    : 0x0008
    Link State ID      : 0.0.1.66
    Advertising Router : 10.10.10.22
    LS Sequence Number : 0x80000002
    LS Checksum        : 0x00bd2e
    Length             : 96
    Interface          : Vlanif100
    Recv Time          : 2011-05-27 14:37:17
Table 2 Description of the display ospf error lsa command output

Item

Description

Last Received Bad LSA Header

Bad LSA information received last time.

LS Age

Aging time of the LSA.

Link State Type

LSA type.

Link State ID

LSA state ID.

Advertising Router

Router that advertises or generates LSAs.

LS Sequence Number

Sequence number in the LSA header.

LS Checksum

LSA checksum.

Length

Size of the LSA.

Interface

LSA receiving interface.

Recv Time

LSA receiving time.

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