Configuring inbound route filtering – H3C Technologies H3C S10500 Series Switches User Manual
Page 344
329
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 the filtering of outgoing
routes
filter-policy { acl6-number | ipv6-prefix
ipv6-prefix-name } export [ protocol
process-id ]
Required
Not configured by default.
Apply a routing policy to routes
advertised to an IPv6 peer or peer
group
peer { ipv6-group-name | ipv6-address }
route-policy route-policy-name export
Required
Not applied by default.
Specify an IPv6 ACL to filter routes
advertised to an IPv6 peer or peer
group
peer { ipv6-group-name | ipv6-address }
filter-policy acl6-number export
Required
Not specified by default.
Specify an AS path ACL to filter
routes advertised to an IPv6 peer or
peer group
peer { ipv6-group-name | ipv6-address }
as-path-acl as-path-acl-number export
Required
Not specified by default.
Specify an IPv6 prefix list to filter
routes advertised to an IPv6 peer or
peer group
peer { ipv6-group-name | ipv6-address }
ipv6-prefix ipv6-prefix-name export
Required
Not specified by default.
NOTE:
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 or 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 or peer
group
peer { ipv6-group-name |
ipv6-address } filter-policy
acl6-number import
Required
Not specified by default.