< Home

multicast-domain source-interface

Function

The multicast-domain source-interface command allows an MTI to use an IP address of a default interface.

The undo multicast-domain source-interface command restores the default setting.

By default, an MTI does not use an IP address of a default interface.

Format

multicast-domain source-interface interface-type interface-number

undo multicast-domain source-interface

Parameters

Parameter Description Value
interface-type interface-number Specifies the type and number of an interface.
NOTE:

To avoid frequent protocol changes caused by interface flapping, use the loopback interface address as the MTI address.

-

Views

System view, VPN IPv4 address family view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When a PE encapsulates VPN multicast packets, the MTI address is used as the multicast source address of the encapsulated public network multicast data packets. You can run the multicast-domain source-interface command to configure the source interface whose address is referenced by the MTI. This keeps the MTI address consistent with the IP address of the interface on which IBGP neighbor relationships are established, which ensures that VPN multicast packets pass the RPF check.

Prerequisites

The multicast routing function has been enabled using the multicast routing-enable command in the VPN instance.

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 IPv4 address family view takes precedence over that run in the system view. If the command is configured in the system view rather than the VPN IPv4 address family view, the setting in the system view takes effect.

A manually configured IP address on an MTI takes precedence over a default interface address specified using the multicast-domain source-interface command.

The source interface whose address is referenced by the MTI must be the interface on which public network IBGP neighbor relationships are established on the PE; otherwise, VPN multicast packets cannot pass the RPF check.

Example

# Configure the MTI to use the IP address of the default interface named loopback 1.

<HUAWEI> system-view
[HUAWEI] ip vpn-instance mytest
[HUAWEI-vpn-instance-mytest] route-distinguisher 11:11
[HUAWEI-vpn-instance-mytest-af-ipv4] multicast routing-enable
[HUAWEI-vpn-instance-mytest-af-ipv4] multicast-domain source-interface loopback 1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >