Step
Configure BGP route
3.
distribution filtering policies.
Configuring BGP route reception filtering policies
You can use the following methods to configure BGP route reception filtering policies:
•
Use ACL or IP prefix list to filter routing information received by all peers.
•
Use routing policy, ACL, AS path list, or IP prefix list to filter routing information received by the
specified peer or peer group.
If several filtering policies are configured, they are applied in the following sequence:
1.
filter-policy import
2.
peer filter-policy import
3.
peer as-path-acl import
4.
peer ip-prefix import
5.
peer route-policy import
Only routes passing all configured policies can be received.
To configure BGP route reception filtering policies:
Command
•
Configure the filtering of
redistributed routes advertised to
all peers:
filter-policy { acl-number |
ip-prefix ip-prefix-name } export
[ direct | isis process-id | ospf
process-id | rip process-id | |
static ]
•
Reference a routing policy to filter
advertisements to a peer or peer
group:
peer { group-name | ip-address }
route-policy route-policy-name
export
•
Reference an ACL to filter
advertisements to a peer or peer
group:
peer { group-name | ip-address }
filter-policy acl-number export
•
Reference an AS path list to filter
routing information sent to a peer
or peer group:
peer { group-name | ip-address }
as-path-acl as-path-acl-number
export
•
Reference an IP prefix list to filter
routing information sent to a peer
or peer group:
peer { group-name | ip-address }
ip-prefix ip-prefix-name export
191
Remarks
Use at least one approach.
Not configured by default.