display ospfv3 peer

Use display ospfv3 peer to display information about OSPFv3 neighbors.

Syntax

display ospfv3 [ process-id ] [ area area-id ] peer [ [ interface-type interface-number ] [ verbose ] | peer-router-id | statistics ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

process-id: Specifies an OSPFv3 process by its ID in the range of 1 to 65535. If you do not specify a process, this command displays neighbor information for all processes.

area area-id: Specifies an area by its ID, an IPv4 address or a decimal integer in the range of 0 to 4294967295 that is translated into the IPv4 address format. If you do not specify an area, this command displays neighbor information for all areas.

interface-type interface-number: Specifies an interface by its type and number.

verbose: Displays detailed neighbor information.

peer-router-id: Specifies a neighbor.

statistics: Displays OSPFv3 neighbor statistics.

Usage guidelines

If you do not specify an interface and a neighbor, this command displays neighbor information for all interfaces.

Examples

# Display neighbor information for OSPFv3 process 1.

<Sysname> display ospfv3 1 peer vlan-interface 1

               OSPFv3 Process 1 with Router ID 1.1.1.1

 Area: 0.0.0.1
-------------------------------------------------------------------------
 Router ID       Pri State             Dead-Time InstID Interface
 2.2.2.2         1   Init/ -           00:00:36  0      Vlan1

Table 154: Command output

Field

Description

Router ID

Neighbor router ID.

Pri

Neighboring router priority.

State

Neighbor state.

Dead-Time

Dead time remained.

Inst ID

Instance ID.

Interface

Interface connected to the neighbor.

# Display detailed neighbor information for OSPFv3 process 1.

<Sysname> display ospfv3 1 peer vlan-interface 1 verbose

               OSPFv3 Process 1 with Router ID 1.1.1.1

 Area 0.0.0.1 interface Vlan1's neighbors
 Router ID: 2.2.2.2          Address: fe80::200:5eff:fe00:100
   State: ExStart  Mode: None  Priority: 1
   DR: 2.2.2.2  BDR: None   MTU: 1500
   Options is 0x000413 (AT|-|-|-|-|-|R|-|x|E|V6)
   Dead timer due in 00:00:33
   Neighbor is up for 00:24:19
   Authentication sequence: (high) 0, (low) 59755
   Neighbor state change count: 205
   Database Summary List 0
   Link State Request List 0
   Link State Retransmission List 0
   Neighbor interface ID: 8037
   GR state: Normal
   Grace period: 0           Grace period timer: Off
   DD Rxmt Timer: Off        LS Rxmt Timer: On

Table 155: Command output

Field

Description

Router ID

Neighbor router ID.

Address

Link-local address of the interface.

State

Neighbor state.

Mode

Neighbor mode for LSDB synchronization.

Priority

Neighboring router priority.

DR

DR on the interface's network segment.

BDR

BDR on the interface's network segment.

MTU

Interface MTU.

Options

LSA options:

  • AT—Whether the Authentication Trailer option is carried in packets.

  • DC—The originating router supports OSPFv3 over on-demand circuits.

  • R—Whether the originating router is an active router.

  • N—Whether the originating router supports NSSA LSAs.

  • x—Reserved.

  • E—Whether the originating router can receive AS External LSAs.

  • V6—Whether the originating router takes part in IPv6 route calculation.

Dead timer due in 33 sec

This dead timer will expire in 33 seconds.

Neighbor is up for 00:24:19

The neighbor has been up for 00:24:19.

Authentication sequence: (high) 0, (low) 59755

Authentication sequence number carried in the received packets. The high 32-bit value is 0, and the low 32-bit value is 59755.

Neighbor state change count

Count of neighbor state changes.

Database Summary List

Number of LSAs sent in DD packet.

Link State Request List

Number of LSAs in the link state request list.

Link State Retransmission List

Number of LSAs in the link state retransmission list.

Neighbor interface ID

Interface ID of the neighbor.

GR state

GR state:

  • Normal—GR is not in progress.

  • Doing GR—Acting as the GR restarter.

  • Complete GR.

  • Helper—Acting as the GR helper.

Grace period

Grace-LSA sending interval.

Grace period timer

Grace-LSA sending interval timer.

DD Rxmt Timer

DD packet retransmission timer.

LS Rxmt Timer

LSU retransmission timer.

# Display OSPFv3 neighbor statistics.

<Sysname> display ospfv3 peer statistics

               OSPFv3 Process 1 with Router ID 1.1.1.1
-------------------------------------------------------------------------
 Area ID         Down Attempt Init 2-Way ExStart Exchange Loading Full Total
 0.0.0.0         0    0       0    0     0       0        0       1    1
 Total           0    0       0    0     0       0        0       1    1

Table 156: Command output

Field

Description

Area ID

Area ID.

Down

In this state, neighbor initial state, the router has not received any information from a neighboring router for a period of time.

Attempt

This state is available only in an NBMA network. In this state, the OSPFv3 router has not received any information from a neighbor for a period. The router can send Hello packets at a longer interval to keep the neighbor relationship.

Init

In this state, the device received a Hello packet from the neighbor but the packet contains no router ID of the neighbor. Mutual communication is not setup.

2-Way

Mutual communication between the router and its neighbor is available. DR/BDR election is finished under this state (or higher).

ExStart

In this state, the router decides on the initial DD sequence number and active/standby relationship of the two parties.

Exchange

In this state, the router exchanges DD packets with the neighbor.

Loading

In this state, the router sends LSRs to request the neighbor for needed LSAs.

Full

LSDB synchronization has been accomplished between neighbors.

Total

Total number of neighbors under the same state.