< Home

display ospfv3 lsdb

Function

The display ospfv3 lsdb command displays the OSPFv3 LSDB.

Format

display ospfv3 [ process-id ] lsdb [ area area-id ] [ originate-router advertising-router-id | self-originate ] [ { router | network | inter-router [ asbr-router asbr-router-id ] | { inter-prefix | nssa } [ ipv6-address prefix-length ] | link | intra-prefix | grace } [ link-state-id ] ]

display ospfv3 [ process-id ] lsdb [ originate-router advertising-router-id | self-originate ] external [ ipv6-address prefix-length ] [ link-state-id ]

display ospfv3 [ process-id ] lsdb statistics

Parameters

Parameter Description Value

process-id

Identifies the OSPFv3 process ID.

The value is an integer ranging from 1 to 65535.

area area-id

Specifies the OSPFv3 area ID. The value of the area ID can be a decimal integer or in the IPv4 address format.

If the value is a decimal integer, it ranges from 0 to 4294967295. If the value is an IPv4 address, it specifies the matched IP address in dotted decimal notation.

external

Displays the AS-external LSA in the LSDB. If the area parameter is selected, the external parameter cannot be selected.

-

grace

Displays the Grace-LSA in the LSDB.

-

inter-prefix

Displays the Inter-area-prefix LSA in the LSDB.

-

nssa

Displays the NSSA in the LSDB.

-

inter-router

Displays the Inter-area-router LSA in the LSDB.

-

intra-prefix

Displays the Intra-area-prefix LSA in the LSDB.

-

link

Displays the Link-local LSA in the LSDB.

-

network

Displays the Network-LSA in the LSDB.

-

router

Displays the Router-LSA in the LSDB.

-

link-state-id

Indicates the link state ID.

The value is in dotted decimal notation.

originate-router advertising-router-id

Specifies the Router ID of the switch that advertises LSA packet.

The value is in dotted decimal notation.

asbr-router asbr-router-id

Specifies the router ID of the ASBR.

The value is in dotted decimal notation.

self-originate

Displays LSAs in the LSDB that are advertised by the local switch.

-

ipv6-address prefix-length

Specifies the IPv6 destination address and the length of the prefix.

ipv6-address is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X. prefix-length is an integer ranging from 0 to 128.

statistics

Indicates the statistics of the LSDB.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can run the display ospfv3 lsdb command to check the OSPFv3 LSDB.

Example

# Display the OSPFv3 LSDB.

<HUAWEI> display ospfv3 lsdb
* indicates STALE LSA

           OSPFv3 Router with ID (10.5.5.5) (Process 1)
               Link-LSA (Interface Vlanif1002)

Link State ID   Origin Router    Age   Seq#       CkSum  Prefix
0.0.0.71        10.2.2.2         0995  0x8000000c 0xa44c      1
0.0.0.69        10.5.5.5         0621  0x8000000f 0x20ff      1

               Router-LSA (Area 0.0.0.0)

Link State ID   Origin Router    Age   Seq#       CkSum    Link
0.0.0.0         10.2.2.2         0565  0x8000008b 0xa54f      1
0.0.0.0         10.5.5.5         0616  0x80000014 0x243c      1

               Network-LSA (Area 0.0.0.0)

Link State ID   Origin Router    Age   Seq#       CkSum
0.0.0.71        10.2.2.2         0565  0x8000000a 0x585c

               Inter-Area-Prefix-LSA (Area 0.0.0.0)

Link State ID   Origin Router    Age   Seq#       CkSum
0.0.0.1         10.2.2.2         0320  0x8000000c 0x6a0f
0.0.0.2         10.2.2.2         1637  0x8000000b 0xe1a3
0.0.0.1         10.5.5.5         0616  0x8000000d 0x81f7

               Intra-Area-Prefix-LSA (Area 0.0.0.0)

Link State ID   Origin Router    Age   Seq#       CkSum  Prefix  Reference
0.0.0.1         10.2.2.2         0564  0x8000000e 0x79a6      1  Network-LSA

               Router-LSA (Area 0.0.0.1)

Link State ID   Origin Router    Age   Seq#       CkSum    Link
0.0.0.0         10.5.5.5         0621  0x8000000b 0x8c84      0

               Inter-Area-Prefix-LSA (Area 0.0.0.1)

