Configuring Bgp Route Reception Filtering Policies - H3C S5500-EI series Operation Manual

Hide thumbs Also See for S5500-EI series:
Table of Contents

Advertisement

Operation Manual – IPv4 Routing
H3C S5500-EI Series Ethernet Switches
Enter system view
Enter BGP view
Configure the filtering of
outgoing redistributed
routes
Reference a routing policy
to filter routes to a
peer/peer group
Reference an ACL to filer
routes to a peer/peer
group
Reference an AS path
ACL to filter routing
information to a peer/peer
group
Reference an IP prefix list
to filer routing information
to a peer/peer group

5.4.6 Configuring BGP Route Reception Filtering Policies

Follow these steps to configure BGP route reception filtering policies:
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
To do...
system-view
bgp as-number
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
To do...
system-view
bgp as-number
filter-policy { acl-number
| ip-prefix
ip-prefix-name } import
peer { group-name |
ip-address } route-policy
policy-name import
peer { group-name |
ip-address } filter-policy
acl-number import
Use the command...
Use the command...
5-25
Chapter 5 BGP Configuration
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

Advertisement

Table of Contents
loading

Table of Contents