R3166-R3206-HP High-End Firewalls Network Management Configuration Guide-6PW101
335
For how to configure an IP prefix list, route policy and AS-path ACL, see the chapter “Policy-based routing
configuration.”
2. Configure BGP route distribution filtering policies
Follow these steps to configure BGP route distribution filtering policies:
To do… Use the command…
Remarks
Enter system view system-view
—
Enter BGP view bgp as-number
—
Configure the filtering of
redistributed routes
filter-policy { acl-number |
ip-prefix ip-prefix-name } export
[ direct | ospf process-id | rip
process-id | | static ]
Required to choose any;
Not configured by default.
You can configure a filtering policy
as needed;
If several filtering policies are
configured, they are applied in the
following sequence:
• filter-policy export
• peer filter-policy export
• peer as-path-acl export
• peer ip-prefix export
• peer route-policy export
Only routes pass the first policy,
can they go to the next, and only
routes passing all the configured
policies, can they be advertised.
Reference a routing policy to filter
advertisements to a peer/peer
group
peer { group-name | ip-address }
route-policy route-policy-name
export
Reference an ACL to filter
advertisements to a peer/peer
group
peer { group-name | ip-address }
filter-policy acl-number export
Reference an AS path ACL to filter
routing information sent to a
peer/peer group
peer { group-name | ip-address }
as-path-acl as-path-acl-number
export
Reference an IP prefix list to filer
routing information sent to a
peer/peer group
peer { group-name | ip-address }
ip-prefix ip-prefix-name export
3. Configure BGP route reception filtering policies
Only routes permitted by the configured filtering policies can be installed into the local BGP routing table.
Members of a peer group can have different route reception filtering policies from the peer group.
Follow these steps to configure BGP route reception filtering policies:
To do… Use the command…
Remarks
Enter system view system-view
—
Enter BGP view bgp as-number
—