10-6
ipv6 filter-policy export
Syntax
ipv6 filter-policy
{
acl6-number
|
ipv6-prefix
ipv6-prefix-name
|
route-policy
route-policy-name
}
export
[
protocol
[
process-id
]
]
undo ipv6 filter-policy
export
[
protocol
[
process-id
]
]
View
IS-IS view
Default Level
2: System level
Parameters
acl6-number
: Number of a basic or advanced IPv6 ACL used to filter redistributed routes,
ranging from 2000 to 3999. See
ACL Configuration
in the
ACL and QoS Configuration Guide
.
ipv6-prefix-name
: Name of an IPv6 prefix list used to filter redistributed routes, a string of 1 to
19 characters. See
Route Policy Configuration
in the
Layer 3 - IP Routing
Configuration Guide
for IPv6 prefix list information.
route-policy-name
: Name of a route policy used to filter redistributed routes, a string of 1 to 19
characters. See
Route Policy Configuration
in the
Layer 3 - IP Routing Configuration Guide
for
route policy information.
protocol
: Routing protocol from which the redistributed routes are to be filtered. The routing
protocol can be
bgp4+
,
direct
,
isisv6
,
ospfv3
,
ripng
or
static
at present. If no protocol is
specified, routes redistributed from all protocols are filtered.
process-id
: Process ID of the routing protocol, ranging from 1 to 65535. This argument is
available when the protocol is
isisv6
,
ospfv3
or
ripng
.
Description
Use the
ipv6 filter-policy export
command to configure IPv6 IS-IS to filter redistributed routes.
Use the
undo ipv6 filter-policy export
command to disable the filtering.
Redistributed routes are not filtered by default.
In some cases, only routes satisfying certain conditions should be advertised. You can
configure the filtering conditions by using the
ipv6 filter-policy
command.
You can use the
ipv6 filter-policy export
command, which filters redistributed routes only
when they are advertised to other routers, in combination with the
ipv6 import-route
command.
z
If no protocol is specified, routes redistributed from all protocols are filtered.
z
If a protocol is specified, only routes redistributed from the protocol are filtered.
Note that if you want to reference an advanced ACL (with a number from 3000 to 3999) in the
command or in the route policy, the ACL should be configured with the
rule
[
rule-id
] {
deny
|
permit
}
ipv6 source
sour sour-prefix
command to deny/permit a route with the specified
destination, or with the
rule
[
rule-id
] {
deny
|
permit
}
ipv6 source
sour sour-prefix
destination
dest dest-prefix
command to deny/permit a route with the specified destination and
prefix. The
source
keyword specifies the destination address of a route while the
destination