3com S7906E Instrução De Instalação
1-23
For how to configure an ACL, refer to ACL Configuration in the Security Volume.
For how to configure an IP prefix list, route policy and AS-path ACL, refer to Route Policy Configuration
in the Routing Volume.
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
redistributed routes
filter-policy { acl-number |
ip-prefix ip-prefix-name }
export [ direct | isis process-id
| ospf process-id | rip
process-id | | static ]
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/peer group
filter advertisements to a
peer/peer group
peer { group-name |
ip-address } route-policy
route-policy-name export
ip-address } route-policy
route-policy-name export
Reference an ACL to filer
advertisements to a peer/peer
group
advertisements to a peer/peer
group
peer { group-name |
ip-address } filter-policy
acl-number export
ip-address } filter-policy
acl-number export
Reference an AS path ACL to
filter routing information sent to
a peer/peer group
filter routing information sent to
a peer/peer group
peer { group-name |
ip-address } as-path-acl
as-path-acl-number export
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
filer routing information sent to
a peer/peer group
peer { group-name |
ip-address } ip-prefix
ip-prefix-name export
ip-address } ip-prefix
ip-prefix-name export
Required to choose any;
Not configured by default.
You can configure a filtering
policy as needed;
policy as needed;
If several filtering policies are
configured, they are applied in
the following sequence:
configured, they are applied in
the following sequence:
z
filter-policy export
z
peer filter-policy export
z
peer as-path-acl export
z
peer ip-prefix export
z
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.
policy, can they go to the next,
and only routes passing all the
configured policies, can they be
advertised.
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
—
Filter incoming routes with an
ACL or IP prefix list
ACL or IP prefix list
filter-policy { acl-number |
ip-prefix ip-prefix-name }
import
ip-prefix ip-prefix-name }
import
Reference a routing policy to
filter routes from a peer/peer
group
filter routes from a peer/peer
group
peer { group-name |
ip-address } route-policy
route-policy-name import
ip-address } route-policy
route-policy-name import
Reference an ACL to filter
routing information from a
peer/peer group
routing information from a
peer/peer group
peer { group-name |
ip-address } filter-policy
acl-number import
ip-address } filter-policy
acl-number import
Reference an AS path ACL to
filter routing information from a
peer/peer group
filter routing information from a
peer/peer group
peer { group-name |
ip-address } as-path-acl
as-path-acl-number import
ip-address } as-path-acl
as-path-acl-number import
Required to choose any;
No route reception filtering is
configured by default;
configured by default;
You can configure a filtering
policy as needed;
policy as needed;
If several filtering policies are
configured, they are applied in
the following sequence:
configured, they are applied in
the following sequence:
z
filter-policy import
z
peer filter-policy import
z
peer as-path-acl import
z
peer ip-prefix import