display bgp mvpn routing-table type

Function

The display bgp mvpn routing-table type command displays BGP Multicast Virtual Private Network (MVPN) Leaf A-D routes.

Format

display bgp mvpn { all | route-distinguisher route-distinguisher } routing-table type { 1 | 2 | 3 | 5 | 6 | 7 } network

display bgp mvpn vpn-instance vpn-instance-name routing-table type { 1 | 2 | 3 | 5 | 6 | 7 } network

display bgp mvpn all routing-table peer ipv4-address advertised-routes type { 1 | 2 | 3 | 5 | 6 | 7 } network

display bgp mvpn all routing-table peer ipv6-address advertised-routes type { 1 | 2 | 3 | 5 | 6 | 7 } network

Parameters

Parameter Description Value
all

Displays all BGP MVPN routes.

-

route-distinguisher route-distinguisher

Displays BGP routes of the specified Route Distinguisher (RD).

The RD formats are divided into the following types:

  • 2-byte AS number:4-byte user-defined number, for example, 101:3. An AS number ranges from 0 to 65535. A user-defined number ranges from 0 to 4294967295. The AS number and the user-defined number cannot be 0s at the same time. That is, an RD cannot be 0:0.
  • Integral 4-byte AS number:2-byte user-defined number, for example, 65537:3. An AS number ranges from 65536 to 4294967295. A user-defined number ranges from 0 to 65535. The AS number and user-defined number cannot be both 0s. That is, an RD cannot be 0:0.4-byte AS number in dotted notation:2-byte user-defined number, for example, 0.0:3 or 0.1:0.
  • 4-byte AS number in dotted notation is in the format of x.y, where x and y are integers that range from 0 to 65535 and from 0 to 65535, respectively. A user-defined number ranges from 0 to 65535. The AS number and user-defined number cannot be both 0s. That is, an RD cannot be 0.0:0.
  • IPv4-address:2-byte user-defined number, for example, 192.168.122.15:1. An IP address ranges from 0.0.0.0 to 255.255.255.255. A user-defined number ranges from 0 to 65535.
1

Displays intra-AS I-PMSI A-D routes.

-

2

Displays inter-AS I-PMSI A-D routes.

-

3

Displays S-PMSI A-D routes.

-

5

Displays Source Active A-D routes.

-

6

Displays Shared Tree Join C-multicast routes.

-

7

Displays Source Tree Join C-multicast routes.

-

network

The meanings of different A-D routes are as follows:

  • Type 1:Displays an intra-AS I-PMSI A-D route.
  • Type 2:Displays an inter-AS I-PMSI A-D route.
  • Type 3:Displays an S-PMSI A-D route.
  • Type 4:Displays a Leaf A-D route.
  • Type 5:Displays a Source Active A-D route.
  • Type 6:Displays a C-multicast route.
  • Type 7:Displays a C-multicast route.

Different A-D routes have different values:

  • Type 1:The value is the IP address of the source device, in dotted decimal notation.
  • Type 2:The value is the source AS number. The value is an integer ranging from 1 to 4294967295.
  • Type 3:The value is in the format of X.X.X.X-Y.Y.Y.Y-Z:Z::Z:Z.

    X.X.X.X represents the multicast source address in an (S, G) entry, in dotted decimal notation.

    Y.Y.Y.Y represents the multicast group address in an (S, G) entry, in dotted decimal notation.

    Z:Z::Z:Z represents the IPv6 address of the source device, in hexadecimal.

  • Type 4:For the value, see the display bgp mvpn routing-table type 4 route-key-type command.
  • Type 5:The value is in the format of X.X.X.X:Y.Y.Y.Y.

    X.X.X.X represents the multicast source address in an (S, G) entry, in dotted decimal notation.

    Y.Y.Y.Y represents the multicast group address in an (S, G) entry, in dotted decimal notation.

  • Type 6 and Type 7:The value is in the format of AS number:X.X.X.X:Y.Y.Y.Y.

    AS number: The value is an integer ranging from 1 to 4294967295.

    X.X.X.X represents the multicast source address in an (S, G) entry, in hexadecimal.

    Y.Y.Y.Y represents the multicast group address in an (S, G) entry, in hexadecimal.

