The display bgp multicast routing-table community command displays routing information of a specified MBGP community.
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 community [ aa:nn | community-number ] & <1-29> [ internet | no-advertise | no-export | no-export-subconfed ] * [ whole-match ]
Parameter | Description | Value |
---|---|---|
aa:nn | Specifies the MBGP community number. You can specify a maximum of 29 MBGP communities. | Both aa and nn are integers ranging from 0 to 65535. |
community-number | Specifies the MBGP community number. You can specify a maximum of 29 community numbers. | The value is an integer that ranges from 0 to 4294967295. |
internet | Displays the MBGP routes with the Internet community attribute. The Internet community attribute indicates the matching routes sent to all remote peers. | - |
no-advertise | Displays MBGP routes with the no-advertise community attribute. The no-advertise community attribute indicates that the matching routes are not sent to any peer. | - |
no-export | Indicates MBGP routes with the no-export community attribute. The no-expert community attribute indicates that the matching routes are not advertised to other ASs but to other sub-ASs in the confederation. | - |
no-export-subconfed | Displays MBGP routes with the no-export-subconfed community attribute. The no-export-subconfed community attribute indicates that the matching routes are not advertised outside the local AS. | - |
whole-match | Indicates precise matching. | - |
You can run the display bgp multicast routing-table community command to check routing information of a specified MBGP community.
# Display MBGP routing information of Community 100:100.
<HUAWEI> display bgp multicast routing-table community 100:100
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: 1
Network NextHop MED LocPrf PrefVal Community
*> 10.1.1.0/24 10.2.1.1 0 0 <100:100>
# Display MBGP routing information with the internet community attribute or that of Community 100:100.
<HUAWEI> display bgp multicast routing-table community 100:100 internet
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: 5 Network NextHop MED LocPrf PrefVal Community *> 10.1.1.1/32 10.1.1.2 0 0 <100:100>,internet *> 10.3.3.3/32 10.2.1.1 0 0 <100:100>,internet *> 10.1.1.0/24 10.2.1.1 0 0 <100:100>,internet *> 10.2.13.0/24 10.2.1.1 0 0 <100:100>,internet
Item |
Description |
---|---|
BGP local router ID |
BGP local router ID |
Status codes |
Status of a routing entry. |
Total Number of Routes |
Total number of routes in the routing table. |
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 |
Community |
Community attribute |