Configuring bgp route reception filtering policies – H3C Technologies H3C SR8800 User Manual

Page 231

Advertising
background image

215

Step Command

Remarks

3.

Configure BGP route
distribution filtering policies.

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 filter

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

filter routing information sent to

a peer/peer group:
peer { group-name |

ip-address } ip-prefix

ip-prefix-name export

Configure at least one command.
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:

4.

filter-policy export

5.

peer filter-policy export

6.

peer as-path-acl export

7.

peer ip-prefix export

8.

peer route-policy export

Only routes passing the first policy

can go to the next, and only routes
passing all the configured policies

can be advertised.

Configuring BGP route reception filtering policies

Only routes permitted by the configured filtering policies can be installed into the local BGP routing table.

The members of a peer group can have different route reception filtering policies from the peer group.
To configure BGP route reception filtering policies:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter BGP view.

bgp as-number

N/A

Advertising