Command Manual – Multicast
H3C S7500E Series Ethernet Switches
Chapter 5 MSDP Configuration Commands
5-16
[Sysname-msdp] peer 125.10.7.6 sa-cache-maximum 100
5.1.16 peer sa-policy
Syntax
peer peer-address sa-policy
{
import
|
export
} [
acl
acl-number
]
undo peer peer-address sa-policy
{
import
|
export
}
View
MSDP view
Parameters
import
: Specifies to filter SA messages from the specified MSDP peer.
export
: Specifies to filter SA messages forwarded to the specified MSDP peer.
peer-address
: MSDP peer address.
acl-number
: Advanced ACL number, in the range of 3000 to 3999. If you do not provide
an ACL number, all SA messages carrying (S, G) entries will be filtered off.
Description
Use the
peer sa-policy
command to configure a filtering rule for receiving or
forwarding SA messages.
Use the
undo
peer sa-policy
command to restore the default setting.
By default, SA messages received or to be forwarded are not filtered, namely, all SA
messages are accepted or forwarded.
In addition to controlling SA message receiving and forwarding by using this command,
you can also configure a filtering rule for creating SA messages using the
import-source
command.
Related commands:
display msdp peer-status
,
import-source
.
Examples
# Configure a filtering rule so that SA messages will be forwarded to the MSDP peer
125.10.7.6 only if they match ACL 3100.
<Sysname> system-view
[Sysname] acl number 3100
[Sysname-acl-adv-3100] rule permit ip source 170.15.0.0 0.0.255.255
destination 225.1.0.0 0.0.255.255
[Sysname-acl-adv-3100] quit
[Sysname] msdp
[Sysname-msdp] peer 125.10.7.6 connect-interface vlan-interface 100
[Sysname-msdp] peer 125.10.7.6 sa-policy export acl 3100