display bgp multicast routing-table peer

Function

The display bgp multicast routing-table peer command displays the routes received from or sent to a specified MBGP peer.

Format

display bgp multicast routing-table peer remoteIpv4Addr { accepted-routes | not-accepted-routes }

display bgp multicast routing-table peer remoteIpv4Addr advertised-routes [ statistics ]

display bgp multicast routing-table peer remoteIpv4Addr received-routes [ statistics ]

display bgp multicast routing-table peer remoteIpv4Addr received-routes active [ statistics ]

display bgp multicast routing-table peer remoteIpv4Addr received-routes network [ { mask-ipv4 | mask-length } [ original-attributes ] ]

Parameters

Parameter Description Value
remoteIpv4Addr

Specifies the IP address of an MBGP peer.

It is in dotted decimal notation.

accepted-routes

Displays routes accepted by routing policy.

-

not-accepted-routes

Displays routes not accepted by routing policy.

Information about the routes that fail to match the route-policy can be displayed only after the keep-all-routes or peer keep-all-routes command is configured.

-

advertised-routes

Displays the routes sent to the specified peer.

-

statistics

Displays statistics about the routes received from or sent to the specified MBGP peer.

-

received-routes

Displays the routes received from the specified peer.

-

active

Specifies the number of active routes.

-

network

Specifies the IPv4 network address.

It is in dotted decimal notation.

mask-ipv4

Specifies the mask.

It is in dotted decimal notation.

mask-length

Specifies the length of the mask.

The value is an integer ranging from 0 to 32.

original-attributes

Displays original attributes of specified routes.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
bgp read

Usage Guidelines

Usage Scenario

Users can run this command to view the routing information about a specified multicast peer.

Example

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

# Display the routes received from the peer 10.10.1.11.
<HUAWEI> display bgp multicast routing-table peer 10.10.1.11 accepted-routes
BGP Local router ID is 10.10.10.9
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: 2
    Network     NextHop MED LocPrf PrefVal Path/Ogn
*>i 4.4.4.4/32  10.7.1.2 0  100    0          ?
*>i 10.1.1.0/24 10.7.1.2 0  100    0          ?
# Display the routes sent to the peer 10.10.1.11.
<HUAWEI> display bgp multicast routing-table peer 10.10.1.11 advertised-routes
 BGP local router ID is 10.10.10.9
 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: 9
      Network            NextHop        MED        LocPrf    PrefVal Path/Ogn
 *>i  4.4.4.4/32         10.7.1.2        0          100        0      ?
 *>i  10.1.1.0/24        10.7.1.2        0          100        0      ?
 *>i  10.1.2.0/24        10.7.1.2        0          100        0      ?
 *>   10.2.1.0/24        0.0.0.0         0                     0      ?
 *>   10.7.1.0/24        0.0.0.0         0                     0      ?
 *>i  10.7.1.0/24        10.7.1.2        0          100        0      ?
 *>i  10.7.1.1/32        10.7.1.2        0          100        0      ?
 *>   10.7.1.2/32        0.0.0.0         0                     0      ?
 *>   10.10.1.0/24       0.0.0.0         0                     0      ?
Table 1 Description of the display bgp multicast routing-table peer command output
Item Description
Network

Indicates the network address in the MBGP routing table.

NextHop

Indicates the next-hop address for the packet.

MED

Indicates the MED of the route.

LocPrf

Indicates the local preference.

PrefVal

Indicates the preferred value.

Path/Ogn

Indicates the AS_Path number and the Origin attribute.

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