Different A-D routes have different values(Include IPv6):

  • Type 1:The value is the IPv6 address of the source device, in hexadecimal.
  • Type 2:The value is the source AS number. The value is an integer ranging from 1 to 4294967295.
  • Type 3:The value is in the format of X.X.X.X-Y.Y.Y.Y-Z:Z::Z:Z.

    X.X.X.X represents the multicast source address in an (S, G) entry, in dotted decimal notation.

    Y.Y.Y.Y represents the multicast group address in an (S, G) entry, in dotted decimal notation.

    Z:Z::Z:Z represents the IPv6 address of the source device, in hexadecimal.

  • Type 4:For the value, see the display bgp mvpn routing-table type 4 route-key-type command.
  • Type 5:The value is in the format of X.X.X.X:Y.Y.Y.Y.

    X.X.X.X represents the multicast source address in an (S, G) entry, in dotted decimal notation.

    Y.Y.Y.Y represents the multicast group address in an (S, G) entry, in dotted decimal notation.

  • Type 6 and Type 7:The value is in the format of AS number:X.X.X.X:Y.Y.Y.Y.

    AS number: The value is an integer ranging from 1 to 4294967295.

    X.X.X.X represents the multicast source address in an (S, G) entry, in hexadecimal.

    Y.Y.Y.Y represents the multicast group address in an (S, G) entry, in hexadecimal.

vpn-instance vpn-instance-name

Displays the BGP routes of the specified VPN instance.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported. In addition, the VPN instance name must not be _public_. When double quotation marks are used around the string, spaces are allowed in the string.

peer ipv4-address

Displays the routes of the specified BGP peer.

The value is in dotted decimal notation.

advertised-routes

Displays the routes advertised to the specified peer.

-

ipv6-address

Specifies the address of the IPv6 peer to be displayed.

The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
bgp read

Usage Guidelines

Usage Scenario

To view BGP MVPN routes, run the display bgp mvpn routing-table type command. You can specify different parameters to view the specific routing information.

When BGP MVPN routing table is displayed, if the length of the destination address mask of an IPv4 route is the same as that of its natural mask, the mask length is not displayed.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display intra-AS I-PMSI A-D routes of the VPN instance VPNA.
<HUAWEI> display bgp mvpn vpn-instance VPNA routing-table type 1
 BGP Local router ID is 1.2.3.4
 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 of IPv4-MVPN-family for vpn-instance VPNA: 3
        Network(Originator IP Addr)                             NextHop
 *>     2.2.2.2                                                 0.0.0.0
 *>i    3.3.3.3                                                 3.3.3.3
 *>i    4.4.4.4                                                 4.4.4.4
# Display Intra-AS I-PMSI A-D route statistics of VPN instance ng with the source IP address 3::3.
<HUAWEI> display bgp mvpn vpn-instance vrf1 routing-table type 1 3::3


 BGP local router ID : 1.1.1.1
 Local AS number : 100
 BGP routing table entry information of 3::3:
 Route Distinguisher: 1:1
 Remote-Cross route
 From: 2::2 (2.2.2.2) 
 Route Duration: 0d01h30m02s
 Original nexthop: 3::3
 Qos information : 0x0
 Ext-Community: RT <1 : 1>
 Prefix-sid: SRC-DT4 11::10
 AS-path Nil, origin incomplete, MED 0, localpref 100, pref-val 0, valid, internal, best, select, pre 255
 Originator: 3.3.3.3
 Route Type: 1 (Intra-AS I-PMSI AD Route)
 Originator IP: 3::3
 PMSI: Flags 0x1, Label 0:0:0(0), subdomain ID: 0, BFR ID: 1, BFR prefix: 3::3
 Cluster list: 2.2.2.2
 Not advertised to any peer yet
# Display Intra-AS I-PMSI A-D route statistics of VPN instance ng with the source IP address 10.1.1.2.
<HUAWEI> display bgp mvpn vpn-instance ng routing-table type 1 10.1.1.2
BGP local router ID : 10.1.1.4
 Local AS number : 100
 BGP routing table entry information of 10.1.1.2:
 Route Distinguisher: 100:1
 Remote-Cross route
 From: 10.1.1.2 (10.1.1.2) 
 Route Duration: 0d00h00m12s
 Original nexthop: 10.1.1.2
 Qos information : 0x0
 Ext-Community: RT <1 : 1>
 AS-path Nil, origin incomplete, MED 0, localpref 100, pref-val 0, valid, internal, best, select, pre 255
 Route Type: 1 (Intra-AS I-PMSI AD Route)
 Originator IP: 10.1.1.2
 PMSI: Flags 0x0,RSVP-TE P2MP LSP, Label 0:0:0(0), P2MP ID: 0x63000002, Tunnel ID: 49153, Extended tunnel ID: 10.1.1.2
 Not advertised to any peer yet
