Configuring the Rule for Filtering SA Messages
Context
By default, a device receives all Source-Active (SA) messages that pass the RPF check, and forwards the SA messages to all MSDP peers. By configuring the filtering rule for creating, receiving, and forwarding SA messages, you can control what SA messages are transmitted between MSDP peers.
- After you configure the rules for filtering the SA messages to be created, the device filters the (S, G) entries advertised through SA messages based on the rules, and determines whether to create the multicast source messages.
- After you configure the rules for filtering the SA messages to be forwarded and received, the device filters the (S, G) entries advertised through SA messages based on the rules, and determines whether to accept or forward the multicast source messages.
Procedure
- Run system-view
The system view is displayed.
- Run msdp [ vpn-instance vpn-instance-name ]
The MSDP view is displayed.
- Run import-source [ acl { acl-number | acl-name } ]
The rules for filtering multicast sources in SA messages are set.
- Run peer peer-address sa-policy { import | export } [ acl { advanced-acl-number | acl-name } ]
The rules for filtering the received SA messages or the SA messages to be forwarded are set.