display bgp mdt all routing-table

Function

The display bgp mdt all routing-table command displays all BGP Multicast Distribution Tree (MDT) routes.

Format

display bgp mdt all routing-table peer remoteIpv4Addr advertised-routes ipv4-address

display bgp mdt all routing-table peer remoteIpv4Addr received-routes ipv4-address

Parameters

Parameter Description Value
advertised-routes

Displays the routes advertised to a specified peer.

-

ipv4-address

Specifies an IPv4 network address.

It is in dotted decimal notation.

peer remoteIpv4Addr

Displays the routes of the specified BGP peer.

The value is in dotted decimal notation.

received-routes

Displays the routes received from the specified peer.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
bgp read

Usage Guidelines

Usage Scenario

The display bgp mdt all routing-table command displays all BGP Multicast Distribution Tree (MDT) routes.

Example

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

# Display routes sent to peer 1.1.1.1.
<HUAWEI> display bgp mdt all routing-table peer 1.1.1.1 advertised-routes
 BGP Local router ID is 3.3.3.3
 Status codes: * - valid, > - best, d - damped, x - best external, a - add path,
               h - history,  i - internal, s - suppressed, S - Stale
               Origin : i - IGP, e - EGP, ? - incomplete
 RPKI validation codes: V - valid, I - invalid, N - not-found

 Total number of routes from all PE: 1
 Route Distinguisher: 100:1

        Network            NextHop        MED        LocPrf    PrefVal Path/Ogn

 *>     3.3.3.3/32         0.0.0.0         0          100        0       ?
# Display routes received from peer 1.1.1.1.
<HUAWEI> display bgp mdt all routing-table peer 1.1.1.1 received-routes
 BGP Local router ID is 3.3.3.3
 Status codes: * - valid, > - best, d - damped, x - best external, a - add path,
               h - history,  i - internal, s - suppressed, S - Stale
               Origin : i - IGP, e - EGP, ? - incomplete
 RPKI validation codes: V - valid, I - invalid, N - not-found

 Total number of routes from all PE: 1
 Route Distinguisher: 100:1

        Network            NextHop        MED        LocPrf    PrefVal Path/Ogn

 *>i    1.1.1.1/32         1.1.1.1         0          100        0       ?
Table 1 Description of the display bgp mdt all routing-table command output
Item Description
Total number of routes from all PE

Number of routes from all PEs.

Route Distinguisher

Route distinguisher.

Network

Network address in the BGP routing table.

NextHop

Next-hop address of the sent packets.

MED

MED of a route.

LocPrf

Local preference of a route.

PrefVal

Preferred value by a protocol.

Path/Ogn

AS_Path number and Origin attribute.

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