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
mdc-admin
Parameters
interface-type interface-number: Specifies an interface by its type and number.
Usage guidelines
For the PE device 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 and IPv6 address family views.
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-mvpn 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