< Home

display mrt routing-table vpn-instance

Function

The display mrt routing-table vpn-instance command displays the MRT routing table of a VPN instance.

Format

display mrt routing-table vpn-instance vpn-instance-name [ ip-address [ mask | mask-length ] [ longer-match ] ] [ verbose ]

Parameters

Parameter Description Value
vpn-instance-name Specifies a VPN instance. vpn-instance-name specifies the name of the VPN instance. The value must be an existing VPN instance name.
ip-address Specifies a destination IP address. The address is in dotted decimal notation.
mask Specifies mask. The mask is in dotted decimal notation.
mask-length Specifies mask length. The value is a decimal integer that ranges from 0 to 32.
longer-match Displays only routes that match the specified network or mask. -
verbose Displays detailed information about active and inactive routes. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can specify different parameters to view the specific routing information.

Example

# Display the MRT routing table of the IPv4 VPN instance named vpn1.

<HUAWEI> display mrt routing-table vpn-instance vpn1
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: MSR
         Destinations : 1        Routes : 1
 
Destination/Mask  Proto  Pre  Cost  Flags  NextHop  Interface
 
  10.5.5.1/32     MSR    255    0     R    10.1.1.1    Vlanif100
Table 1 Description of the display mrt routing-table vpn-instance command output

Item

Description

Route Flags

Route flag that identifies the attribute of a route.
  • R: indicates an iterated route.

  • D: indicates that the route is downloaded to the FIB table.

Routing Tables: MSR

MRT 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

Route preference.

Cost

Route cost.

Flags

Route flags in the header of the routing table.

NextHop

Next hop of a route.

Interface

Outbound interface to a reachable next hop.

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