383
Configuring outbound route filtering
To do…
Use the command…
Remarks
Step 1
Enter system view
system-view
—
Step 2
Enter BGP view
bgp
as-number
Required
Step 3
Enter IPv6 address
family view
ipv6-family
—
Step 4
Configure the filtering
of outgoing routes
filter-policy
{
acl6-number
|
ipv6-
prefix
ipv6-prefix-name
}
export
[
protocol process-id
]
Required
Not configured by default
Step 5
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
Step 6
Specify an IPv6 ACL to
filer 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
Step 7
Specify an AS path
ACL to filer 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
Step 8
Specify an IPv6 prefix
list to filer routes
advertised to an IPv6
peer/peer group
peer
{
ipv6-group-name
|
ipv6-address
}
ipv6-prefix
ipv6-prefix-name
export
Required
Not specified by default
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
To do…
Use the command…
Remarks
Step 1
Enter system view
system-view
—
Step 2
Enter BGP view
bgp
as-number
Required
Step 3
Enter IPv6 address family view
ipv6-family
—
Summary of Contents for S9500E Series
Page 435: ...435 ...