Link State ID   Origin Router    Age   Seq#       CkSum
0.0.0.1         10.5.5.5         0621  0x8000000a 0x8f08
0.0.0.2         10.5.5.5         0612  0x8000000a 0x105d
0.0.0.3         10.5.5.5         0612  0x8000000a 0x85f2

               Intra-Area-Prefix-LSA (Area 0.0.0.1)

Link State ID   Origin Router    Age   Seq#       CkSum  Prefix  Reference
0.0.0.1         10.5.5.5         0621  0x8000000b 0xab89      1  Router-LSA

               Router-LSA (Area 0.0.0.3)

Link State ID   Origin Router    Age   Seq#       CkSum    Link
0.0.0.0         10.5.5.5         0621  0x8000000b 0x8092      0

               Inter-Area-Prefix-LSA (Area 0.0.0.3)

Link State ID   Origin Router    Age   Seq#       CkSum
0.0.0.1         10.5.5.5         0617  0x8000000b 0x85f5
0.0.0.2         10.5.5.5         0621  0x8000000a 0x8511
0.0.0.3         10.5.5.5         0612  0x8000000a 0x0666
0.0.0.4         10.5.5.5         0612  0x8000000a 0x7bfb

               NSSA-external-LSA (Area 0.0.0.3)

Link State ID   Origin Router    Age   Seq#       CkSum  Type
0.0.0.1         10.5.5.5         0626  0x8000000a 0xe72a E2
Table 1 Description of the display ospfv3 lsdb command output

Item

Description

Link-LSA

Description of the Link-LSA

Router-LSA

Description of the Router-LSA

Network-LSA

Description of the Network-LSA

Inter-Area-Prefix-LSA

Description of the Inter-Area-Prefix-LSA

NSSA-external-LSA

Description of the NSSA-external-LSA

Intra-Area-Prefix-LSA

Description of the Intra-Area-Prefix-LSA

AS-External-LSA

Description of the AS-external-LSA

Link State ID

Link state ID in LSA header

Origin Router

switch that generates LSA

Age

Aging time of LSA

Seq#

Sequence number of LSA (from LSA header)

CkSum

Checksum of LSA

Link

Number of links in router LSA

Prefix

Number of prefixes in Link LSA

Reference

The Reference for Intra Area Prefix LSA, including Router-LSA and Network-LSA

Type

The type of the external routes:

  • E1: Type 1 external route

  • E2: Type 2 external route

# Display the Link-local LSA in the LSDB.

<HUAWEI> display ospfv3 lsdb link
            OSPFv3 Router with ID (10.2.2.2) (Process 1)

                Link-LSA (Interface Vlanif10)
  LS age: 11
  LS Type: Link-LSA
  Link State ID: 0.0.2.6
  Originating Router: 10.2.2.2
  LS Seq Number: 0x80000002
  Retransmit Count: 0
  Checksum: 0xEFFA
  Length: 56
  Priority: 1
  Options: 0x000013 (-|R|-|-|E|V6)
  Link-Local Address: FE80::1441:0:E213:1
  Number of Prefixes: 1

    Prefix: 2000:1::/64
     Prefix Options: 0 (-|-|-|-|-)
Table 2 Description of the display ospfv3 lsdb link command output

Item

Description

LS age

Aging time of LSA

LS Type

Type of LSA:
  • Router-LSA

  • Network-LSA

  • Inter-Area-Prefix-LSA

  • Inter-Area-Router-LSA

  • AS-external-LSA

  • Link-LSA

  • Intra-Area-Prefix-LSA

  • NSSA-LSA

Link State ID

Link state ID in LSA header

Originating Router

Router that generates LSA

LS Seq Number

Sequence number of LSA (from LSA header)

Retransmit Count

Total number of nodes in the retransmission list

Checksum

Checksum of LSA

Length

Length of the LSA

Priority

Priority of the interface that corresponds to the link

Options

Value of options of the link

Link-Local Address

Link local address

Number of Prefixes

Number of IPv6 prefixes in the LSA

Prefix

IPv6 prefix

Prefix Options

Value of options of the prefix

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