beautypg.com

Configuring bgp route reception filtering policies – H3C Technologies H3C S12500 Series Switches User Manual

Page 232

background image

216

Step Command

Remarks

3.

Configure BGP route
distribution filtering policies.

Configure the filtering of

redistributed routes advertised to
all peers:

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 or peer

group:
peer { group-name | ip-address }

route-policy route-policy-name

export

Reference an ACL to filter

advertisements to a peer or peer

group:
peer { group-name | ip-address }

filter-policy acl-number export

Reference an AS path list to filter
routing information sent to a peer

or peer group:

peer { group-name | ip-address }

as-path-acl as-path-acl-number
export

Reference an IP prefix list to filter

routing information sent to a peer
or peer group:

peer { group-name | ip-address }

ip-prefix ip-prefix-name export

Configure at least one method.
Not configured by default.

Configuring BGP route reception filtering policies

You can use the following methods to configure BGP route reception filtering policies:

Use ACL or IP prefix list to filter routing information received by all peers.

Use routing policy, ACL, AS path list, or IP prefix list to filter routing information received by the
specified peer or peer group.

If several filtering policies are configured, they are applied in the following sequence:

1.

filter-policy import

2.

peer filter-policy import

3.

peer as-path-acl import

4.

peer ip-prefix import

5.

peer route-policy import

Only routes passing all the configured policies can be received.
To configure BGP route reception filtering policies: