display ip routing-table all-routes

Function

The display ip routing-table all-routes command displays information about the routes of public and all VPN instances.

Format

display ip routing-table all-routes

display ipv6 routing-table all-routes

Parameters

Parameter Description Value
ipv6

Specifies IPv6 routes.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
route-base read

Usage Guidelines

Usage Scenario

The display ip routing-table all-routes command displays information about the routes of public and all VPN instances.

Example

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

# Displays information about the IPv4 routes of public and all VPN instances.
<HUAWEI> display ip routing-table all-routes
Route Flags: R - relay, D - download to fib, T - to vpn-instance, B - black hole route
------------------------------------------------------------------------------
Routing Table : _public_
         Destinations : 4        Routes : 4        

Destination/Mask    Proto   Pre  Cost        Flags NextHop         Interface

      127.0.0.0/8   Direct  0    0             D  127.0.0.1       InLoopBack0
      127.0.0.1/32  Direct  0    0             D  127.0.0.1       InLoopBack0
127.255.255.255/32  Direct  0    0             D  127.0.0.1       InLoopBack0
255.255.255.255/32  Direct  0    0             D  127.0.0.1       InLoopBack0

Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Table : vrfa
         Destinations : 1        Routes : 1        

Destination/Mask    Proto   Pre  Cost        Flags NextHop         Interface

255.255.255.255/32  Direct  0    0             D  127.0.0.1       InLoopBack0
Table 1 Description of the display ip routing-table all-routes command output
Item Description
Route Flags

Route flags.

  • R: indicates that the route is a recursive route.
  • D: indicates that the route is delivered to the FIB table.
Routing Table

Routing Table.

Destinations

Total number of destination networks or hosts.

Routes

Total number of routes.

Proto

Protocol through which routes are learned.

Pre

Priority.

Cost

Route cost.

Flags

Route flags.

NextHop

Total number of routes.

Interface

Outbound interface through which the next hop is reachable.

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