multicast-domain source-interface (VPN instance view)

Function

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.

Format

multicast-domain source-interface { srcif-type srcif-num | srcif-name }

undo multicast-domain source-interface

Parameters

Parameter Description Value
srcif-type

Specifies the type of an interface.

-

srcif-num

Specifies the number of an interface.

-

srcif-name

Specifies the name of an interface.

-

Views

VPN instance IPv4 address family view, VPN instance view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mvpn write

Usage Guidelines

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.

Example

# Configure the Loopback 1 address as the default IP address of an MTI.
<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
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >