display ip routing-table all-vpn-instance

Function

The display ip routing-table all-vpn-instance command displays information about IPv4 routing tables of all VPN instances.

Format

display ip routing-table all-vpn-instance [ verbose ]

display flowspec routing-table [ ip-address [ [ mask ] | [ mask-length ] ] [ longer-match ] ] [ verbose ]

Parameters

Parameter Description Value
ip-address

Specifies the destination IP address.

The value is in dotted decimal notation.

mask

Specifies the mask length.

The mask length is an integer ranging from 0 to 32.

mask-length

Specifies the mask length. A 32-bit mask is represented by consecutive 1s, and the mask in dotted decimal notation can be replaced by the mask length.

The value is an integer that ranges from 0 to 32.

longer-match

Displays the routes matching the specified network or mask.

-

verbose

Displays detailed information about all the routes in the routing table, including active and inactive routes. If this parameter is not specified, only brief information about active routes is displayed.

-

all-vpn-instance

Displays information about routes of all VPN instances.

-

flowspec

BGP Flow Specification routes.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
route-base read

Usage Guidelines

Usage Scenario

When the verbose parameter is not specified, information about only one route is displayed in each line. The contents include the destination address, mask length, protocol, priority, route cost, route flag, next hop, and outbound interface. This command displays only the preferred routes.

Example

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

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

Destination/Mask    Proto   Pre  Cost        Flags NextHop         Interface

      127.0.0.0/8   Direct  0    0             D   127.0.0.1       InLoopBack0
     10.128.0.0/16  Direct  0    0             D   10.128.240.168  LoopBack1023
 10.128.240.168/32  Direct  0    0             D   127.0.0.1       LoopBack1023
 10.128.255.255/32  Direct  0    0             D   127.0.0.1       LoopBack1023
255.255.255.255/32  Direct  0    0             D   127.0.0.1       InLoopBack0
------------------------------------------------------------------------------
Routing Table : vpna
         Destinations : 2        Routes : 2         

Destination/Mask    Proto   Pre  Cost        Flags NextHop         Interface

      127.0.0.0/8   Direct  0    0             D   127.0.0.1       InLoopBack0
255.255.255.255/32  Direct  0    0             D   127.0.0.1       InLoopBack0
------------------------------------------------------------------------------
Routing Table : vpnb
         Destinations : 2        Routes : 2         
                
Destination/Mask    Proto   Pre  Cost        Flags NextHop         Interface

      127.0.0.0/8   Direct  0    0             D   127.0.0.1       InLoopBack0
255.255.255.255/32  Direct  0    0             D   127.0.0.1       InLoopBack0
# Display summaries of the current BGP Flow Specification routing table.
<HUAWEI> display flowspec routing-table
Route Flags: R - relay, D - download to fib, T - to vpn-instance, B - black hole route
------------------------------------------------------------------------------
         Destinations : 1        Routes : 1         

Destination/Mask    Proto   Pre  Cost        Flags NextHop         Interface

      10.0.0.1/32   IBGP    255  1             RD  7.7.7.7         Tunnel1
                    IBGP    255  1             RD  7.7.7.7         Tunnel2
                    IBGP    255  1             RD  7.7.7.7         Tunnel3
                    IBGP    255  1             RD  7.7.7.7         Tunnel4
Table 1 Description of the display ip routing-table all-vpn-instance command output
Item Description
Route Flags

Route flag:

  • R: indicates a recursive route.
  • D: indicates a route that is downloaded to the FIB.
  • T: indicates a route whose next hop belongs to a VPN instance.
  • B: indicates a black-hole rout.
Routing Table

Routing Table.

Destinations

Total number of destination networks or hosts.

Routes

Total number of routes.

Destination/Mask

Address and mask length of the destination network or host.

Proto

Protocol through which routes are learned.

Pre

Priority.

Cost

Route cost.

Flags

Route flag in the heading of the routing table.

NextHop

Next hop.

Interface

Outbound interface through which the next hop is reachable.

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