display ospfv3 routing (all views)

Function

The display ospfv3 routing command displays the OSPFv3 routing table.

Format

display ospfv3 [ process-id ] routing [ [ ipv6-address prefix-length ] | ase-routes | inter-routes | intra-routes | nssa-routes ] [ verbose ] [ age { min-value min-age-value | max-value max-age-value } * ]

display ospfv3 [ process-id ] routing statistics

Parameters

Parameter Description Value
process-id

Specifies an OSPFv3 process ID.

The value is an integer ranging from 1 to 4294967295.

ipv6-address

Specifies an IPv6 address.

The address is a 32-bit hexadecimal number, in the format of X:X:X:X:X:X:X:X.

prefix-length

Specifies the length of a prefix.

The value is an integer ranging from 0 to 128.

ase-routes

Displays the statistics of OSPFv3 AS external routes.

-

inter-routes

Displays the statistics of OSPFv3 inter-area routes.

-

intra-routes

Displays the statistics of OSPFv3 intra-area routes.

-

nssa-routes

Displays the statistics of OSPFv3 NSSA routes.

-

verbose

Displays detailed information about OSPFv3 routes.

-

age

Displays routing table information based on an aging time.

-

min-value min-age-value

Displays OSPFv3 routing table information with the aging time greater than or equal to min-age-value.

The value is an integer ranging from 0 to 4294967295.

max-value max-age-value

Displays OSPFv3 routing table information with the aging time less than or equal to max-age-value.

The value is an integer ranging from 0 to 4294967295.

statistics

Displays the statistics of all routing tables.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
ospf read

Usage Guidelines

Usage Scenario

To view information about the OSPFv3 routing table, run the display ospfv3 routing command. The command output helps you troubleshoot OSPFv3 faults.

Example

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

# Display routing information about the OSPFv3 NSSA.
<HUAWEI> display ospfv3 routing nssa-routes
Codes : E2 - Type 2 External, E1 - Type 1 External, IA - Inter-Area,
        N - NSSA
Flags : A - Added to URT6, LT - Locator Routing

OSPFv3 Process (1)
     Destination                                                         Metric
       Next-hop
E2   2001:DB8:6::1/128                                                        1
N      via FE80::3A6D:7CFF:FE61:1200, Vlanif13, Flags : A
# Display the OSPFv3 routing table.
<HUAWEI> display ospfv3 routing
Codes : E2 - Type 2 External, E1 - Type 1 External, IA - Inter-Area,
         N - NSSA
 Flags: A - Added to URT6, LT - Locator Routing

 OSPFv3 Process (1)
   Destination                                                    Metric
     Nexthop
   2001:DB8:1::/64                                                      3124
     via FE80::1441:0:E213:1, GigabitEthernet0/1/0, Flags :A
     Priority      :Low
Table 1 Description of the display ospfv3 routing (all views) command output
Item Description
Codes

Route type:

  • E2: Type 2 external route.
  • E1: Type 1 external route.
  • IA: Inter-area route.
  • N: NSSA route.
Flags

Route flags.

A: Indicates that the route is added to the IPv6 unicast routing table.

OSPFv3 Process

OSPFv3 process.

Destination

Destination address.

Metric

Cost to the destination.

Next-hop

Next hop to the destination.

via

Link-local address of the next hop.

Nexthop

Next hop to the destination.

Priority

The priority of OSPFv3.

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