< Home

display mrt routing-table vpn-instance

Function

The display mrt routing-table vpn-instance command displays the multicast routing table (MRT) routing table of the VPN instance.

Format

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

Parameters

Parameter Description Value
vpn-instance-name Specifies the name of a VPN instance. The name is a string of 1 to 31 characters.
ipv4-address Specifies an IPv4 network 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. If the parameter verbose is not specified, only the summary of active routes is displayed.

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.

<sysname> 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
 
  5.5.5.5/32     MSR  255     0     R    1.1.1.1   GigabitEthernet0/0/0
Table 1 Description of the display mrt routing-table vpn-instance command output

Item

Description

Route Flags

Indicates the route flag:
  • R: indicates an iterated route.

  • D: indicates that the route is downloaded to the Forward Information Base (FIB) table.

Routing Tables: MSR

Indicates an MRT routing table.

Destinations

Indicates the total number of destination networks or hosts.

Routes

Indicates the total number of routes.

Destination/Mask

Indicates the address and mask length of the destination network or host.

Proto

Indicates the protocol through which routes are learned.

Pre

Indicates the preference.

Cost

Indicates the route cost.

Flags

Indicates the route flag, that is, Route Flags in the header of the routing table.

NextHop

Indicates the next hop.

Interface

Indicates the outbound interface through which the next hop is reachable.

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