< 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 ] ]

display ospfv3 [ process-id ] routing uninstalled

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

Parameters

Parameter Description Value
process-id Identifies the OSPFv3 process ID. The value is an integer ranging from 1 to 65535.
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.

<sysname> 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
  U  2001:DB8:2::/64                                    1
     via FE80::2E0:48FF:FE66:2701, GigabitEthernet0/0/10
     2001:DB8:1::/64                                 3124
     via FE80::1441:0:E213:1, GigabitEthernet0/0/0
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.

<sysname> display ospfv3 routing uninstalled
  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
N    via FE80:1000:2000:3000:4000:5000:6000:7000, GigabitEthernet0/0/10
U E2 1111:2222:3333:4444:5555:6666:7777:8888/128                        5

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

<sysname> display ospfv3 routing statistics uninstalled
OSPFv3 Process (1) UNINSTALLED ROUTES STATISTICS
      Intra-area-routes   :   2
      Inter-area-routes   :   0
      External-routes     :   1
Table 2 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 >