< Home

display ospfv3 routing

Function

The display ospfv3 routing command displays the OSPFv3 routing table.

Format

display ospfv3 [ process-id ] routing [ ipv6-address prefix-length | abr-routes | asbr-routes | intra-routes | inter-routes | ase-routes | nssa-routes | [ statistics ] [ uninstalled ] ]

Parameters

Parameter Description Value
process-id Identifies the OSPFv3 process ID. The value is an integer ranging from 1 to 65535.
ipv6-address Indicates the IPv6 address. The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X.
prefix-length Specifies the length of the prefix. The value is an integer ranging from 0 to 128.
abr-routes Displays the routing table of ABR in OSPFv3. -
asbr-routes Displays routing table of ASBR in OSPFv3. -
intra-routes Displays the statistics of OSPFv3 routes in an area. -
inter-routes Displays the statistics of OSPFv3 routes between areas. -
ase-routes Displays the statistics of OSPFv3 routes outside an AS. -
nssa-routes Displays the statistics of OSPFv3 routes in an NSSA. -
statistics Displays the statistics of all routing tables. -
uninstalled Displays the routes are not installed into the RM. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

By using this command with different parameters, you can view the routes of a specified interface or next hop.

The command output can help you troubleshoot OSPFv3 faults.

Example

# Display the OSPFv3 routing table.

<HUAWEI> display ospfv3 routing
Codes : E2 - Type 2 External, E1 - Type 1 External, IA - Inter-Area,
        N - NSSA, U - Uninstalled, D - Denied by Import Policy
OSPFv3 Process (1)
   Destination                                                 Metric
     Next-hop
     FC00:0:0:3::1/128                                             0
      directly connected, LoopBack1
  IA FC00:0:0:4::1/128                                             1
       via FE80::200:FF:FE00:DC00, Vlanif1002
  IA FC00:0:0:5::1/128                                             1
       via FE80::200:FF:FE00:DC00, Vlanif1002
     FC00:0:0:6::/64                                                     1
      directly connected, Vlanif1002
Table 1 Description of the display ospfv3 routing command output

Item

Description

Codes

The following information provides the full spelling and explanation:

  • E2: Type 2 external route
  • E1: Type 1 external route
  • IA: Inter-area route
  • N: NSSA route
  • U: OSPFv3 routers that not advertise to IPv6 router table
  • D: OSPFv3 routes denied by import route policy

OSPFv3 Process

OSPFv3 process

Destination

Destination address

Metric

Metric to the destination

Next-hop

Next hop to the destination

# Displays the routes are not installed into the RM.

<HUAWEI> display ospfv3 routing uninstalled
Codes : E2 - Type 2 External, E1 - Type 1 External, IA - Inter-Area,N - NSSA, U - Uninstalled

OSPFv3 Process (1)
   Destination                                                   Metric
     Next-hop
  N    via FE80:1000:2000:3000:4000:5000:6000:7000, Vlanif10               
  U E2 FC00:0:0:1::1/128                                         5   
Table 2 Description of the display ospfv3 routing uninstalled command output

Item

Description

N

NSSA

# Display statistics about the OSPFv3 routes that are not installed into the RM.

<HUAWEI> display ospfv3 routing statistics uninstalled
OSPFv3 Process (1) UNINSTALLED ROUTES STATISTICS
      Intra-area-routes   :   2
      Inter-area-routes   :   0
      External-routes     :   1
Table 3 Description of the display ospfv3 routing statistics uninstalled command output

Item

Description

Intra-area-routes

Number of intra-area routes

Inter-area-routes

Number of inter-area routes

External-routes

Number of external routes

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