Command Manual – Multicast Protocol
Quidway S8500 Series Routing Switches
Chapter 7 MBGP Multicast Extension
Configuration Commands
Huawei Technologies Proprietary
7-19
Description
Use the
peer filter-policy
export
command to configure the peer group to apply the
ACL-based filter policy to the advertised routes. Use the
undo peer filter-policy
export
command to cancel the existing configuration.
By default, no ACL-based filter policy is configured.
The
peer filter-policy export
command can only be configured on peer groups.
Related command:
peer filter-policy import
,
acl .
Example
# Configure the peer group test to use ACL 2000 to filter the advertised routes.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] bgp 100
[Quidway-bgp] ipv4-family multicast
[Quidway-bgp-af-mul] peer test filter-policy 2000 export
7.1.28 peer filter-policy import
Syntax
peer
{
group-name | peer-address
}
filter-policy
acl-number
import
undo peer
{
group-name | peer-address
}
filter-policy
acl-number import
View
IPv4 multicast sub-address family view
Parameter
group-name
: Specifies the name of the peer group.
peer-address
: Specifies the IP address of the peer.
acl-number
: Specifies an IP acl number, ranging from 2000 to 3999. That is, you can
use basic ACLs or advanced ACLs.
Description
Use the
peer filter-policy
import
command to configure the peer to apply the
ACL-based filter policy to the received routes. Use the
undo peer filter-policy
import
command to cancel the existing configuration.
By default, no ACL-based filter policy is configured.
Related command:
peer filter-policy export
,
acl
.
The inbound filter policy configured for the peer takes precedence over the
configurations for the peer group.