The display bgp mvpn routing-table type 4 route-key-type command displays BGP Multicast Virtual Private Network (MVPN) Leaf A-D routes.
display bgp mvpn { all | route-distinguisher route-distinguisher } routing-table type 4 route-key-type { 1 | 3 } leaf-s-pmsi
display bgp mvpn vpn-instance vpn-instance-name routing-table type 4 route-key-type { 1 | 3 } leaf-s-pmsi
display bgp mvpn all routing-table peer ipv4-address advertised-routes type 4 route-key-type { 1 | 3 } leaf-s-pmsi
display bgp mvpn all routing-table peer ipv6-address advertised-routes type 4 route-key-type { 1 | 3 } leaf-s-pmsi
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. |
- |
3 |
Displays S-PMSI A-D routes. |
- |
leaf-s-pmsi |
Displays A-D routes. |
IP address:
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. The value ranges from 224.0.0.0 to 239.255.255.255.
IPv6 address:
|
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 4 route-key-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 ng routing-table type 4 route-key-type 1 10.0.0.2
BGP local router ID : 10.0.0.4
Local AS number : 100
BGP routing table entry information of 10.0.0.2:
Route Distinguisher: 100:1
Remote-Cross route
From: 10.0.0.2 (10.0.0.2)
Route Duration: 0d00h00m12s
Original nexthop: 10.0.0.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.0.0.2
PMSI: Flags 0x0,RSVP-TE P2MP LSP, Label 0:0:0(0), P2MP ID: 0x63000002, Tunnel ID: 49153, Extended tunnel ID: 10.0.0.2
Not advertised to any peer yet
<HUAWEI> display bgp mvpn vpn-instance vrf1 routing-table type 4 route-key-type 1 3::3-1::1
BGP local router ID : 1.1.1.1
Local AS number : 100
BGP routing table entry information of 3::3-1::1:
Route Distinguisher: 1:1
Imported route.
From: 0.0.0.0 (0.0.0.0)
Route Duration: 0d01h20m10s
Original nexthop: 127.0.0.1
Qos information : 0x0
IPv6 Ext-Community: RT <3::3 . 0>
AS-path Nil, origin incomplete, MED 0, pref-val 0, valid, local, best, select, pre 255
Route Type: 4 (Leaf AD Route)
Originator IP: 3::3, LeafOriIP : 1::1
PMSI: Flags 0x0, Label 0:0:0(0), subdomain ID: 0, BFR ID: 2, BFR prefix: 1::1
Not advertised to any peer yet
Item | Description |
---|---|
BGP local router ID | ID of the local BGP device. The format is the same as the IPv4 address. |
BGP routing table entry information of | The following information is about the route X.X.X.X. |
Local AS number | Local AS number. |
Route Distinguisher | Route distinguisher. |
Route Duration | Duration of routes. |
Route Type | Route type. |
AS-path Nil | AS_Path attribute, with Nil indicating that the attribute value is null. |
origin incomplete | Origin:
|
MED | Multi_Exit discriminator. |
pref-val | PrefVal. |
pre 255 | The priority of the BGP route is 255. |
Originator IP | Original IP address. |
IPv6 Ext-Community | Displays the IPv6 ext-community list of the route. |
From | IP address of the router that sends the route. |
best | Optimal route. |
select | Selected route. |
nexthop | Next-hop address used to forward messages. |