< Home

display mrt routing-table

Function

The display mrt routing-table command displays MRT routes.

Format

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

Parameters

Parameter Description Value

vpn-instance 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.

It is an integer ranging from 0 to 32.

verbose

Displays detailed information about active and inactive routes. If the parameter verbose is not specified, detailed information about active routes is displayed.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can specify different parameters to view specific routing information.

Example

# Display information about all MRT routes.

<HUAWEI> display mrt routing-table
Route Flags: R - relay, D - download to fib, T - to vpn-instance
------------------------------------------------------------------------------
Routing Tables: MRT
         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
Choose Columns...
Table 1 Description of the display mrt routing-table command output

Item

Description

Route Flags

Flag of a route:
  • R: indicates that the route is an iterated route.

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

  • T: indicates a route whose next hop belongs to a VPN instance.

Routing Tables: MRT

IMRT 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 that learns a route.

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.

# Display the detailed information of the specified routes.

<HUAWEI> display mrt routing-table 10.12.12.12 verbose
Route Flags: R - relay, D - download to fib, T - to vpn-instance
------------------------------------------------------------------------------
Routing Table : MRT
Summary Count : 1

Destination: 10.12.12.12/32
      Protocol: MSR            Process ID: 0
   Preference: 1                     Cost: 0
      NextHop: 10.11.11.12      Neighbour: 0.0.0.0
        State: Active Adv Relied      Age: 00h04m49s
          Tag: 0                   Priority: low
        Label: NULL                 QoSInfo: 0x0
   IndirectID: 0x80000002
 RelayNextHop: 0.0.0.0            Interface: Vlanif100
     TunnelID: 0x0                    Flags: R
Choose Columns...
Table 2 Description of the display mrt routing-table verbose command output

Item

Description

Routing Table: MRT

MRT routing table.

Summary Count

Number of the destination network and host.

Destination

Address and mask length of the destination network or host.

Protocol

Routing protocol that learns a route.

Process ID

Process ID of the routing protocol.

Preference

Route preference.

Cost

Route cost.

NextHop

Next hop of a route.

Neighbour

Address of the neighbor.

State

Status of routes:
  • Active: indicates active routes.

  • Invalid: indicates invalid routes.

  • Inactive: indicates inactive routes.

  • NoAdv: indicates the routes that cannot be advertised.

  • Adv: indicates the routes that can be advertised.

  • Del: indicates the routes to be deleted.

  • Relied: indicates the route that finds the next hop and outbound interface or the route that finds the tunnel during packet forwarding.
  • WaitQ: indicates the route that does not find the next hop or outbound interface or the route that does not find the tunnel.

  • Stale: indicates the routes with the stale flag. The routes are used in GR.

Age

Time that elapsed since a route is generated.

Tag

Administrative tag for routes.

Priority

Priority of a route.

Label

MPLS label allocated to a route.

QoSInfo

QoS information.

IndirectID

ID of the indirect next hop.

RelayNextHop

Relay next hop.

Interface

Outbound interface through which the next hop is reachable.

TunnelID

Tunnel ID.

Flags

Route flags in the header of the routing table.

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