- Table of Contents
- Related Documents
-
| Title | Size | Download |
|---|---|---|
| 05-Multicast VPN commands | 245.08 KB |
Contents
display bgp routing-table ipv4 mdt
display bgp routing-table ipv4 mvpn
display multicast-vpn c-multicast routing-table
display multicast-vpn default-group
display multicast-vpn inclusive-tunnel
display multicast-vpn ipv6 default-group
display multicast-vpn selective-tunnel
multicast rpf-proxy-vector compatible
Multicast VPN commands
address-family ipv4
Use address-family ipv4 to create an MVPN IPv4 address family and enter its view, or enter the view of the existing MVPN IPv4 address family.
Use undo address-family ipv4 to delete the MVPN IPv4 address family and configurations in MVPN IPv4 address family view.
Syntax
address-family ipv4
undo address-family ipv4
Default
No MVPN IPv4 address family exists.
Views
MVPN view
Predefined user roles
network-admin
Usage guidelines
Configurations in MVPN IPv4 address family view of a VPN instance apply only to IPv4 multicast packets of that instance.
Examples
# In MVPN view of VPN instance mvpn, create an MVPN IPv4 address family and enter its view.
<Sysname> system-view
[Sysname] multicast-vpn vpn-instance mvpn mode mdt
[Sysname-mvpn-mvpn] address-family ipv4
[Sysname-mvpn-mvpn-ipv4]
address-family ipv4 mdt
Use address-family ipv4 mdt to create a BGP IPv4 MDT address family and enter its view, or enter the view of the existing BGP IPv4 MDT address family.
Use undo address-family ipv4 mdt to delete the BGP IPv4 MDT address family and all configurations in BGP IPv4 MDT address family view.
Syntax
address-family ipv4 mdt
undo address-family ipv4 mdt
Default
No BGP IPv4 MDT address family exists.
Views
BGP instance view
Predefined user roles
network-admin
Usage guidelines
Execute this command before you use the peer enable command to exchange MDT information with BGP peers or peer groups. MDT information includes the IP address of a PE and the default group to which the PE belongs. On a public network running PIM-SSM, multicast VPN establishes a default MDT rooted at the multicast source-side PE based on the MDT information.
Configurations in BGP IPv4 MDT address family view takes effect only on BGP MDT messages, BGP MDT peers, and BGP MDT peer groups.
Examples
# In BGP instance view of BGP instance default, create a BGP IPv4 MDT address family and enter its view.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp-default] address-family ipv4 mdt
[Sysname-bgp-default-mdt]
# In BGP instance view of BGP instance abc, create a BGP IPv4 MDT address family and enter its view.
<Sysname> system-view
[Sysname] bgp 100 instance abc
[Sysname-bgp-abc] address-family ipv4 mdt
[Sysname-bgp-abc-mdt]
Related commands
peer enable (see Layer 3—IP Routing Configuration Guide)
address-family ipv4 mvpn
Use address-family ipv4 mvpn to create a BGP IPv4 MVPN address family and enter its view, or enter the view of the existing BGP IPv4 MVPN address family.
Use undo address-family ipv4 mvpn to delete the BGP IPv4 MVPN address family and all configurations in BGP IPv4 MVPN address family view.
Syntax
address-family ipv4 mvpn
undo address-family ipv4 mvpn
Default
No BGP IPv4 MVPN address family exists.
Views
BGP instance view
Predefined user roles
network-admin
Usage guidelines
Configurations in BGP IPv4 MVPN address family view takes effect only on BGP MVPN messages, BGP MVPN peers, and BGP MVPN peer groups.
Examples
# In BGP instance view of BGP instance 100, create a BGP IPv4 MVPN address family and enter its view.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp-default] address-family ipv4 mvpn
[Sysname-bgp-default-mvpn]
address-family ipv6
Use address-family ipv6 to create an MVPN IPv6 address family and enter its view, or enter the view of the existing MVPN IPv6 address family.
Use undo address-family ipv6 to delete the MVPN IPv6 address family and configurations in MVPN IPv6 address family view.
Syntax
address-family ipv6
undo address-family ipv6
Default
No MVPN IPv6 address family exists.
Views
MVPN view
Predefined user roles
network-admin
Usage guidelines
Configurations in MVPN IPv6 address family view of a VPN instance apply only to IPv6 multicast packets of that instance.
Examples
# In MVPN view of VPN instance mvpn, create an MVPN IPv6 address family and enter its view.
<Sysname> system-view
[Sysname] multicast-vpn vpn-instance mvpn mode mdt
[Sysname-mvpn-mvpn] address-family ipv6
[Sysname-mvpn-mvpn-ipv6]
default-group
Use default-group to specify a default group.
Use undo default-group to restore the default.
Syntax
default-group group-address
undo default-group
Default
No default group exists.
Views
MVPN IPv4 address family view
MVPN IPv6 address family view
Predefined user roles
network-admin
Parameters
group-address: Specifies a default group in the range of 224.0.1.0 to 239.255.255.255.
Usage guidelines
You must specify the same default group on all PEs that belong to the same MVPN.
The default group for an MVPN must be different from the default group and the data group used by any other MVPN.
For an MVPN that transmits both IPv4 and IPv6 multicast packets, you must specify the same default group in MVPN IPv4 address family view and MVPN IPv6 address family view.
This command is available only for an MDT-based MVPN.
Examples
# In MVPN IPv4 address family view and MVPN IPv6 address family view of VPN instance mvpn, specify 239.1.1.1 as the default group.
<Sysname> system-view
[Sysname] multicast-vpn vpn-instance mvpn mode mdt
[Sysname-mvpn-mvpn] address-family ipv4
[Sysname-mvpn-mvpn-ipv4] default-group 239.1.1.1
[Sysname-mvpn-mvpn-ipv4] quit
[Sysname-mvpn-mvpn] address-family ipv6
[Sysname-mvpn-mvpn-ipv6] default-group 239.1.1.1
display bgp routing-table ipv4 mdt
Use display bgp routing-table ipv4 mdt to display BGP MDT routing information.
Syntax
display bgp [ instance instance-name ] routing-table ipv4 mdt [ route-distinguisher route-distinguisher ] [ ip-address [ advertise-info ] ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
instance instance-name: Specifies a BGP instance by its name, a case-sensitive string of 1 to 31 characters. If you do not specify a BGP instance, this command displays BGP MDT routing information for the BGP instance default.
route-distinguisher route-distinguisher: Specifies an RD, a string of 3 to 21 characters. If you do not specify an RD, this command displays BGP MDT routing information for all RDs. An RD can be in one of the following formats:
· 16-bit AS number:32-bit user-defined number. For example, 101:3.
· 32-bit IP address:16-bit user-defined number. For example, 192.168.122.15:1.
· 32-bit AS number:16-bit user-defined number, where the AS number must be equal to or greater than 65536. For example, 65536:1.
ip-address: Specifies a multicast source by its IP address. The ip-address argument represents the IP address of the PE in the default MDT. If you do not specify a multicast source, this command displays brief information about BGP MDT routes for all multicast sources.
advertise-info: Displays advertisement information. If you do not specify this keyword, no advertisement information is displayed.
Examples
# Display brief information about BGP MDT routes for all multicast sources.
<Sysname> display bgp routing-table ipv4 mdt
BGP local router ID is 1.1.1.1
Status codes: * - valid, > - best, d - dampened, h - history,
s - suppressed, S - stale, i - internal, e - external
a – additional-path
Origin: i - IGP, e - EGP, ? - incomplete
Route distinguisher: 100:1
Total number of routes: 2
Network NextHop MED LocPrf PrefVal Path/Ogn
* > 1.1.1.1/32 0.0.0.0 32768 ?
* >i 2.2.2.2/32 2.2.2.2 100 0 ?
# Display detailed information about BGP MDT routes for multicast source 1.1.1.1.
<Sysname> display bgp routing-table ipv4 mdt 1.1.1.1
BGP local router ID: 1.1.1.1
Local AS number: 100
Route distinguisher: 100:1
Total number of routes: 1
Paths: 1 available, 1 best
BGP MDT information of source 1.1.1.1:
Default-group : 224.1.1.1
Original nexthop: 0.0.0.0
RxPathID : 0x0
TxPathID : 0x0
AS-path : (null)
Origin : incomplete
Attribute value : pref-val 32768
State : valid, local, best
IP precedence : N/A
QoS local ID : N/A
Traffic index : N/A
# Display advertisement information about BGP MDT routes for multicast source 1.1.1.1.
<Sysname> display bgp routing-table ipv4 mdt 1.1.1.1 advertise-info
BGP local router ID: 1.1.1.1
Local AS number: 100
Route distinguisher: 100:1
Total number of routes: 1
Paths: 1 best
BGP MDT information of source 1.1.1.1:
Default-group: 224.1.1.1
Advertised to peers (1 in total):
6.6.6.6
Table 1 Command output
|
Field |
Description |
|
BGP local router ID |
ID of the local router. |
|
Status codes |
Codes of route status: · * – valid—Valid route. · > – best—Best route. · d – damped—Dampened route. · h – history—History route. · s – suppressed—Suppressed route. · S – Stale—Stale route. · i – internal—Internal route. · e – external—External route. · a – additional-path—Add-Path optimal route. |
|
Origin |
Origin of the route information: · i – IGP—Originated in the AS. The origins of the routes advertised by the network command are IGP. · e – EGP—Learned through EGP. · ? – incomplete—Learned by some other means. The origins of routes redistributed by IGP are incomplete. |
|
Total number of routes |
Total number of BGP MDT routes. |
|
Network |
Source IP address of the default MDT. |
|
NextHop |
IP address of the next hop. |
|
MED |
Attribute value of Multi-Exit-Discrimination (MED). |
|
LocPrf |
Local preference value. |
|
PrefVal |
Preferred value of a route. |
|
Path/Ogn |
AS PATH attribute and ORIGIN attribute: · AS_PATH—Records the ASs the packet has passed to avoid routing loops. · ORIGIN—Identifies the origin of the BGP MDT routes. |
|
Paths |
Number of the BGP MDT routes: · available—Number of valid BGP MDT routes. · best—Number of the best BGP MDT routes. |
|
BGP MDT information of source 1.1.1.1 |
BGP MDT routing information for the multicast source 1.1.1.1. |
|
Default-group |
Default group address to which the route belongs. |
|
Advertised to peers (1 in total) |
Peers to which the route has been advertised and total number of peers. |
|
Original nexthop |
IP address of the original next hop. If the BGP MDT route is learned from the BGP update message, this field displays the IP address of the next hop that receives the message. |
|
RxPathID |
Add-path ID of received routes. |
|
TxPathID |
Add-path ID of advertised routes. |
|
AS-path |
AS PATH attribute of the path, recording the ASs that the BGP MDT route has passed to avoid routing loops. |
|
Attribute value |
Attributes of the BGP MDT routes: · MED—MED value related to destination network. · Localpref—Local preferred value. · pref-val—Preferred value of the route. · pre—Preferred value of the protocol. |
|
State |
Current states: · valid—Valid routes. · internal—Internal routes. · external—External routes. · local—Local routes. · synchronize—Synchronized routes. · best—Best routes. |
|
IP precedence |
IP precedence of the route, which is set by the QPPB feature. This field displays N/A if the IP precedence of the route is not set. |
|
QoS local ID |
QoS local ID of the route, which is set by the QPPB feature. This field displays N/A if the QoS local ID of the route is not set. |
|
Traffic index |
Traffic index of the route, which is set by the QPPB feature. This field displays N/A if the Traffic index of the route is not set. |
display bgp routing-table ipv4 mvpn
Use display bgp routing-table ipv4 mvpn to display BGP IPv4 MVPN routing information.
Syntax
display bgp [ instance instance-name ] routing-table ipv4 mvpn [ route-distinguisher route-distinguisher [ route-type { inter-as |intra-as | leaf | s-pmsi | shared-tree | source-active | source-tree } ] ] | statistics ]
display bgp [ instance instance-name ] routing-table ipv4 mvpn [ route-distinguisher route-distinguisher [ mvpn-prefix [ advertise-info ] ] ]
display bgp [ instance instance-name ] routing-table ipv4 mvpn [ route-type { inter-as |intra-as | leaf | s-pmsi | shared-tree | source-active | source-tree } [ statistics ] ]
display bgp [ instance instance-name ] routing-table ipv4 mvpn peer ip-address { advertised-routes | received-routes } [ statistics ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
instance instance-name: Specifies a BGP instance by its name, a case-sensitive string of 1 to 31 characters. If you do not specify a BGP instance, this command displays BGP IPv4 MVPN routing information for BGP instance default.
peer ip-address: Specifies a BGP peer by its IP address.
advertised-routes: Displays BGP IPv4 MVPN routing information advertised to the specified peer.
received-routes: Displays BGP IPv4 MVPN routing information received from the specified peer.
route-distinguisher route-distinguisher: Specifies an RD, a string of 3 to 21 characters. An RD can be in one of the following formats:
· 16-bit AS number:32-bit user-defined number. For example, 101:3.
· 32-bit IP address:16-bit user-defined number. For example, 192.168.122.15:1.
· 32-bit AS number:16-bit user-defined number. For example, 65536:1. The AS number must be equal to or greater than 65536.
route-type: Specifies a route type.
· intra-as: Specifies the Intra-AS I-PMSI A-D route to establish the inclusive tunnel.
· inter-as: Specifies the Inter-AS I-PMSI A-D route to establish the inclusive tunnel.
· s-pmsi: Specifies the S-PMSI A-D route that the source-side PE sends to the receiver-side PE to establish selective tunnels.
· leaf: Specifies the Leaf A-D route that the receiver-side PE replies to the multicast source-side PE to establish selective tunnels.
· source-active: Specifies the Source Active A-D route that advertises the multicast source.
· shared-tree: Specifies the Shared Tree Join route that the receiver-side PE sends to the RP to establish the multicast shared tree.
· source-tree: Specifies the Source Tree Join route that the receiver-side PE sends to the multicast source to build the multicast source tree.
mvpn-prefix: Displays detailed route information about the BGP IPv4 MVPN prefix. The mvpn-prefix argument specifies the prefix, a case-insensitive string of 1 to 512 characters.
advertise-info: Displays advertisement information of BGP IPv4 MVPN routes.
statistics: Displays statistics for BGP IPv4 MVPN routes.
Usage guidelines
If you do not specify any parameters, this command displays brief information about all BGP IPv4 MVPN routes.
Examples
# Display brief information about all BGP IPv4 MVPN routes.
<Sysname> display bgp routing-table ipv4 mvpn
BGP local router ID is 1.1.1.2
Status codes: * - valid, > - best, d - dampened, h - history,
s - suppressed, S - stale, i - internal, e - external
a – additional-path
Origin: i - IGP, e - EGP, ? - incomplete
Route distinguisher: 100:1
Total number of routes: 5
* > Network : [1][1.1.1.1]/40
NextHop : 0.0.0.0 LocPrf : 100
PrefVal : 32768 OutLabel : NULL
MED : 0
Path/Ogn: ?
* > Network : [3][32][192.168.56.1][32][225.0.0.1][1.1.1.9]/120
NextHop : 0.0.0.0 LocPrf : 100
PrefVal : 32768 OutLabel : NULL
MED : 0
Path/Ogn: ?
* >i Network : [4][3][22][100:1][32][192.168.56.1][32][225.0.0.1][1.1.1.9][2.2.2.9]/232
NextHop : 2.2.2.9 LocPrf : 100
PrefVal : 0 OutLabel : NULL
MED : 0
Path/Ogn: ?
* >i Network : [5][32][192.168.56.1][32][225.0.0.1]/88
NextHop : 0.0.0.0 LocPrf : 100
PrefVal : 32768 OutLabel : NULL
MED : 0
Path/Ogn: ?
* >i Network : [7][100][32][192.168.56.1][32][225.0.0.1]/120
NextHop : 2.2.2.9 LocPrf : 100
PrefVal : 0 OutLabel : NULL
MED : 0
Path/Ogn: ?
# Display information about all BGP IPv4 MVPN routes that are advertised to peer 3.3.3.9 in BGP instance default.
<Sysname> display bgp routing-table ipv4 mvpn peer 3.3.3.9 advertised-routes
BGP local router ID is 1.1.1.2
Status codes: * - valid, > - best, d - dampened, h - history,
s - suppressed, S - stale, i - internal, e - external
a – additional-path
Origin: i - IGP, e - EGP, ? - incomplete
Route distinguisher: 100:1
Total number of routes: 2
* >i Network : [1][2.2.2.9]/40
NextHop : 2.2.2.9 LocPrf : 100
PrefVal : 0 OutLabel : NULL
MED : 0
Path/Ogn: ?
* >i Network : [4][3][22][100:1][32][192.168.56.1][32][225.0.0.1][1.1.1.9][2.2.2.9]/232
NextHop : 2.2.2.9 LocPrf : 100
PrefVal : 0 OutLabel : NULL
MED : 0
Path/Ogn: ?
* >i Network : [7][100][32][192.168.56.1][32][225.0.0.1]/120
NextHop : 2.2.2.9 LocPrf : 100
PrefVal : 0 OutLabel : NULL
MED : 0
Path/Ogn: ?
# Display information about all BGP IPv4 MVPN routes that are received from peer 2.2.2.9 in BGP instance default.
<Sysname> display bgp routing-table ipv4 mvpn peer 2.2.2.9 received-routes
BGP local router ID is 1.1.1.2
Status codes: * - valid, > - best, d - dampened, h - history,
a – additional-path
s - suppressed, S - stale, i - internal, e - external
Origin: i - IGP, e - EGP, ? - incomplete
Route distinguisher: 100:1
Total number of routes: 3
* >i Network : [1][2.2.2.9]/40
NextHop : 2.2.2.9 LocPrf : 100
PrefVal : 0 OutLabel : NULL
MED : 0
Path/Ogn: ?
* >i Network : [4][3][22][100:1][32][192.168.56.1][32][225.0.0.1][1.1.1.9][2.2.2.9]/232
NextHop : 2.2.2.9 LocPrf : 100
PrefVal : 0 OutLabel : NULL
MED : 0
Path/Ogn: ?
* >i Network : [7][100][32][192.168.56.1][32][225.0.0.1]/120
NextHop : 2.2.2.9 LocPrf : 100
PrefVal : 0 OutLabel : NULL
MED : 0
Table 2 Command output
|
Field |
Description |
|
Status codes |
Codes of route status: · * – valid—Valid route. · > – best—Optimal route. · d – damped—Dampened route. · h – history—History route. · s – suppressed—Suppressed route. · S – Stale—Stale route. · i – internal—Internal route. · e – external—External route. · a – additional-path—Add-Path optimal route. |
|
Origin |
Origin of the route information: · i – IGP—Originated in the AS. · e – EGP—Learned through EGP. · ? – incomplete—Learned by some other means. |
|
Total number of routes |
Total number of BGP IPv4 MVPN routes with the route distinguisher. |
|
Network |
BGP IPv4 MVPN route/route length. BGP IPv4 MVPN routes are as follows: · [1][Originator IP] ¡ 1—Intra-AS I-PMSI A-D route to establish the inclusive tunnel. ¡ Originator IP—IP address of the route originator. · [2][Source AS] ¡ 2—Inter-AS I-PMSI A-D route to establish the inclusive tunnel. ¡ Source AS—AS number of the source. · [3][Source Len][Source IP][Group Len][Group IP][Originator IP] ¡ 3—S-PMSI A-D route that the multicast source-side PE sends to the receiver-side PE to establish selective tunnels. ¡ Source Len—Length of the multicast source address. ¡ Source IP—Multicast source address. ¡ Group Len—Length of the multicast group address. ¡ Group IP—Multicast group address. ¡ Originator IP—IP address of the route originator. · [4][3][3Len][RD][Source Len][Source IP][Group Len][Group IP][3Originator IP][4Originator IP] ¡ 4—Leaf A-D route that the receiver-side PE replies to the source-side PE to establish selective tunnels. ¡ 3—S-PMSI A-D route that the source-side PE sends to the receiver-side PE to establish selective tunnels. ¡ 3Len—Length of the MVPN S-PMSI A-D route, in bytes. ¡ RD—Route distinguisher. ¡ Source Len—Length of the multicast source address. ¡ Source IP—Multicast source address. ¡ Group Len—Length of the multicast group address. ¡ Group IP—Multicast group address. ¡ 3Originator IP—Originator IP address of the MVPN S-PMSI A-D route. ¡ 4Originator IP—Originator IP address of the MVPN Leaf A-D route. · [5][Source Len][Source IP][Group Len][Group IP] ¡ 5—Source Active A-D route that advertise the multicast source. ¡ Source Len—Length of the multicast source address. ¡ Source IP—Multicast source address. ¡ Group Len—Length of the multicast group address. ¡ Group IP—Multicast group address. · [6][Source AS][Source Len][Source IP][Group Len][Group IP] ¡ 6—Shared Tree Join route that the receiver-side PE sends to the RP to establish the multicast shared tree. ¡ Source AS—AS number of the PE where the RP resides. ¡ Source Len—Length of the multicast source address. ¡ Source IP—Multicast source address. ¡ Group Len—Length of the multicast group address. ¡ Group IP—Multicast group address. · [7][Source AS][Source Len][Source IP][Group Len][Group IP] ¡ 7—Source Tree Join route that the receiver-side PE sends to the multicast source to build the multicast source tree. ¡ Source AS—AS number of the source-side PE. ¡ Source Len—Length of the multicast source address. ¡ Source IP—Multicast source address. ¡ Group Len—Length of the multicast group address. ¡ Group IP—Multicast group address. |
|
LocPrf |
Local preference value. |
|
PrefVal |
Preferred value of a route. |
|
OutLabel |
Outgoing label of a route. |
|
MED |
Attribute value of Multi-Exit-Discrimination (MED). |
|
Path/Ogn |
AS PATH attribute and ORIGIN attribute: · AS_PATH—Records the ASs the packet has passed to avoid routing loops. · ORIGIN—Identifies the origin of the BGP MDT routes. |
# Display statistics for all BGP IPv4 MVPN routes.
<Sysname> display bgp routing-table ipv4 mvpn statistics
Total number of VPN routes: 204
Total number of vpn routes from all PEs: 102
Route distinguisher: 1:1
Total number of routes: 202
Route distinguisher: 2:2
Total number of routes: 2
Table 3 Command output
|
Field |
Description |
|
Total number of VPN routes |
Total number of BGP IPv4 MVPN routes. |
|
Total number of vpn routes from all PEs |
Total number of BGP IPv4 MVPN routes from all PEs. |
|
Total number of routes |
Total number of BGP IPv4 MVPN routes with the route distinguisher. |
# Display statistics for BGP IPv4 MVPN routes that are advertised to peer 3.3.3.9 on the public network.
<Sysname> display bgp routing-table ipv4 mvpn peer 3.3.3.9 advertised-routes statistics
Advertised routes total: 2
# Display statistics for BGP IPv4 MVPN routes that are received from peer 3.3.3.9 on the public network.
<Sysname> display bgp routing-table ipv4 mvpn peer 3.3.3.9 received-routes statistic
Received routes total: 2
Table 4 Command output
|
Field |
Description |
|
Advertised routes total |
Total number of routes advertised to the BGP peer. |
|
Received routes total |
Total number of routes received from the BGP peer. |
# Display detailed information about BGP IPv4 MVPN route [4][3][22][100:1][32][192.168.56.1][32][225.0.0.2][1.1.1.9][2.2.2.9]/232 with RD 100:1 in BGP instance default.
<Sysname> display bgp routing-table ipv4 mvpn route-distinguisher 100:1
[4][3][22][100:1][32][192.168.56.1][32][225.0.0.2][1.1.1.9][2.2.2.9]/232
BGP local router ID: 1.1.1.9
Local AS number: 100
Route distinguisher: 100:1
Total number of routes: 1
Paths: 1 available, 1 best
BGP routing table information of [4][3][22][100:1][32][192.168.56.1][32][225.0.0.2][1.1.1.9][2.2.2.9]/232:
From : 2.2.2.9 (2.2.2.9)
Rely nexthop : 192.168.1.2
Original nexthop: 2.2.2.9
OutLabel : NULL
Ext-Community : <RT: 1.1.1.9:0>
PMSI tunnel : Flag 1, TunnelType 1, Label 0, P2MPId 1.1.1.9, Reserved 0,
TunnelId 2, ExtTunnelId 1.1.1.9
RxPathID : 0x0
TxPathID : 0x0
AS-path : (null)
Origin : incomplete
Attribute value : MED 0, localpref 100, pref-val 0
State : valid, internal, best
IP precedence : N/A
QoS local ID : N/A
Traffic index : N/A
MVPN route type : Leaf A-D route
RD : 100:1
Source Len : 32
Source IP : 192.168.56.1
Group Len : 32
Group IP : 225.0.0.2
Remote origin IP: 1.1.1.9
Originator IP : 2.2.2.9
Table 5 Command output
|
Field |
Description |
|
Paths |
Number of routes: · available—Number of valid routes. · best—Number of optimal routes. |
|
Network |
Information about a BGP IPv4 MVPN. |
|
LocPrf |
Local preference value. |
|
PrefVal |
Preferred value of a route. |
|
OutLabel |
Outgoing label of a route. |
|
MED |
Attribute value of Multi-Exit-Discrimination (MED). |
|
Path/Ogn |
AS PATH attribute and ORIGIN attribute: · AS_PATH—Records the ASs the packet has passed to avoid routing loops. · ORIGIN—Identifies the origin of the BGP MDT routes. |
|
BGP routing table information of |
NLRI prefix. |
|
From |
IP address of BGP peer that advertised the route. |
|
Rely Nexthop |
Next hop found by route recursion. If no next hop is found, this field displays not resolved. |
|
Imported route |
The route is an imported route. |
|
Original nexthop |
Original next hop of the route. If the route was obtained from a BGP update message, the original next hop is the next hop IP address in the message. |
|
Ext-Community |
Attribute value of the extended community. RT indicates the route target attribute. |
|
PMSI tunnel |
Information about a PMSI tunnel: · Flag—Flag bit value. · TunnelType—Tunnel type. · Label—Label value. · P2MP—Point to multiple points. · TunnelId—Tunnel ID. · ExtTunnelId—Extended tunnel ID. · P2MP Type—P2MP tunnel. · Address Family—Address family type. · Address Length—Address length. · Root Node Address—Address of the root node for the MP2MP FEC. · Opaque Length—Length of the Opaque value. · Opaque Value—Original opaque value. |
|
RxPathID |
Add-path ID of received routes. |
|
TxPathID |
Add-path ID of advertised routes. |
|
AS-path |
AS_PATH attribute of the route, which records the ASs the packet has passed to avoid routing loops. |
|
Origin |
Origin of the route information: · IGP—Originated in the AS. · EGP—Learned through EGP. · incomplete—Learned by some other means. |
|
Attribute value |
BGP path attributes: · MED—MED value. · localpref—Local preference value. · pref-val—Preferred value. · pre—Route preference. |
|
State |
Current states: · valid—Valid routes. · internal—Internal routes. · external—External routes. · local—Local routes. · synchronize—Synchronized routes. · best—Optimal routes. |
|
IP precedence |
IP precedence. This field displays N/A for an invalid value. |
|
QoS local ID |
QoS local ID. This field displays N/A for an invalid value. |
|
Traffic index |
Traffic index. This field displays N/A for an invalid value. |
|
MVPN route type |
Type of the BGP IPv4 MVPN route. The Leaf A-D route is an automatically discovered route that that receiver-side PE replies to the multicast source-side PE to establish selective tunnels. |
|
Source Len |
Length of the multicast source address. |
|
Source IP |
Multicast source address. |
|
Group Len |
Length of the multicast group address. |
|
Group IP |
Multicast group address. |
|
Remote origin IP |
IP address of the remote router. |
|
Originator IP |
Originator IP address of the MVPN Leaf A-D route. |
# Display advertisement information about BGP IPv4 MVPN route [1][1.1.1.9]/40 with RD 100:1 in BGP instance default.
<Sysname> display bgp routing-table ipv4 mvpn route-distinguisher 100:1 [1][1.1.1.9]/40 advertise-info
BGP local router ID: 1.1.1.9
Local AS number: 100
Route distinguisher: 100:1
Total number of routes: 1
Paths: 1 best
BGP routing table information of [1][1.1.1.9]/40:
Advertised to peers (1 in total):
2.2.2.9
Table 6 Command output
|
Field |
Description |
|
Paths |
Number of optimal routes to the destination. |
|
BGP routing table information of [1][1.1.1.9]/40(TxPathID:0) |
Advertisement information to reach BGP IPv4 MVPN route [1][1.1.1.9]/40. TxPathID represents the Add-path ID of routes advertised to the network. |
|
Advertised to peers (1 in total) |
Peers to which the network has been advertised. |
display multicast-vpn c-multicast routing-table
Use display multicast-vpn c-multicast routing-table to display C-multicast A-D routing entries.
Syntax
display multicast-vpn vpn-instance vpn-instance-name c-multicast routing-table [ group-address [ mask { mask-length | mask } ] | source-address [ mask { mask-length | mask } ] | outgoing-interface { exclude | include | match } interface-type interface-number ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters.
group-address: Specifies a multicast group by its address in the range of 224.0.0.0 to 239.255.255.255. If you do not specify a multicast group, this command displays the C-multicast A-D routing information for all multicast groups.
source-address: Specifies a multicast source by its address.
mask-length: Specifies a mask length of the specified multicast source address or multicast group address. The value range for this argument is 0 to 32, and the default is 32.
mask: Specifies a subnet mask of the specified multicast source address or multicast group address. The default is 255.255.255.255.
outgoing-interface { exclude | include | match } interface-type interface-number: Specifies an outgoing interface. If you do not specify an outgoing interface, this command displays information about C-multicast A-D routing entries that include all outgoing interfaces. If you specify an outgoing interface, whether this command displays C-multicast A-D routing entries that include the specified outgoing interface depends on the following keyword:
· exclude: Specifies C-multicast A-D routing entries that do not include the outgoing interface.
· include: Specifies C-multicast A-D routing entries that include the outgoing interface.
· match: Specifies C-multicast A-D routing entries that include only the outgoing interface.
Examples
# Display C-multicast A-D routing information for MVPN instance mvpn.
<Sysname> display multicast-vpn vpn-instance mvpn c-multicast routing-table
Total 0 (*, G) entry; 2 (S, G) entries
(172.168.0.12, 227.0.0.1)
CreateTime: 02:54:43
Tunnel information: Tunnel1
Leaf neigbors information:
Total number of leaf neigbors: 2
1: 13.1.1.2
2: 14.1.1.2
(172.168.0.12, 227.0.0.2)
CreateTime: 02:54:43
Tunnel information: NULL
Leaf neigbors information:
Total number of leaf neigbors: 2
1: 13.1.1.2
2: 14.1.1.2
Table 7 Command output
|
Field |
Description |
|
Total 0 (*, G) entry; 2 (S, G) entries |
Total number of (*, G) and (S, G) entries in the C-multicast routing table. |
|
CreateTime |
Time that has elapsed since the (*, G) or (S, G) entry was created. |
|
Tunnel information |
RSVP-TE tunnel information. If the tunnel has not been successfully established, this field displays NULL. |
|
Leaf neigbors information |
Information of the neighbors that have replied with a Leaf A-D route. |
|
Total number of leaf neigbors |
Number of neighbors that have replied with a Leaf A-D route. |
display multicast-vpn default-group
Use display multicast-vpn default-group to display information about default groups for IPv4 multicast transmission.
Syntax
display multicast-vpn [ vpn-instance vpn-instance-name ] default-group { local | remote }
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. If you do not specify a VPN instance, this command displays information about default groups of all VPN instances for IPv4 multicast transmission.
local: Specifies local default groups for IPv4 multicast transmission.
remote: Specifies remote default groups for IPv4 multicast transmission.
Examples
# Display information about the local default group for IPv4 multicast transmission in each VPN instance.
<Sysname> display multicast-vpn default-group local
MVPN local default-group information:
Group address Source address Interface VPN instance
239.1.1.1 1.1.1.1 MTunnel0 mvpna
239.2.1.1 1.1.1.1 MTunnel1 mvpnb
239.3.1.1 -- MTunnel2 mvpnc
# Display information about the remote default group for IPv4 multicast transmission in each VPN instance.
<Sysname> display multicast-vpn default-group remote
MVPN remote default-group information:
Group address Source address Next hop VPN instance
239.1.1.1 1.2.0.1 1.2.0.1 a
239.1.1.1 1.2.0.2 1.2.0.2 a
239.1.1.1 1.2.0.3 1.2.0.3 a
239.1.1.2 1.2.0.1 1.2.0.1 b
239.1.1.2 1.2.0.2 1.2.0.2 b
239.1.1.3 1.2.0.1 1.2.0.1 -
Table 8 Command output
|
Field |
Description |
|
Group address |
IP address of the default group for IPv4 multicast transmission. |
|
Source address |
IP address of the MVPN source interface, which is used by the MTI as the source address to encapsulate multicast packets for the VPN instance. |
|
Interface |
MTI interface. |
|
Next hop |
IP address of the next hop. |
|
VPN instance |
VPN instance to which the default group belongs. |
display multicast-vpn inclusive-tunnel
Use display multicast-vpn inclusive-tunnel to display information about the inclusive tunnel for a VPN instance.
Syntax
display multicast-vpn vpn-instance vpn-instance-name inclusive-tunnel { local | remote }
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters.
local: Specifies the local inclusive tunnel.
remote: Specifies the remote inclusive tunnel.
Examples
# Display information about the local mLDP inclusive tunnel for VPN instance mvpn.
<Sysname> display multicast-vpn vpn-instance mvpn inclusive-tunnel local
Tunnel interface: LSPVOif0
Tunnel identifier: mLDP P2MP <0xe4000000>
Tunnel state: Up
Opaque value: 0x010004e4000000
Root: 1.1.1.1 (local)
Leafs:
1: 2.2.2.2
2: 3.3.3.3
# Display information about the remote mLDP inclusive tunnel for VPN instance mvpn.
<Sysname> display multicast-vpn vpn-instance mvpn inclusive-tunnel remote
Tunnel interface: --
Tunnel identifier: mLDP P2MP <0xe4000000>
Tunnel state: --
Opaque value: 0x010004e4000000
Root: 1.1.1.1
Leaf:
1: 2.2.2.2 (local)
Table 9 Command output
|
Field |
Description |
|
Tunnel interface |
Name of the tunnel interface for the inclusive tunnel. This field displays N/A if the tunnel is being created. This field displays two hyphens (--) if the device is a leaf node. |
|
Tunnel Identifier |
Tunnel information, including the tunnel type and tunnel identifier. Only mLDP P2MP tunnels are supported in the current software version.This field displays unknown if the selective tunnel is being created. |
|
Tunnel State |
Status of the inclusive tunnel: · Up. · Down. This field displays two hyphens (--) if the device is a leaf node of this tunnel. |
|
Opaque value |
Opaque value, which includes an LSP ID used in mLDP P2MP tunnel establishment. This field is displayed only for an mLDP P2MP tunnel. |
|
Root |
IP address of the root node on the inclusive tunnel. If the root node is the device where this command is executed, this field displays the IP address of the MVPN source interface and (local) is appended to the IP address. |
|
Leaf |
IP address of a leaf node. If the leaf node is the device where this command is executed, this field displays the IP address of the MVPN source interface and (local) is appended to the IP address. |
display multicast-vpn ipv6 default-group
Use display multicast-vpn ipv6 default-group to display information about default groups for IPv6 multicast transmission.
Syntax
display multicast-vpn [ vpn-instance vpn-instance-name ] ipv6 default-group { local | remote }
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. If you do not specify a VPN instance, this command displays information about default groups of all VPN instances for IPv6 multicast transmission.
local: Specifies local default groups for IPv6 multicast transmission.
remote: Specifies remote default groups for IPv6 multicast transmission.
Examples
# Display information about the local default group for IPv6 multicast transmission in each VPN instance.
<Sysname> display multicast-vpn ipv6 default-group local
MVPN local default-group information:
Group address Source address Interface VPN instance
239.1.1.1 1.1.1.1 MTunnel0 mvpna
239.2.1.1 1.1.1.1 MTunnel1 mvpnb
239.3.1.1 -- MTunnel2 mvpnc
# Display information about the remote default group for IPv6 multicast transmission in each VPN instance.
<Sysname> display multicast-vpn ipv6 default-group remote
MVPN remote default-group information:
Group address Source address Next hop VPN instance
239.1.1.1 1.2.0.1 1.2.0.1 a
239.1.1.1 1.2.0.2 1.2.0.2 a
239.1.1.1 1.2.0.3 1.2.0.3 a
239.1.1.2 1.2.0.1 1.2.0.1 b
239.1.1.2 1.2.0.2 1.2.0.2 b
239.1.1.3 1.2.0.1 1.2.0.1 -
Table 10 Command output
|
Field |
Description |
|
Group address |
IP address of the default group for IPv6 multicast transmission. |
|
Source address |
IP address of the MVPN source interface, which is used by the MTI as the source address to encapsulate IPv6 multicast packets of the VPN instance. |
|
Interface |
MTI interface. |
|
Next hop |
IP address of the next hop. |
|
VPN instance |
VPN instance to which the default group belongs. |
display multicast-vpn selective-tunnel
Use display multicast-vpn selective-tunnel to display information about selective tunnels for a VPN instance.
Syntax
display multicast-vpn vpn-instance vpn-instance-name selective-tunnel { local [ interface interface-type interface-number ] | remote }
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters.
local: Specifies local selective tunnels.
interface interface-type interface-number: Specifies an interface by its type and number. If you do not specify an interface, this command displays information about selective tunnels on all interfaces.
remote: Specifies remote selective tunnels.
Examples
# Display information about local mLDP selective tunnels for VPN instance mvpn.
<Sysname> display multicast-vpn vpn-instance mvpn selective-tunnel local
Total 2 selective tunnels in using
Total 1 selective tunnels in creating
Tunnel interface: N/A
Tunnel identifier: unknown
Tunnel interface: LSPVOif1
Tunnel identifier: mLDP P2MP <0xe4000001>
Tunnel state: Up
Opaque value: 0x010004e4000001
Root: 1.1.1.1(local)
Tunnel interface: LSPVOif2
Tunnel identifier: mLDP P2MP <0xe4000002>
Tunnel state: Up
Opaque value: 0x010004e4000002
Root: 1.1.1.1(local)
# Display information about remote mLDP selective tunnels for VPN instance mvpn.
<Sysname> display multicast-vpn vpn-instance mvpn selective-tunnel remote
Tunnel interface: --
Tunnel identifier: mLDP P2MP <0xe4000001>
Tunnel state: --
Opaque value: 0x010004e4000001
Root: 1.1.1.1
Leaf:
1: 2.2.2.2 (local)
Tunnel interface: --
Tunnel identifier: mLDP P2MP <0xe4000002>
Tunnel state: --
Opaque value: 0x010004e4000002
Root: 1.1.1.1
Leaf:
1: 2.2.2.2 (local)
Table 11 Command output
|
Field |
Description |
|
Tunnel interface |
Name of the tunnel interface for a selective tunnel. This field displays N/A if the selective tunnel is being created. This field displays two hyphens (--) if the device is a leaf node. |
|
Tunnel Identifier |
Tunnel information, including the tunnel type and tunnel identifier. Only mLDP P2MP tunnels are supported in the current software version.This field displays unknown if the selective tunnel is being created. |
|
Tunnel State |
Status of the selective tunnel: · Up. · Down. This field displays two hyphens (--) if the device is a leaf node of this tunnel. |
|
Opaque value |
Opaque value, which includes an LSP ID used in mLDP P2MP tunnel establishment. This field is displayed only for an mLDP P2MP tunnel. |
|
Root |
IP address of the root node on the selective tunnel. If the root node is the device where this command is executed, this field displays the IP address of the MVPN source interface and (local) is appended to the IP address. |
|
Leaf |
IP address of a leaf node on the selective tunnel. If the leaf node is the device where this command is executed, this field displays the IP address of the MVPN source interface and (local) is appended to the IP address. |
inclusive-tunnel dynamic
Use inclusive-tunnel dynamic to enable dynamic inclusive tunnel creation.
Use undo inclusive-tunnel dynamic to restore the default.
Syntax
inclusive-tunnel dynamic
undo inclusive-tunnel dynamic
Default
Dynamic inclusive tunnel creation is disabled.
Views
MVPN IPv4 address family view
Predefined user roles
network-admin
Examples
# In MVPN IPv4 address family view of VPN instance mvpn, enable dynamic inclusive tunnel creation.
<Sysname> system-view
[Sysname] multicast-vpn vpn-instance mvpn mode mldp
[Sysname-mvpn-mvpn] address-family ipv4
[Sysname-mvpn-mvpn-ipv4] inclusive-tunnel dynamic
multicast-vpn
Use multicast-vpn to create an MVPN for a VPN instance and enter its view, or enter the view of the existing MVPN.
Use undo multicast-vpn to delete configurations in MVPN view for a VPN instance.
Syntax
multicast-vpn vpn-instance vpn-instance-name mode { mdt | mldp }
undo multicast-vpn vpn-instance vpn-instance-name
Default
No MVPN exists.
Views
System view
Predefined user roles
network-admin
Parameters
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters.
mode: Specifies the mode of the MVPN.
mdt: Specifies the MDT mode.
Examples
# Create an MDT-based MVPN for VPN instance mvpn and enter MVPN view.
<Sysname> system-view
[Sysname] multicast-vpn vpn-instance mvpn mode mdt
[Sysname-mvpn-mvpn]
multicast rpf-proxy-vector compatible
Use multicast rpf-proxy-vector compatible to enable RPF vector compatibility.
Use undo multicast rpf-proxy-vector compatible to disable RPF vector compatibility.
Syntax
multicast rpf-proxy-vector compatible
undo multicast rpf-proxy-vector compatible
Default
RPF vector compatibility is disabled.
Views
System view
Predefined user roles
network-admin
Usage guidelines
This command enables the device to work with other manufacturers' products on the RPF vector. You must configure this command on all H3C devices on the public network for multicast VPN inter-AS option B.
This command is available only for an MDT-based MVPN.
Examples
# Enable RPF vector compatibility.
<Sysname> system-view
[Sysname] multicast rpf-proxy-vector compatible
mvpn-advertise-rt-import
Use mvpn-advertise-rt-import to allow the device to add Source AS and VRF Route Import extended community attributes to VPNv4 routes sent to BGP VPNv4 peers.
Use undo mvpn-advertise-rt-import to disable the device from adding Source AS and VRF Route Import extended community attributes to VPNv4 routes sent to BGP VPNv4 peers.
Syntax
mvpn-advertise-rt-import
undo mvpn-advertise-rt-import
Default
The device is allowed to add Source AS and VRF Route Import extended community attributes to VPNv4 routes sent to BGP VPNv4 peers.
Views
BGP IPv4 MVPN address family view
Predefined user roles
network-admin
Usage guidelines
Before you execute this command, you must establish BGP VPNv4 peer relationship and BGP IPv4 MVPN neighbor relationship between the device and other devices.
The following BGP extended community attributes are used to identify the route originator of a BGP VPNv4 route:
· Source AS—Carries the number of AS where the MVPN source resides. The format of this attribute is 32-bit AS number:0, for example, 100:0.
· VRF Route Import—Carries the originating address and the VPN instance to which the BGP VPNv4 route belongs. The format of the attribute is 32-bit originating address:VPN instance index, for example, 192.168.122.15:1. The value of the originating address depends on the MVPN source interface configuration.
¡ If the source command is used to specify the MVPN source interface, the originating address is the IP address of the MVPN source interface.
¡ If the source command is not used, the originating address is the router ID of the BGP instance to which the device belongs.
Examples
# Allow the device to add Source AS and VRF Route Import extended community attributes to routes sent to the BGP VPNv4 peers.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp-default] address-family vpnv4
[Sysname-bgp-default-vpnv4] mvpn-advertise-rt-import
Related commands
source
policy vpn-target
Use policy vpn-target to enable route target filtering for BGP MVPN routes.
Use undo policy vpn-target to disable route target filtering for BGP MVPN routes.
Syntax
policy vpn-target
undo policy vpn-target
Default
Route target filtering is enabled for BGP MVPN routes.
Views
BGP IPv4 MVPN address family view
Predefined user roles
network-admin
Usage guidelines
This feature enables the device to add only BGP MVPN routes of which the export route target attribute matches the local import route target attribute to the BGP MVPN routing table.
If the device needs to save all BGP MVPN routes, use the undo policy vpn-target command to disable route target filtering for BGP MVPN routes.
Examples
# Disable route target filtering for BGP IPv4 MVPN routes.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp-default] address-family ipv4 mvpn
[Sysname-bgp-default-mvpn] undo policy vpn-target
rpf proxy vector
Use rpf proxy vector to enable the RPF vector feature.
Use undo rpf proxy vector to disable the RPF vector feature.
Syntax
rpf proxy vector
undo rpf proxy vector
Default
The RPF vector feature is disabled.
Views
MRIB view
Predefined user roles
network-admin
Usage guidelines
This feature enables PEs to carry the RPF vector information in PIM join messages for other devices to perform RPF check on the messages.
You must enable this feature on PEs that have attached receivers when you configure multicast VPN inter-AS option B.
Only the configuration made in MRIB view of a VPN instance takes effect. The configuration made in MRIB view on the public network does not take effect.
Examples
# Enable the RPF vector feature for VPN instance mvpn.
<Sysname> system-view
[Sysname] multicast routing vpn-instance mvpn
[Sysname-mrib-mvpn] rpf proxy vector
selective-tunnel delay
Use selective-tunnel delay to set the tunnel switchover delay.
Use undo selective-tunnel delay to restore the default.
Syntax
selective-tunnel delay delay
undo selective-tunnel delay
Default
The tunnel switchover delay is 3 seconds.
Views
MVPN IPv4 address family view
Predefined user roles
network-admin
Parameters
delay: Specifies the tunnel switchover delay, in the range of 1 to 60 seconds.
Examples
# In MVPN IPv4 address family view of VPN instance mvpn, set the tunnel switchover delay to 20 seconds.
<Sysname> system-view
[Sysname] multicast-vpn vpn-instance mvpn mode mldp
[Sysname-mvpn-mvpn] address-family ipv4
[Sysname-mvpn-mvpn-ipv4] selective-tunnel delay 20
selective-tunnel dynamic
Use selective-tunnel dynamic to enable dynamic selective tunnel creation.
Use undo selective-tunnel dynamic to restore the default.
Syntax
selective-tunnel dynamic [ acl ipv4-acl-number ]
undo selective-tunnel dynamic
Default
Dynamic selective tunnel creation is disabled.
Views
MVPN IPv4 address family view
Predefined user roles
network-admin
Parameters
acl ipv4-acl-number: Specifies an IPv4 advanced ACL by its number in the range of 3000 to 3999. The source and destination keywords in ACL rules are used to match the multicast source and multicast group addresses, respectively. If you do not specify an ACL, multicast packets of all (S, G) entries can trigger a tunnel switchover.
Examples
# In MVPN IPv4 address family view of VPN instance mvpn, enable dynamic selective tunnel creation.
<Sysname> system-view
[Sysname] multicast-vpn vpn-instance mvpn mode mldp
[Sysname-mvpn-mvpn] address-family ipv4
[Sysname-mvpn-mvpn-ipv4] selective-tunnel dynamic
source
Use source to specify an MVPN source interface.
Use undo source to restore the default.
Syntax
source interface-type interface-number
undo source
Default
No MVPN source interface is specified.
Views
MVPN IPv4 address family view
MVPN IPv6 address family view
Predefined user roles
network-admin
Parameters
interface-type interface-number: Specifies an interface by its type and number.
Usage guidelines
For the PE to obtain correct routing information, you must specify the interface used for establishing BGP peer relationship as the MVPN source interface.
For an MVPN that transmits both IPv4 and IPv6 multicast packets, you must specify the same MVPN source interface in MVPN IPv4 address family view and IPv6 address family view.
Examples
# In MVPN IPv4 address family view and IPv6 address family view of VPN instance mvpn, specify Loopback 1 as the MVPN source interface. (Loopback 1 is the source interface used for establishing BGP peer relationship.)
<Sysname> system-view
[Sysname] multicast-vpn vpn-instance mvpn mode mdt
[Sysname-mvpn-mvpn] address-family ipv4
[Sysname-mvpn-mvpn-ipv4] source loopback 1
[Sysname-mvpn-mvpn-ipv4] quit
[Sysname-mvpn-mvpn] address-family ipv6
[Sysname-mvpn-mvpn-ipv6] source loopback 1
