< Home

import-source

Function

The import-source command prevents the information about active sources in a domain from being advertised when an SA message is created.

The undo import-source command restores the default configuration.

By default, the information about all active sources is advertised in a domain through SA messages.

Format

import-source [ acl acl-number ]

undo import-source

Parameters

Parameter Description Value
acl

Indicates the ACL that controls which source is to be advertised to a domain through an SA message and to which groups the SA message is to be advertised. If this parameter is not specified, multicast sources are not advertised.

-
acl-number

Specifies the number of the basic ACL or advanced ACL.

  • Basic ACL: filters source addresses.
  • Advanced ACL: filters source addresses and multicast group addresses.
The value is an integer that ranges from 2000 to 3999.

Views

MSDP view of the public network instance or MSDP view of the VPN instance

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When the import-source command is used to filter (S, G) forwarding entries to be advertised in SA messages based on source addresses. This configuration controls transmission of information about multicast sources.

You can also run the peer sa-policy command to filter the SA messages to be forwarded.

Prerequisites

MSDP has been enabled using the msdp command.

Precautions

The import-source and acl commands are used together.
  • In the basic ACL view, set the source address range of advertised multicast packets using SA messages by specifying the source parameter in the rule command.
  • In the advanced ACL view, set the source address range of advertised multicast packets using SA messages by specifying the source parameter in the rule command, and set the address range of advertised multicast groups using SA messages by specifying the destination parameter in the rule command.

Example

# Configure an MSDP peer to advertise the information about a specified active source when creating SA messages. The multicast source is on 10.10.0.0/16 network segment, and the multicast group address is 225.1.0.0/16.

<HUAWEI> system-view
[HUAWEI] acl number 3101
[HUAWEI-acl-adv-3101] rule permit ip source 10.10.0.0 0.0.255.255 destination 225.1.0.0 0.0.255.255
[HUAWEI-acl-adv-3101] quit
[HUAWEI] multicast routing-enable
[HUAWEI] msdp
[HUAWEI-msdp] import-source acl 3101
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >