< Home

display mbgp routing-table

Function

The display mbgp routing-table command displays MBGP routes.

Format

display mbgp routing-table [ ipv4-address [ mask | mask-length ] ] [ verbose ]

Parameters

Parameter Description Value

ipv4-address

Specifies the destination IP address in dotted decimal notation.

-

mask | mask-length

Specifies mask in dotted decimal notation or mask-length.

-

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 the specific routing information.

Example

# Display information about all MBGP routes.

<HUAWEI> display mbgp routing-table
Route Flags: R - relay, D - download to fib, T - to vpn-instance
------------------------------------------------------------------------------
Routing Tables: MBGP
         Destinations : 1        Routes : 1
 
Destination/Mask  Proto  Pre  Cost  Flags  NextHop  Interface
 
  10.5.5.1/32     MBGP   255     0     R   10.1.1.1  Vlanif10
Table 1 Description of the display mbgp 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: MBGP

Indicates an MBGP 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.

# Display the detailed information of the specified routes.

<HUAWEI> display mbgp routing-table 5.5.5.1 verbose
Routing Table : MBGP
Summary Count : 1

  Destination: 10.5.5.1/32
     Protocol: MBGP              Process ID: 0
   Preference: 255                     Cost: 0
      NextHop: 10.1.1.1           Neighbour: 0.0.0.0
        State: Active Adv GotQ          Age: 00h43m25s
          Tag: 0                   Priority: 0
        Label: NULL                 QoSInfo: 0x0
 RelayNextHop: 0.0.0.0            Interface: Vlanif 10
     TunnelID: 0x0                    Flags: R
Table 2 Description of the display mbgp routing-table verbose command output

Item

Description

Destination

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

Protocol

Indicates the routing protocol.

Process ID

Indicates the process ID of the routing protocol.

Preference

Indicates the preference of the route.

Cost

Indicates the route cost.

NextHop

Indicates the next hop.

Neighbour

Indicates the neighbor.

State

Indicates the 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.

  • GotQ: indicates the route that finds the next hop and outbound interface or the route that finds the tunnel.

  • 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

Indicates the lifetime of the route.

Tag

Indicates the administrative tag for routes.

Priority

Indicates the priority.

Label

Indicates the allocated MPLS label.

QoSInfo

Indicates QoS information.

RelayNextHop

Indicates the relay next hop.

Interface

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

Tunnel ID

Indicates the tunnel ID.

Flags

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

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