< Home

Configuring the Rule for Filtering SA Messages

Context

By default, a switch forwards all SA messages that pass RPF checks to MSDP peers. You can configure a filtering rule to determine the SA messages that can be created, accepted, or forwarded, so as to control SA message transmission between MSDP peers.

  • After you configure a filtering rule for creating SA messages, the switch filters the (S, G) entries to be advertised in SA messages based on the rule and determines whether to advertise the multicast source information.
  • After you configure a filtering rule for accepting or forwarding SA messages, the switch filters the (S, G) entries advertised in received SA messages based on the rule and determines whether to accept or forward the multicast source information.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run msdp [ vpn-instance vpn-instance-name ]

    The MSDP view is displayed.

  3. Run import-source [ acl acl-number ]

    A filtering rule for creating SA messages is configured.

    When configuring an ACL rule, use the permit keyword to configure the switch to create SA messages with specified (S, G) entries. If no rule is configured in the ACL, SA messages do not advertise information about any local active source.

  4. Run peer peer-address sa-policy { import | export } [ acl advanced-acl-number ]

    A filtering rule for accepting or forwarding SA messages is configured.

    When configuring an ACL rule, use the permit keyword to configure the switch to accept or forward only SA messages with (S, G) entries that match the ACL rule. If no rule is configured in the ACL, the switch does not accept or forward any SA messages with (S, G) entries.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >