The multicast-domain source-interface command configures the IP address of a specified interface as the default IP address of a multicast tunnel interface (MTI).
The undo multicast-domain source-interface command restores the default setting.
By default, no IP address of a specified interface is configured as the default IP address of an MTI.
Usage Scenario
To enable automatic configuration of an MTI IP address, run the multicast-domain source-interface command.
Prerequisites
Multicast routing has been enabled.
Precautions
If the multicast-domain source-interface command is run in the system view, the setting takes effect globally. The command run in the VPN instance view or VPN IPv4 address family view takes precedence over that run in the system view.
A manually configured IP address on an MTI takes precedence over that configured using the multicast-domain source-interface command. If an IP address is manually configured on an MTI, the address configured using this command does not take effect. The multicast-domain source-interface command is mutually exclusive with the mvpn command.<HUAWEI> system-view [~HUAWEI] interface LoopBack1 [*HUAWEI-LoopBack1] quit [*HUAWEI] ip vpn-instance abcd [*HUAWEI-vpn-instance-abcd] route-distinguisher 100:100 [*HUAWEI-vpn-instance-abcd-af-ipv4] multicast-routing enable [*HUAWEI-vpn-instance-abcd-af-ipv4] multicast-domain source-interface loopback 1