display ospfv3 peer

Function

The display ospfv3 peer command displays specified OSPFv3 neighbors.

Format

display ospfv3 [ process-id ] [ area { area-id | area-id } ] peer [ { neighbor-id | hostname hostnamestr } | interfaceName | interfaceType interfaceNum ] [ verbose ]

display ospfv3 [ process-id ] peer last-nbr-down

display ospfv3 [ process-id ] [ area { area-id | area-id } ] peer [ neighbor-id | interfaceName | interfaceType interfaceNum ] resolve-hostname [ verbose ]

Parameters

Parameter Description Value
process-id

Specifies an OSPFv3 process ID.

The value is an integer ranging from 1 to 4294967295.

area area-id

Specifies an area ID.

The value can be a decimal integer or in the IPv4 address format. The integer ranges from 0 to 4294967295.

neighbor-id

Specifies router ID of a neighbor.

The value is in dotted decimal notation.

hostname hostnamestr

Specifies a dynamic hostname.

The value is a string of 1 to 255 characters.

interfaceName

Indicates the name of an interface.

-

interfaceType

Indicates the type of an interface.

-

interfaceNum

Indicates the number of an interface.

The value is a string of 1 to 63 case-sensitive characters, spaces not supported.

verbose

Displays detailed information of neighbors of each area.

-

last-nbr-down

Displays the brief information about the last neighbor that goes Down in an OSPFv3 process. A maximum of the last ten neighbors that go Down can be displayed for each process.

-

resolve-hostname

Displays information about resolved dynamic hostnames.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
ospf read

Usage Guidelines

Usage Scenario

The command output can display information about OSPFv3 neighbors, and help you troubleshoot OSPFv3 faults, verify the configurations of OSPFv3 neighbors, and check whether the neighbor performs Graceful Restart (GR).

Example

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

# Display neighbor information about OSPFv3 process 1
<HUAWEI> display ospfv3 1 peer
OSPFv3 Process (1)
Total number of peer(s): 1       
 Peer(s) in full state: 1       
OSPFv3 Area (0.0.0.0)
Neighbor ID      Pri State            Dead Time  Interface          Instance ID
2.2.2.2            1 Full/Backup      00:00:35   Vlanif100             0
# Display information about resolved dynamic hostnames.
<HUAWEI> display ospfv3 peer resolve-hostname
OSPFv3 Process (1) 
 OSPFv3 Area (0.0.0.1)

 Neighbor ID   Pri   State   Dead Time  Interface   Instance ID
 RTR_BLR       1     Full/DR 00:00:3    GE0/1/0    0
# Display the information about the last neighbor that goes Down in an OSPFv3 process.
<HUAWEI> display ospfv3 100 peer last-nbr-down
Last Down OSPFV3 Peer
  Neighbor Intf   Id  : 6
  Neighbor Area   Id  : 0.0.0.1
  Neighbor Router Id  : 2.2.2.2
  Interface           : GigabitEthernet0/1/0
  Instance        Id  : 1
  Immediate Reason    : Neighbor Down Due to AdjOK?
  Primary Reason      : Router State Change from DR or BDR to DROTHER
  Down Time           : [2010/12/22] 07:49:21
  Neighbor Intf   Id  : 27
  Neighbor Area   Id  : 0.0.0.1
  Neighbor Router Id  : 2.2.2.2
  Interface           : GigabitEthernet0/1/1
  Instance        Id  : 1
  Immediate Reason    : Neighbor Down Due to Kill Neighbor
  Primary Reason      : OSPF Process Reset
  Down Time           : [2010/12/22] 07:49:16
# Display the detailed neighbor information of OSPFv3 process 100 on GigabitEthernet 0/1/0.
<HUAWEI> display ospfv3 100 peer gigabitethernet 0/1/0 verbose
OSPFv3 Process (100)
 OSPFv3 Area (0.0.0.0)

 Neighbor 1.1.1.1, interface address FE80::3D43:0:8C14:1
    In the area 0.0.0.1 via interface GE0/1/0
    DR is 0.0.0.0 BDR is 0.0.0.0
    Options is 0x000013 (-|R|-|-|E|V6)
    Dead timer due in 00:00:29
    Neighbour is up for 01:08:17
   Neighbour Up Time : 2018-06-08 01:41:57
    Database Summary List 0
    Link State Request List 0
    Link State Retransmission List 0
    Neighbour Event: 7
    Neighbour If Id : 0x04
# Display neighbor information about OSPFv3 process 1 on GigabitEthernet 0/1/0.
<HUAWEI> display ospfv3 1 peer gigabitethernet 0/1/0
OSPFv3 Process (1)
OSPFv3 Area (0.0.0.0)
Neighbor ID     Pri   State           Dead Time   Interface                Instance ID
1.1.1.1           1   Full/ -         00:00:30    gigabitethernet 0/1/0    0
Table 1 Description of the display ospfv3 peer command output
Item Description
OSPFv3 Process

OSPFv3 process ID.

Neighbor ID

Neighbor ID.

Neighbor Intf Id

Index of the neighbor interface.

Neighbor Router Id

Neighbor Router ID.

Neighbor IPv6 Address

IPv6 address of a neighbor.

Neighbor Authentication Sequence Low

Minimum Crypt sequence number of a neighbor.

Neighbor Authentication Sequence High

Highest Crypt sequence number of the neighbor.

interface address

IP address of the interface that connects to the neighbor.

In the area 0.0.0.1 via interface

Interface of the neighbor is in area xxx.

DR

Designated router.

BDR

Border area router.

Options

Options of the neighbor.

Dead Time

Dead timer of the neighbor.

Dead timer due in

Dead timer of the neighbor.

Neighbour is up for

Time since the neighbor relationship went Up.

Neighbour Up Time

Time when the neighbor relationship went Up.

Neighbour Event

Neighbor device event.

Neighbour If Id

Index of the neighbor interface.

Link State Request List

Number of LSAs in the request list of the neighbor.

Link State Retransmission List

Number of LSAs in the retransmission list of the neighbor.

State

State of the neighbor, including Down, Attempt, Init, 2 Way, Exch Start, Exchange, Loading, and Full.

List Index

List sequence.

Pri

Priority of the neighbor.

Interface

Interface that connects to the neighbor.

Instance ID

ID of the instance to which a neighbor belongs.

Total number of peer(s)

Total information of neighbors.

Peer(s) in full state

Number of entries with the neighbor state Full.

Database Summary List

Number of packets in the database summary list of the neighbor.

Down Time

Period during which a neighbor is in the Down state.

Router ID

Route ID.

Immediate Reason

Direct reason why the neighbor becomes Down.

Primary Reason

Root reason why the neighbor becomes Down.

LS Request Number

Number of LS request lists.

Events

Event.

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