# Display intra-AS I-PMSI A-D routes(Include IPv6) of the VPN instance vrf1.
<HUAWEI> display bgp mvpn vpn-instance vrf1 routing-table type 1
 
 BGP Local router ID is 1.1.1.1
 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


 Total number of routes of IPv4-MVPN-family for vpn-instance vrf1: 2
        Network(Originator IP Addr)                                       NextHop
 *>     1.1.1.1                                                           0.0.0.0             
 *>i    3::3                                                              3::3
# Display Intra-AS I-PMSI A-D MSID route statistics of ng with the source IP address 1::1.
<HUAWEI> display bgp mvpn all routing-table type 1 1::1

BGP local router ID : 189.84.173.212
Local AS number : 100
Total routes of Route Distinguisher(100:1): 1
BGP routing table entry information of 1::1
From: 2001:db8::4 (100.1.1.2)
Route Duration: 0d01h44m00s
Relay IP Nexthop: ::
Relay IP Out-Interface:
Original nexthop: ::BB8:0:0:0:2
Qos information : 0x0
Ext-Community: RT <1 : 1>
Multicast Service Identifier: 2001:db8::2, Prefix Len: 80, MSID Len: 16
As-path Nil, origin incomplete, MED 0, localpref 100,pref-val 0, valid, internal, best, select, pre 255
Route Type: 1 (Intra-AS I-PMSI AD Route)
Originator IP: 1::1
PMSI: Flags 0x1, BIER, Label 0:0:0(0), subdomain ID: 0, BFR prefix: ::1:0:0:01
Not advertised to any peer yet 

Total number of routes of IPv4-MVPN-family for vpn-instance vpn1: 1
BGP routing table entry information of 1::1
From: 2001:db8::4 (100.1.1.2)
Route Duration: 0d07h39m23s
Original nexthop: ::BB8:0:0:0:2
Qos information : 0x0
Ext-Community: RT <1 : 1>
Multicast Service Identifier: 2001:db8::2, Prefix Len: 80, MSID Len: 16
As-path Nil, origin incomplete, MED 0, localpref 100,pref-val 0, valid, internal, best, select, pre 255
Route Type: 1 (Intra-AS I-PMSI AD Route)
Originator IP: 1::1
PMSI: Flags 0x1, BIER, Label 0:0:0(0), subdomain ID: 0, BFR prefix: ::1:0:0:01
Not advertised to any peer yet
Table 1 Description of the display bgp mvpn routing-table type command output
Item Description
BGP local router ID

ID of the local BGP device, in the same format as an IPv4 address.

BGP routing table entry information of

The following information is about the route 2.2.2.2/32.

Local AS number

Local AS number.

best

Optimal route.

NextHop

Next-hop address used to forward messages.

local

Local route.

Route Distinguisher

Route distinguisher.

Route Duration

Duration of the route.

Route Type

Route type:

Original nexthop

Original next hop.

Qos information

QoS information.

AS-path Nil

AS_Path attribute. Nil indicates that the attribute value is null.

origin incomplete

Origin attribute of the BGP route. It has the following three types:

  • IGP: The Origin attribute of the routes that are added to the BGP routing table using the network (BGP) command is IGP.
  • EGP: Origin attribute of the routes obtained through EGP is EGP.
  • Incomplete: indicates that the origin of the route cannot be determined. For example, the Origin attribute of the routes imported by BGP using the import-route (BGP) command is Incomplete.
MED

MED value of a route.

pref-val

PrefVal.

pre 255

The priority of the BGP route is 255.

Originator IP

Source IP address.

PMSI: Flags 0x0,RSVP-TE P2MP LSP, Label 0:0:0(0), P2MP ID: 0x63000002, Tunnel ID: 49153, Extended tunnel ID: 10.1.1.2

In NG MVPNs, the logical channel that carries VPN multicast services on the public network is called a PMSI tunnel:

  • Flags: flag bit.
  • RSVP-TE P2MP LSP: created using RSVP-TE.
  • Label: label of a PMSI tunnel.
  • P2MP ID: P2MP ID of a P2MP tunnel.
  • Tunnel ID: ID of a P2MP tunnel.
  • Extended tunnel ID: extended ID of a P2MP tunnel.
Not advertised to any peer yet

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

Multicast Service Identifier

Multicast service identifier.

Network

Network address or AS number in the BGP routing table.

From

IP address of the device that sends the route.

valid

Valid route.

select

Selected route.

Prefix-sid

Prefix SID.

/no-xpath-for-item/

Outbound interface name.

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