224
Configuring SA message filtering rules
By configuring an SA message creation rule, you can enable the router to filter the (S, G) entries to be
advertised when creating an SA message, so that the propagation of messages of multicast sources is
controlled.
By configuring a filtering rule for receiving or forwarding SA messages, you can enable the router to filter
the (S, G) forwarding entries to be advertised when receiving or forwarding an SA message, so that the
propagation of multicast source information is controlled at SA message reception or forwarding.
By configuring a TTL threshold for multicast data packet encapsulation in SA messages, you can control
the multicast data packet encapsulation in SA messages and limit the propagation range of SA
messages:
• Before creating an SA message with an encapsulated multicast data packet, the router checks the
TTL value of the multicast data packet. If the TTL value is less than the threshold, the router does not
create an SA message. If the TTL value is greater than or equal to the threshold, the router
encapsulates the multicast data in an SA message and sends the SA message.
• After receiving an SA message with an encapsulated multicast data packet, the router decreases the
TTL value of the multicast packet by 1 and then checks the TTL value. If the TTL value is less than the
threshold, the router does not forward the SA message to the designated MSDP peer. If the TTL
value is greater than or equal to the threshold, the router re-encapsulates the multicast data in an SA
message and sends the SA message.
To configure a filtering rule for receiving or forwarding SA messages:
Ste
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter public network MSDP
view or VPN instance MSDP
view.
msdp [ vpn-instance
vpn-instance-name ]
N/A
3. Configure an SA message
creation rule.
import-source [ acl acl-number ]
No restrictions on (S, G) entries by
default.
4. Configure a filtering rule for
receiving or forwarding SA
messages.
peer peer-address sa-policy
{ import | export } [ acl
acl-number ]
No filtering rule by default.
5. Configure the TTL threshold
for multicast data packet
encapsulation in SA
messages.
peer peer-address minimum-ttl
ttl-value
Optional.
0 by default.
Configuring the SA cache mechanism
To reduce the time spent in obtaining the multicast information, you can enable the SA cache mechanism
to cache (S, G) entries contained in SA messages locally on the router. However, caching (S, G) entries
uses memory space on the router.