beautypg.com

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

Page 339

background image

11-10

IPv6 BGP advertises routes passing the specified policy to peers. Using the protocol argument can

filter only the routes redistributed from the specified protocol. If no protocol is specified, IPv6 BGP

filters all routes to be advertised, including redistributed routes and routes imported with the network

command.

Configuring Inbound Route Filtering

Follow these steps to configure inbound route filtering:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter BGP view

bgp as-number

Enter IPv6 address family view

ipv6-family

Configure inbound route filtering

filter-policy { acl6-number |

ipv6-prefix ipv6-prefix-name }

import

Required

Not configured by default.

Apply a routing policy to routes

from an IPv6 peer/peer group

peer { ipv6-group-name |

ipv6-address } route-policy

route-policy-name import

Required

Not applied by default.

Specify an ACL to filter routes

imported from an IPv6 peer/peer

group

peer { ipv6-group-name |

ipv6-address } filter-policy

acl6-number import

Required

Not specified by default.

Specify an AS path ACL to filter

routing information imported from

an IPv6 peer/peer group

peer { ipv6-group-name |

ipv6-address } as-path-acl

as-path-acl-number import

Required

Not specified by default.

Specify an IPv6 prefix list to filter

routing information imported from

an IPv6 peer/peer group

peer { ipv6-group-name |

ipv6-address } ipv6-prefix

ipv6-prefix-name import

Required

Not specified by default.

Specify the upper limit of prefixes

allowed to receive from an IPv6

peer/peer group

peer { ipv6-group-name |

ipv6-address } route-limit limit

[ percentage ]

Optional

Unlimited by default.