display bgp mvpn routing-table

Function

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

Format

display bgp mvpn { all | route-distinguisher route-distinguisher } routing-table all-type

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

display bgp mvpn vpn-instance vpn-instance-name routing-table all-type

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

display bgp mvpn all routing-table peer ipv4-address { advertised-routes | received-routes } all-type

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

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

display bgp mvpn all routing-table peer ipv6-address { advertised-routes | received-routes } all-type

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 as follows:

  • 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, 0:3 or 65537:3. An AS number ranges from 65536 to 4294967295. A user-defined number ranges from 0 to 65535. The AS number and the user-defined number cannot be 0s at the same time. 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. Generally, a 4-byte AS number in dotted notation is in the format of x.y, where x and y are both integers ranging from 0 to 65535. A user-defined number is an integer ranging from 0 to 65535. The AS number and the user-defined number cannot be 0s at the same time. That is, an RD cannot be 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.
all-type

Displays all types of MVPN routes.

The value is in dotted decimal notation.

type 1

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

-

2

Displays S-PMSI A-D routes.

-

3

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

-

4

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

-

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.

It is in dotted decimal notation.

advertised-routes

Displays the routes advertised to the specified peer.

-

received-routes

Displays the routes received from 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

You can specify different parameters to view the specific routing information.

When you view the BGP MVPN routing table, if the mask length of the destination address of an IPv4 route is equal to the natural mask length, 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 all types of MVPN routes.
<HUAWEI> display bgp mvpn all routing-table all-type
 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 from all PE: 5
    Number of Intra-AS I-PMSI A-D Routes: 3

 Route Distinguisher: 200:1
        Network(Originator IP Addr)                             NextHop
 *>     2.2.2.2                                                 0.0.0.0

 Route Distinguisher: 300:1
        Network(Originator IP Addr)                             NextHop
 *>i    3.3.3.3                                                 3.3.3.3

 Route Distinguisher: 400:1
        Network(Originator IP Addr)                             NextHop
 *>i    4.4.4.4                                                 4.4.4.4
    Number of Source Tree Join Routes: 2
 Route Distinguisher: 300:1
        Network(AS Number:(C-S):(C-G))                                    NextHop
 *>i    100:1.1.1.1:225.1.1.1                                   3.3.3.3

 Route Distinguisher: 400:1
        Network(AS Number:C-S:C-G)                              NextHop
 *>i    100:1.1.1.1:224.1.1.1                                   4.4.4.4

 Total number of routes of IPv4-MVPN-family for vpn-instance VPNA: 5
    Number of Intra-AS I-PMSI A-D Routes: 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
    Number of Source Tree Join Routes: 2
        Network(AS Number:(C-S):(C-G))                                    NextHop
 *>i    100:1.1.1.1:224.1.1.1                                   4.4.4.4
 *>i    100:1.1.1.1:225.1.1.1                                   3.3.3.3
# Display all types of MVPN routes (including IPv6 routes).
<HUAWEI> display bgp mvpn all routing-table all-type
 
 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: 12

    Number of Intra-AS I-PMSI A-D Routes: 3

 Route Distinguisher: 1:1
        Network(Originator IP Addr)                                       NextHop
 *>     1.1.1.1                                                           0.0.0.0         
 *>     1::1                                                              0.0.0.0         
 *>i    3::3                                                              3::3                                   

    Number of S-PMSI A-D Routes: 2

 Route Distinguisher: 1:1
        Network((C-S)-(C-G)-Originator IP Addr)                           NextHop
 *>i    200.1.1.1-225.0.0.1-3::3                                          3::3                                   
 *>i    200.1.1.2-225.0.0.1-3::3                                          3::3                                   

    Number of Leaf A-D Routes: 3

 Route Distinguisher: 1:1
        Network([OriIP|AsNum|(C-S)-(C-G)-OriIP]-LeafOriIP)                NextHop
 *>     3::3-1::1                                                         0.0.0.0         
 *>     200.1.1.1-225.0.0.1-3::3-1::1                                     0.0.0.0         
 *>     200.1.1.2-225.0.0.1-3::3-1::1                                     0.0.0.0         

    Number of Source Active A-D Routes: 1

 Route Distinguisher: 1:1
        Network((C-S):(C-G))                                              NextHop
 *>i    200.1.1.2:225.0.0.1                                               3.3.3.3         

    Number of Shared Tree Join Routes: 1

 Route Distinguisher: 1:1
        Network(AS Number:(C-S):(C-G))                                    NextHop
 *>     100:200.1.1.1:225.0.0.2                                           0.0.0.0         

    Number of Source Tree Join Routes: 2

 Route Distinguisher: 1:1
        Network(AS Number:(C-S):(C-G))                                    NextHop
 *>     100:200.1.1.1:225.0.0.1                                           0.0.0.0         
 *>     100:200.1.1.2:225.0.0.1                                           0.0.0.0         

 Total number of routes of IPv4-MVPN-family for vpn-instance vrf1: 12

    Number of Intra-AS I-PMSI A-D Routes: 3
        Network(Originator IP Addr)                                       NextHop
 *>     1.1.1.1                                                           0.0.0.0         
 *>     1::1                                                              0.0.0.0         
 *>i    3::3                                                              3::3                                   

    Number of S-PMSI A-D Routes: 2
        Network((C-S)-(C-G)-Originator IP Addr)                           NextHop
 *>i    200.1.1.1-225.0.0.1-3::3                                          3::3                                   
 *>i    200.1.1.2-225.0.0.1-3::3                                          3::3                                   

    Number of Leaf A-D Routes: 3
        Network([OriIP|AsNum|(C-S)-(C-G)-OriIP]-LeafOriIP)                NextHop
 *>     3::3-1::1                                                         0.0.0.0         
 *>     200.1.1.1-225.0.0.1-3::3-1::1                                     0.0.0.0         
 *>     200.1.1.2-225.0.0.1-3::3-1::1                                     0.0.0.0         

    Number of Source Active A-D Routes: 1
        Network((C-S):(C-G))                                              NextHop
 *>i    200.1.1.2:225.0.0.1                                               3.3.3.3         

    Number of Shared Tree Join Routes: 1
        Network(AS Number:(C-S):(C-G))                                    NextHop
 *>     100:200.1.1.1:225.0.0.2                                           0.0.0.0         

    Number of Source Tree Join Routes: 2
        Network(AS Number:(C-S):(C-G))                                    NextHop
 *>     100:200.1.1.1:225.0.0.1                                           0.0.0.0         
 *>     100:200.1.1.2:225.0.0.1                                           0.0.0.0
Table 1 Description of the display bgp mvpn routing-table command output
Item Description
BGP Local router ID is

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

best

Optimal route.

Total number of routes from all PE

Total number of routes from all PEs.

Total Number of Routes

Number of BGP Flow Specification routes.

Number of Shared Tree Join Routes

Number of Shared Tree Join routes.

Route Distinguisher

Route distinguisher.

NextHop

Next-hop address used to forward messages.

Network

Network address or AS number in the BGP routing table.

valid

Valid route.

Originator IP

Original IP address.

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