Command Manual – Routing Protocol
Quidway S8500 Series Routing Switches
Chapter 5 BGP Configuration Commands
Huawei Technologies Proprietary
5-38
Description
Use the
peer filter-policy
export
command to configure the filter-policy list of routes
advertised by a peer group.
Use the
undo peer filter-policy
export
command to cancel the existing configuration.
By default, a peer/peer group has no access control list (acl).
The
peer filter-policy export
command can only be configured on peer groups.
Related command:
peer filter-policy export
,
ip as-path-acl
,
peer as-path-acl
.
Example
# Configure to use acl 2000 to filter the routes advertised by the peer group test.
[Quidway-bgp] peer test filter-policy 2000 export
5.1.43 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
BGP 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.
import
: Ingress filter policy. It is only applicable to peer groups.
Description
Use the
peer filter-policy
import
command to configure the filter-policy list of the
routes received by a peer/peer group.
Use the
undo peer filter-policy
import
command to cancel the existing configuration.
By default, a peer/peer group has no access control list (acl).
Related command:
ip as-path-acl
,
peer as-path-acl export
,
peer as-path-acl
import
.
The priority of the inbound filter policy configured for the peer is higher than that
configured for the peer group.