beautypg.com

Configure bgp route reception filtering policies – H3C Technologies H3C S7500E Series Switches User Manual

Page 227

background image

6-24

z

IP prefix list

z

Route policy

z

AS-path ACL

For how to configure an ACL, see ACL Configuration in the ACL and QoS Configuration Guide.

For how to configure an IP prefix list, route policy and AS-path ACL, see Route Policy Configuration in

the Layer 3 - IP Routing Configuration Guide.

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 | isis process-id | ospf

process-id | rip process-id | |

static ]

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 filer

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

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:

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.

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