beautypg.com

Configuring inbound mbgp route filtering – H3C Technologies H3C S7500E Series Switches User Manual

Page 241

background image

8-7

To do…

Use the command…

Remarks

Apply a route policy to

advertisements to an IPv4 MBGP

peer/peer group

peer { group-name |

peer-address } route-policy

route-policy-name export

Reference an ACL to filter

advertisements to an IPv4 MBGP

peer/peer group

peer { group-name | ip-address }

filter-policy acl-number export

Reference an AS path ACL to filer

route advertisements to an IPv4

MBGP peer/peer group

peer { group-name | ip-address }

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

export

Reference an IP prefix list to filer

route advertisements to an IPv4

MBGP peer/peer group

peer { group-name | ip-address }

ip-prefix ip-prefix-name export

Configuring Inbound MBGP Route Filtering

By configuring MBGP route reception filtering policies, you can filter out unqualified routes from an

MBGP peer or peer group.

If several filtering policies are 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

z

peer route-policy import

Only the routes that have passed all the configured policies can be advertised.

Follow these steps to configure MBGP route reception filtering policies:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter BGP view

bgp as-number

Enter IPv4 MBGP address family

view

ipv4-family multicast