< Home

display bgp multicast routing-table

Function

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.

Format

display bgp multicast routing-table [ ip-address [ mask-length [ longer-prefixes ] | mask [ longer-prefixes ] ] ]

Parameters

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. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

If ip-address is not specified, this command will display all the information in the MBGP routing table.

Example

# 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      ?
Table 1 Description of the display bgp multicast routing-table command output

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.

# Display detailed information about the specified invalid MBGP routes.
<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
Table 2 Description of the display bgp multicast routing-table command output

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.

  • 0x20000000: indicates that the apply behavior command has been run.
  • 0x40000001–0x40000FFF: indicates that the apply qos-local-id qos-local-id command has been run and the qos-local-id varies from 1 to 4095.
  • 0x80000001–0x80000007: indicates that the apply ip-precedence precedence command has been run and the precedence varies from 1 to 7.
  • 0x0: indicates that the preceding QoS configurations are not performed.

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:
  • IGP: The priority of this value is the highest. The origin property of the routes that are added to the BGP routing table by using the network (BGP) command is IGP.

  • EGP: The priority of this value is second to that of IGP. The origin property of the routes imported from EGP is EGP.

  • Incomplete: The priority of this value is the lowest. The value indicates the origin of a route is unknown. The origin property of the routes that are added to the BGP routing table by using the import-route (BGP) command is Incomplete.

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:

  • invalid for route-policy not pass: The route does not match the route-policy.

  • invalid for supernet route: The route is a supernet route.

  • invalid for IP unreachable: The route fails to be iterated to another route.

  • invalid for supernet route not advertise: No supernet routes are advertised.

  • invalid for supernet label route not advertise: No supernet labeled routes are advertised.

  • invalid for next-hop unreachable: The next-hop IP address is unreachable.

  • invalid for tunnel unreachable: The route fails to be iterated to a tunnel.

Not advertised to any peer yet

The BGP route has not been advertised to any peer yet.

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