The display bgp multicast routing-table command displays the MBGP routing information of a specified network in the MBGP routing table.
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 [ ip-address [ mask-length [ longer-prefixes ] | mask [ longer-prefixes ] ] ]
Parameter | Description | Value |
---|---|---|
ip-address | Specifies an IPv4 address. | The address is in dotted decimal notation. |
mask-length | Specifies the mask length of the IPv4 address. | The value is an integer that ranges from 0 to 32. |
mask | Specifies the mask of the IPv4 address. | The value is in dotted decimal notation. |
longer-prefixes | Matches routes whose masks are shorter than the specified mask length. | - |
If ip-address is not specified, this command will display all the information in the MBGP routing table.
# Display MBGP routing information.
<HUAWEI> display bgp multicast routing-table
BGP local router ID is 10.13.13.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: 14
Network NextHop MED LocPrf PrefVal Path/Ogn
*> 10.1.2.0/24 10.2.1.2 0 2?
*> 10.1.13.0/24 0.0.0.0 0 0 ?
*> 10.1.13.2/32 0.0.0.0 0 0 ?
*> 10.2.1.0/24 0.0.0.0 0 0 ?
*> 10.2.1.0/24 10.2.1.2 0 0 2?
*> 10.2.1.1/32 0.0.0.0 0 0 ?
*> 10.2.13.0/24 0.0.0.0 0 0 ?
*> 10.2.13.1/32 0.0.0.0 0 0 ?
*> 10.2.13.2/32 0.0.0.0 0 0 ?
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 |
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. |
<HUAWEI> display bgp multicast routing-table 192.168.1.1
BGP local router ID : 10.1.1.1 Local AS number : 100 Paths: 2 available, 0 best, 0 select BGP routing table entry information of 192.168.1.1/32: From: 10.2.2.2 (10.1.1.2) Route Duration: 00h01m15s Relay IP Nexthop: 0.0.0.0 Relay IP Out-Interface: Original nexthop: 172.16.1.2 Qos information : 0x0 AS-path 200, origin incomplete, MED 0, localpref 100, pref-val 0, internal, pre 255, invalid for IP unreachable Not advertised to any peer yet BGP routing table entry information of 192.168.1.1/32: From: 10.1.1.2 (10.1.1.2) Route Duration: 00h01m15s Relay IP Nexthop: 0.0.0.0 Relay IP Out-Interface: Original nexthop: 172.16.1.2 Qos information : 0x0 AS-path 200, origin incomplete, MED 0, localpref 100, pref-val 0, internal, pre 255, invalid for IP unreachable Not advertised to any peer yet Not advertised to any peers yet
Item |
Description |
---|---|
BGP local router ID |
ID of the local BGP device. The format is the same as the IPv4 address. |
Local AS number |
Local AS number. |
Paths |
Information about paths of BGP routes |
BGP routing table entry information of 192.168.1.1/32 |
The following information is about 192.168.1.1/32 routing entries. |
From |
IP address of the router that sends the route. 10.1.1.2 is the IP address of the source interface of the peer with which the BGP connection is established, and 10.2.2.2 is the Router ID of the peer. |
Route Duration |
Duration of routes. |
Relay IP Nexthop |
IP iterated next hop. |
Relay IP Out-Interface |
IP iterated outbound interface. |
Original nexthop |
Original next hop. |
Qos information |
QoS information.
|
AS-path 200 |
AS_Path attribute. |
origin incomplete |
Well-known mandatory property. This property defines the
origin of a path and records how a route turns to a BGP route. The
property has the following three values:
|
MED |
Multi-Exit discriminator of route. |
localpref |
Local priority. |
pref-val |
Value preferred by the protocol. |
internal |
The BGP route is an internal route. |
pre 255 |
The BGP route preference is 255. |
invalid for IP unreachable |
Reason why a route is invalid:
|
Not advertised to any peer yet |
The BGP route has not been advertised to any peer yet. |