The display bgp mvpn routing-table command displays BGP Multicast Virtual Private Network (MVPN) routes.
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
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:
|
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. |
The actual command output varies according to the device. The command output here is only an example.
<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
<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
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. |