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

Page 378

Advertising
background image

362

Step Command

Remarks

3.

Enter IPv6 address family view
or IPv6 BGP-VPN instance

view.

ipv6-family [ vpn-instance
vpn-instance-name ]

N/A

4.

Configure the filtering of

outgoing routes.

filter-policy { acl6-number | ipv6-prefix
ipv6-prefix-name } export [ protocol
process-id
]

Not configured by default.

5.

Apply a routing policy to
routes advertised to an IPv6

peer or peer group.

peer { group-name | ipv6-address }
route-policy route-policy-name export

Not applied by default.
The IPv6 BGP-VPN instance
view does not support the

group-name argument.

6.

Specify an IPv6 ACL to filter
routes advertised to an IPv6

peer or peer group.

peer { group-name | ipv6-address }
filter-policy acl6-number export

Not specified by default.
The IPv6 BGP-VPN instance
view does not support this

command.

7.

Specify an AS path ACL to

filter routes advertised to an
IPv6 peer or peer group.

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

Not specified by default.
The IPv6 BGP-VPN instance
view does not support this

command.

8.

Specify an IPv6 prefix list to
filter routes advertised to an

IPv6 peer or peer group.

peer { group-name | ipv6-address }
ipv6-prefix ipv6-prefix-name export

Not specified by default.
The IPv6 BGP-VPN instance

view does not support this
command.

Configuring inbound route filtering

Only routes passing the configured filtering can be added into the local IPv6 BGP routing table.
Members of a peer group can have different inbound route filtering policies.
To configure inbound 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 address family view

or IPv6 BGP-VPN instance
view.

ipv6-family [ vpn-instance
vpn-instance-name ]

N/A

4.

Configure inbound route

filtering.

filter-policy { acl6-number |

ipv6-prefix ipv6-prefix-name }
import

Not configured by default.

5.

Apply a routing policy to
routes from an IPv6 peer or

peer group.

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

route-policy-name import

Not applied by default.
The IPv6 BGP-VPN instance view
does not support the group-name

argument.

Advertising