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

Page 453

Advertising
background image

437

NOTE:

Members of an IPv6 MBGP peer group must have the same outbound route filtering policy as the peer
group.

IPv6 BGP advertises redistributed routes that pass the specified policy to the IPv6 MBGP peer.

Configuring inbound IPv6 MBGP route filtering

Step

Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter BGP view.

bgp as-number

N/A

3.

Enter IPv6 MBGP address
family view.

ipv6-family multicast

N/A

4.

Configure IPv6 MBGP
inbound route filtering.

Configure inbound route filtering:

filter-policy { acl6-number |

ipv6-prefix ipv6-prefix-name }
import

Apply a routing policy to routes

from a peer or a peer group:
peer { ipv6-group-name |

ipv6-address } route-policy

route-policy-name import

Specify an IPv6 ACL to filter routes

from a peer or a peer group:

peer { ipv6-group-name |
ipv6-address } filter-policy

acl6-number import

Specify an AS path list to filter IPv6

BGP routing information from a

peer or a peer group:

peer { ipv6-group-name |
ipv6-address } as-path-acl

as-path-acl-number import

Specify an IPv6 prefix list to filter

routes from a peer or a peer group:

peer { ipv6-group-name |

ipv6-address } ipv6-prefix
ipv6-prefix-name import

Use any of the methods.
By default, advertised routes are

not filtered.
You can configure a filtering policy
as required.
If you configure several filtering
policies, they are applied in the

following sequence:

5.

filter-policy import.

6.

peer filter-policy import.

7.

peer as-path-acl import.

8.

peer ip-prefix import.

9.

peer route-policy import.

A filter policy can be applied only
after the previous one is passed.

Routing information can be
received only after passing all the

configured filter policies.

5.

Specify the upper limit of
prefixes that can be

imported from a peer or a
peer group.

peer { ipv6-group-name |
ipv6-address
} route-limit limit
[ percentage ]

Optional.
The number is unlimited by default.

NOTE:

A peer can have an inbound route filtering policy that is different from the policy of the peer group that it
belongs to. That is, peer group members can have different inbound route filtering policies.

Advertising