HP 4800G Series Configuration Manual page 583

24/48 port
Table of Contents

Advertisement

To do...
Configure the filtering of
redistributed routes
Reference a routing policy to
filter advertisements to a
peer/peer group
Reference an ACL to filer
advertisements to a peer/peer
group
Reference an AS path ACL to
filter routing information sent to
a peer/peer group
Reference an IP prefix list to
filer routing information sent to
a peer/peer group
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...
Enter system view
Enter BGP view
Filter incoming routes with an
ACL or IP prefix list
Reference a routing policy to
filter routes from a peer/peer
group
Reference an ACL to filter
routing information from a
peer/peer group
Reference an AS path ACL to
filter routing information from a
peer/peer group
Reference an IP prefix list to
filter routing information from a
peer/peer group
Use the command...
filter-policy { acl-number |
ip-prefix ip-prefix-name }
export [ direct | isis process-id
| ospf process-id | rip
process-id | | static ]
peer { group-name |
ip-address } route-policy
route-policy-name export
peer { group-name |
ip-address } filter-policy
acl-number export
peer { group-name |
ip-address } as-path-acl
as-path-acl-number export
peer { group-name |
ip-address } ip-prefix
ip-prefix-name export
Use the command...
system-view
bgp as-number
filter-policy { acl-number |
ip-prefix ip-prefix-name }
import
peer { group-name |
ip-address } route-policy
route-policy-name import
peer { group-name |
ip-address } filter-policy
acl-number import
peer { group-name |
ip-address } as-path-acl
as-path-acl-number import
peer { group-name |
ip-address } ip-prefix
ip-prefix-name import
1-23
Remarks
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.
Remarks
Required to choose any;
No route reception filtering is
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 import
peer filter-policy import
peer as-path-acl import
peer ip-prefix import
peer route-policy import
Only routes passing the first
policy, can they go to the next,
and only routes passing all the
configured policies, can they be
received.

Advertisement

Chapters

Table of Contents
loading

Table of Contents