peer sa-policy local-export

Function

The peer sa-policy local-export command configures a policy for filtering the locally created source active (SA) messages to be sent to a specified Multicast Source Discovery Protocol (MSDP) peer.

The undo peer sa-policy local-export command restores the default configuration.

By default, the device sends all locally created (S, G) messages.

Format

peer peer-address sa-policy local-export acl { advanced-acl-number | acl-name }

peer peer-address sa-policy local-export

undo peer peer-address sa-policy local-export

Parameters

Parameter Description Value
peer-address

Specifies the address of an MSDP peer.

The value is in dotted decimal notation.

acl advanced-acl-number

Specifies the number of an advanced ACL.

The value is an integer ranging from 3000 to 3999. If the ACL is not specified, all SA messages carrying (S, G) information are filtered.

acl-name

Specifies the name of a named ACL.

The value is a string of 1 to 64 case-sensitive characters without spaces. The value must start with a letter (a to z or A to Z, case sensitive).

Views

VPN instance MSDP view, MSDP view of a public network instance

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
msdp write

Usage Guidelines

Usage Scenario

You can run the peer sa-policy local-export command to configure a policy for filtering SA messages so that only the locally created SA messages that match the policy are sent to the specified MSDP peer.

Prerequisites

You can run the peer sa-policy local-export command to configure a policy for filtering SA messages so that only the locally created SA messages that match the policy are sent to the specified MSDP peer.

Configuration Impact

You can run the peer sa-policy local-export command to configure a policy for filtering SA messages so that only the locally created SA messages that match the policy are sent to the specified MSDP peer.

Precautions

You can run the peer sa-policy local-export command to configure a policy for filtering SA messages so that only the locally created SA messages that match the policy are sent to the specified MSDP peer.

Example

# In the public network instance, configure an ACL 3100 and configure the router to filter local (S, G) information to be send to the peer 10.10.7.6. based on ACL 3100.
<HUAWEI> system-view
[~HUAWEI] acl number 3100
[*HUAWEI-acl4-advance-3100] rule permit ip source 10.15.0.0 0.0.255.255 destination 225.1.0.0 0.0.255.255
[*HUAWEI-acl4-advance-3100] quit
[*HUAWEI] multicast routing-enable
[*HUAWEI] msdp
[*HUAWEI-msdp] peer 10.10.7.6 connect-interface GigabitEthernet 0/1/0
[*HUAWEI-msdp] peer 10.10.7.6 sa-policy local-export acl 3100
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >