display ospfv3 lsdb

Use display ospfv3 lsdb to display OSPFv3 LSDB information.

Syntax

display ospfv3 [ process-id ] lsdb [ { external | grace | inter-prefix | inter-router | intra-prefix | link | network | nssa | router | unknown [ type ] } [ link-state-id ] [ originate-router router-id | self-originate ] | statistics | total | verbose ]

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 this argument, the command displays LSDB information for all processes.

external: Displays AS external LSAs (Type-5 LSAs).

grace: Displays Grace-LSAs (Type-11 LSAs).

inter-prefix: Displays Inter-area-prefix LSAs (Type-3 LSAs).

inter-router: Displays Inter-area-router LSAs (Type-4 LSAs).

intra-prefix: Displays Intra-area-prefix LSAs (Type-9 LSAs).

link: Displays Link-LSAs (Type-8 LSAs).

network: Displays Network-LSAs (Type-2 LSAs).

nssa: Displays NSSA LSAs (Type-7 LSAs).

router: Displays Router-LSAs (Type-1 LSAs).

unknown: Displays unknown LSAs.

type: Specifies an LSA type, a hexadecimal string of 0 to ffff. If you do not specify this argument, the command displays all unknown LSAs.

link-state-id: Specifies a link state ID in IPv4 address format.

originate-router router-id: Specifies an advertising router by its ID.

self-originate: Displays locally originated LSAs.

statistics: Displays LSA statistics.

total: Displays the total number of LSAs in the LSDB.

verbose: Displays detailed information. If you do not specify this keyword, the command displays brief information.

Examples

# Display OSPFv3 LSDB information.

<Sysname> display ospfv3 lsdb

               OSPFv3 Process 1 with Router ID 1.1.1.1

                  Link-LSA (Interface Vlan-interface100)
-------------------------------------------------------------------------
 Link state ID   Origin router    Age   SeqNumber  Checksum  Prefix
 0.15.0.8        2.2.2.2          0691  0x80000041 0x8315         1
 0.0.0.3         1.1.1.1          0623  0x80000001 0x0fee         1

                  Router-LSA (Area 0.0.0.1)
-------------------------------------------------------------------------
 Link state ID   Origin router    Age   SeqNumber  Checksum    Link
 0.0.0.0         1.1.1.1          0013  0x80000068 0x5d5f         2
 0.0.0.0         2.2.2.2          0024  0x800000ea 0x1e22         0

                  Network-LSA (Area 0.0.0.1)
-------------------------------------------------------------------------
 Link state ID   Origin router    Age   SeqNumber  Checksum
 0.15.0.8        2.2.2.2          0019  0x80000007 0x599e

                  Intra-Area-Prefix-LSA (Area 0.0.0.1)
-------------------------------------------------------------------------
 Link state ID   Origin router    Age   SeqNumber  Checksum  Prefix  Reference
 0.0.0.2         2.2.2.2          3600  0x80000002 0x2eed         2  Network-LSA
 0.0.0.1         2.2.2.2          0018  0x80000001 0x1478         1  Network-LSA

Table 148: Command output

Field

Description

Origin router

Originating router.

Age

Age of LSAs.

SeqNumber

LSA sequence number.

Checksum

LSA checksum.

Prefix

Number of prefixes.

Link

Number of links.

Reference

Type of referenced LSA.

# Display Link LSA information in the LSDB.

<Sysname> display ospfv3 lsdb link

               OSPFv3 Process 1 with Router ID 1.1.1.1
                  Link-LSA (Interface Vlan-interface100)
-------------------------------------------------------------------------
  LS age            : 833
  LS type           : Link-LSA
  Link state ID     : 0.15.0.8
  Originating router: 2.2.2.2
  LS seq number     : 0x80000041
  Checksum          : 0x8315
  Length            : 56
  Priority          : 1
  Options           : 0x000013 (-|R|-|x|E|V6)
  Link-Local address: fe80::200:5eff:fe00:100
  Number of prefixes: 1
      Prefix        : 1001::/64
      Prefix options: 0 (-|-|x|-|-)

