The display bgp multicast routing-table peer command displays the routes received from or sent to a specified MBGP peer.
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 ] ]
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. |
- |
The actual command output varies according to the device. The command output here is only an example.
<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 ?
<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 ?
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. |