Filter the
routing
information to
be advertised
to a peer group
Only the routes that pass the specified filter are advertised.
A peer group member uses the same outbound route filtering policy as that of the peer group it
belongs to. That is, a peer group adopts the same outbound route filtering policy.
Configuring BGP Route Reception Filtering Policies
Follow these steps to configure BGP route reception filtering policies:
Enter system view
Enter BGP view
Filter the received global routing
information
Specify a route filtering policy for routes
coming from a peer/peer group
Filter the
routing
information
received from a
peer/peer
group
To do...
Specify an
ACL-based BGP
route filtering policy
for a peer group
Specify an AS path
ACL–based filtering
policy for a peer group
IP prefix-based BGP
route filtering policy
for a peer group
To do...
Specify an ACL-based
BGP route filtering
policy for a peer/peer
group
Specify an AS path
ACL-based route
filtering policy for a
peer/peer group
Specify an IP prefix
list-based BGP route
filtering policy for a
peer/peer group
Use the command...
peer group-name filter-policy
acl-number export
peer group-name as-path-acl
acl-number export
peer group-name ip-prefix
ip-prefix-name export
Use the command...
system-view
bgp as-number
filter-policy { acl-number |
gateway ip-prefix-name |
ip-prefix ip-prefix-name
[ gateway ip-prefix-name ] }
import
peer { group-name | ip-address }
route-policy policy-name import
peer { group-name | ip-address }
filter-policy acl-number import
peer { group-name | ip-address }
as-path-acl acl-number import
peer { group-name | ip-address }
ip-prefix ip-prefix-name import
5-19
Remarks
Required
By default, a peer group has
no peer group-based ACL
BGP route filtering policy, AS
path ACL-based BGP route
filtering policy, or IP prefix
list-based BGP route filtering
policy configured.
Remarks
—
—
Required
By default, the received
routing information is not
filtered.
Required
By default, no route filtering
policy is specified for a
peer/peer group.
Required
By default, no ACL-based
BGP route filtering policy, AS
path ACL-based BGP route
filtering policy, or IP prefix
list-based BGP route filtering
policy is configured for a
peer/peer group.