Table 149: Command output

Field

Description

LS age

Age of LSA.

LS type

Type of LSA.

Link state ID

Link state ID.

Originating router

Originating router.

LS seq number

LSA sequence number.

Checksum

LSA checksum.

Length

LSA length.

Priority

Router priority.

Options

Options.

Link-Local address

Link-local address.

Number of prefixes

Number of prefixes.

Prefix

Address prefix.

Prefix options

Prefix options.

# Display LSA statistics.

<System> display ospfv3 lsdb statistics

               OSPFv3 Process 1 with Router ID 1.1.1.1
-------------------------------------------------------------------------
 Area ID         Router Network IntePre  InteRou IntraPre NSSA
 0.0.0.1         2      0       0        0       2        0
 0.0.0.3         1      0       0        0       1        1
 Total           3      0       0        0       3        1
-------------------------------------------------------------------------
                 Link   Grace   ASE
 Total           4      0       0

Table 150: Command output

Field

Description

Area ID

Area ID.

Router

Number of Type-1 LSAs.

Network

Number of Type-2 LSAs.

IntePre

Number of Type-3 LSAs.

InteRou

Number of Type-4 LSAs.

IntraPre

Number of Type-9 LSAs.

NSSA

Number of Type-7 LSAs.

Link

Total number of Type-8 LSAs.

Grace

Number of Type-11 LSAs.

ASE

Total number of Type-5 LSAs.

# Display detailed OSPFv3 LSDB information.

<Sysname> display ospfv3 lsdb verbose

               OSPFv3 Process 1 with Router ID 1.1.1.1

                  Link-LSA (Interface Vlan-interface100)
-------------------------------------------------------------------------
 Link state ID   Origin router    Age   SeqNumber  Checksum  Prefix
 0.15.0.8        2.2.2.2          0691  0x80000041 0x8315         1
                 SendCnt: 0       RxmtCnt: 0       Status: Stale
 0.0.0.3         1.1.1.1          0623  0x80000001 0x0fee         1
                 SendCnt: 0       RxmtCnt: 0       Status: Stale

                  Router-LSA (Area 0.0.0.1)
-------------------------------------------------------------------------
 Link state ID   Origin router    Age   SeqNumber  Checksum    Link
 0.0.0.0         1.1.1.1          0013  0x80000068 0x5d5f         2
                 SendCnt: 0       RxmtCnt: 0       Status: Stale
 0.0.0.0         2.2.2.2          0024  0x800000ea 0x1e22         0
                 SendCnt: 0       RxmtCnt: 0       Status: Stale

                  Network-LSA (Area 0.0.0.1)
-------------------------------------------------------------------------
 Link state ID   Origin router    Age   SeqNumber  Checksum
 0.15.0.8        2.2.2.2          0019  0x80000007 0x599e
                 SendCnt: 0       RxmtCnt: 0       Status: Stale

                  Intra-Area-Prefix-LSA (Area 0.0.0.1)
-------------------------------------------------------------------------
 Link state ID   Origin router    Age   SeqNumber  Checksum  Prefix  Referenc
 0.0.0.2         2.2.2.2          3600  0x80000002 0x2eed         2  Network-LSA
                 SendCnt: 0       RxmtCnt: 0       Status: Stale
 0.0.0.1         2.2.2.2          0018  0x80000001 0x1478         1  Network-LSA
                 SendCnt: 0       RxmtCnt: 0       Status: Stale

Table 151: Command output

Field

Description

SendCnt

Number of interfaces to send the LSA.

RxmtCnt

Number of LSAs in the link state retransmission list.

Status

LSA status:

  • Normal.

  • Delayed.

  • Maxage routed—The LSA has reached its maximum age.

  • Self originated.

  • Stale—A self-originated LSA is received during the GR process.