The display bgp multicast routing-table peer command displays the routes received from or sent to a specified MBGP peer.
Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support this command.
display bgp multicast routing-table peer peer-address { advertised-routes [ network [ { mask | mask-length } [ longer-prefixes ] ] ] | received-routes [ active ] | accepted-routes }
display bgp multicast routing-table peer peer-address received-routes network [ { mask | mask-length } [ longer-prefixes | original-attributes ] ]
Parameter | Description | Value |
---|---|---|
peer-address | Specifies the address of an MBGP peer. | The value is in dotted decimal notation. |
advertised-routes | Indicates the routes sent to a specified peer. | - |
network | Specifies the IPv4 network address. | The value is in dotted decimal notation. |
mask | Specifies the address mask. | The value is in dotted decimal notation. |
mask-length | Specifies the mask length. | The value is an integer that ranges from 0 to 32. |
longer-prefixes | Uses the longest match rule to select routes. | - |
received-routes | Indicates the routes received from a specified peer. | - |
active | Displays the active routes received from the specified peer. | - |
accepted-routes | Displays routing information that is received from neighbors and matches the filter policy. | - |
original-attributes | Displays the original attributes of a public route from a specified BGP peer before the route is filtered by the local import policy. To display such attributes, the peer keep-all-routes command must have been run. | - |
You can run the display bgp multicast routing-table peer command to check routes received of a specified MBGP peer.
# Display the routes sent to multicast peer 10.10.1.11.
<HUAWEI> display bgp multicast routing-table peer 10.10.1.11 advertised-routes
BGP local router ID is 10.12.12.9
Status codes: * - valid, > - best, d - damped,
h - history, i - internal, s - suppressed, S - Stale
Origin : i - IGP, e - EGP, ? - incomplete
Total Number of Routes: 9
Network NextHop MED LocPrf PrefVal Path/Ogn
*>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 |
---|---|
BGP local router ID |
BGP local router ID |
Total Number of Routes |
Total number of routes |
Network |
Network address in the MBGP routing table |
NextHop |
Next hop address for forwarding packets |
MED |
Multi-Exit discriminator |
LocPrf |
Local preference |
PrefVal |
Preferred value of protocols |
Path/Ogn |
AS path and Origin attribute |