show ipv6 ospf neighbor

Displays OSPFv3 neighbor information.
Syntax
show ipv6 ospf neighbor [ detail | router-id A.B.C.D ]
Parameters
detail
Displays detailed neighbor information.
router-id A.B.C.D
Displays neighbor information for the specified router ID.
Modes

User EXEC mode

Usage Guidelines

The show ip ospf neighbor command displays the following information:

Output field

Description

Router ID

The IPv4 address of the neighbor. By default, the router ID is the IPv4 address configured on the lowest numbered loopback interface. If the device does not have a loopback interface, the default router ID is the lowest numbered IPv4 address configured on the device.

Pri

The OSPFv3 priority of the neighbor. The priority is used during election of the DR and BDR.

State

The state between the device and the neighbor. The state can be one of the following:

  • Down
  • Attempt
  • Init
  • 2-Way
  • ExStart
  • Exchange
  • Loading
  • Full

DR

The router ID (IPv4 address) of the DR.

BDR

The router ID (IPv4 address) of the BDR.

Interface [State]

The interface through which the router is connected to the neighbor. The state of the interface can be one of the following:

  • DR - The interface is functioning as the Designated Router for OSPFv3.
  • BDR - The interface is functioning as the Backup Designated Router for OSPFv3.
  • Loopback - The interface is functioning as a loopback interface.
  • P2P - The interface is functioning as a point-to-point interface.
  • Passive - The interface is up but it does not take part in forming an adjacency.
  • Waiting - The interface is trying to determine the identity of the BDR for the network.
  • None - The interface does not take part in the OSPF interface state machine.
  • Down - The interface is unusable. No protocol traffic can be sent or received on such an interface.
  • DR other - The interface is a broadcast or NBMA network on which another router is selected to be the DR.

The show ip ospf neighbor router-id command displays the following information:

Output field

Description

Router ID

The IPv4 address of the neighbor. By default, the router ID is the IPv4 address configured on the lowest numbered loopback interface. If the device does not have a loopback interface, the default router ID is the lowest numbered IPv4 address configured on the device.

Pri

The OSPFv3 priority of the neighbor. The priority is used during election of the DR and BDR.

State

The state between the device and the neighbor. The state can be one of the following:

  • Down
  • Attempt
  • Init
  • 2-Way
  • ExStart
  • Exchange
  • Loading
  • Full

DR

The router ID (IPv4 address) of the DR.

BDR

The router ID (IPv4 address) of the BDR.

Interface [State]

The interface through which the router is connected to the neighbor. The state of the interface can be one of the following:

  • DR - The interface is functioning as the Designated Router for OSPFv3.
  • BDR - The interface is functioning as the Backup Designated Router for OSPFv3.
  • Loopback - The interface is functioning as a loopback interface.
  • P2P - The interface is functioning as a point-to-point interface.
  • Passive - The interface is up but it does not take part in forming an adjacency.
  • Waiting - The interface is trying to determine the identity of the BDR for the network.
  • None - The interface does not take part in the OSPF interface state machine.
  • Down - The interface is unusable. No protocol traffic can be sent or received on such a interface.
  • DR other - The interface is a broadcast or NBMA network on which another router is selected to be the DR.

DbDesc bit

The Database Description packet, which includes 3 bits of information:

  • The first bit can be "i" or "-". "i" indicates the inet bit is set. "-" indicates the inet bit is not set.
  • The second bit can be "m" or "-". "m" indicates the more bit is set. "-" indicates the more bit is not set.
  • The third bit can be "m" or "s". An "m" indicates the master. An "s" indicates standby.

Index

The ID of the LSA from which the neighbor learned of the router.

DR Decision

The router ID (IPv4 address) of the neighbor’s elected DR and BDR.

Last Received Db Desc

The content of the last database description received from the specified neighbor.

Number of LSAs in Db Desc retransmitting

The number of LSAs that need to be retransmitted to the specified neighbor.

Number of LSAs in Summary List

The number of LSAs in the neighbor’s summary list.

Number of LSAs in Request List

The number of LSAs in the neighbor’s request list.

Number of LSAs in Retransmit List

The number of LSAs in the neighbor’s retransmit list.

Seqnum Mismatch

The number of times sequence number mismatches occurred.

BadLSReq

The number of times the neighbor received a bad link-state request from the device.

One way received

The number of times a hello packet, which does not mention the router, is received from the neighbor. This omission in the hello packet indicates that the communication with the neighbor is not bidirectional.

Inactivity Timer

The number of times that the neighbor’s inactivity timer expired.

Db Desc Retransmission

The number of times sequence number mismatches occurred.

LSReqRetrans

The number of times the neighbor retransmitted link-state requests to the device.

LSUpdateRetrans

The number of times the neighbor retransmitted link-state updates to the device.

LSA Received

The number of times the neighbor received LSAs from the device.

LS Update Received

The number of times the neighbor received link-state updates from the device.

Examples

The following is sample output from the show ipv6 ospf neighbor command.

device> show ipv6 ospf neighbor

Total number of neighbors in all states: 2
Number of neighbors in state Full      : 2
RouterID        Pri State    DR              BDR             Interface  [State]
192.168.98.111    1 Full     192.168.98.111  192.168.98.213  e 4/3/1    [BDR]
192.168.98.111    1 Full     192.168.98.111  192.168.98.213  ve 17      [BDR]

The following is sample output from the show ipv6 ospf neighbor command when the router-id keyword is sued.

device> show ipv6 ospf neighbor router-id 192.168.98.111

RouterID        Pri State    DR              BDR             Interface     [State]
192.168.98.111    1 Full     192.168.98.111  192.168.98.213  e 4/3/1       [BDR]
                Option: 00-00-13    QCount: 0    Timer: 73
    DbDesc bit for this neighbor: --m
    Nbr Ifindex of this router: 136
    Nbr DRDecision: DR 192.168.98.111, BDR 192.168.98.213
    Last received DbDesc: opt:xxx ifmtu:0 bit:--s seqnum:0
    Number of LSAs in DbDesc retransmitting: 0
    Number of LSAs in SummaryList: 0
    Number of LSAs in RequestList: 0
    Number of LSAs in RetransList: 0
    SeqnumMismatch       0 times, BadLSReq             0 times
    OnewayReceived       0 times, InactivityTimer      0 times
    DbDescRetrans        0 times, LSReqRetrans         0 times
    LSUpdateRetrans     11 times
    LSAReceived        379 times, LSUpdateReceived   258 times
RouterID        Pri State    DR              BDR             Interface     [State]
192.168.98.111    1 Full     192.168.98.111  192.168.98.213  ve 17         [BDR]
                Option: 00-00-13    QCount: 0    Timer: 44
    DbDesc bit for this neighbor: --m
    Nbr Ifindex of this router: 1156
    Nbr DRDecision: DR 192.168.98.111, BDR 192.168.98.213
    Last received DbDesc: opt:xxx ifmtu:0 bit:--s seqnum:0
    Number of LSAs in DbDesc retransmitting: 0                    
    Number of LSAs in SummaryList: 0
    Number of LSAs in RequestList: 0
    Number of LSAs in RetransList: 0
    SeqnumMismatch       0 times, BadLSReq             0 times
    OnewayReceived       0 times, InactivityTimer      0 times
    DbDescRetrans        0 times, LSReqRetrans         0 times
    LSUpdateRetrans      3 times
    LSAReceived        317 times, LSUpdateReceived   262 times