The display bgp mvpn routing-table type command displays BGP Multicast Virtual Private Network (MVPN) Leaf A-D routes.
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
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:
|
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:
|
Different A-D routes have different values:
Different A-D routes have different values(Include IPv6):
|
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. |
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.The actual command output varies according to the device. The command output here is only an example.
<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
<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
<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
<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
<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
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:
|
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:
|
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. |