531
[Sysname-isis-1] network-entity 10.0001.1010.1020.1030.00
[Sysname-isis-1] ipv6 enable
ipv6 filter-policy export
Use
ipv6 filter-policy export
to configure IPv6 IS-IS to filter redistributed routes.
Use
undo ipv6 filter-policy export
to remove the configuration.
Syntax
ipv6 filter-policy
{
acl6-number
|
prefix-list
prefix-list-name
|
route-policy
route-policy-name
}
export
[
protocol
[
process-id
]
]
undo ipv6 filter-policy
export
[
protocol
[
process-id
]
]
Default
IPv6 IS-IS does not filter redistributed routes.
Views
IS-IS view
Predefined user roles
network-admin
Parameters
acl6-number
: Specifies an IPv6 ACL by its number in the range of 2000 to 3999 to filter redistributed
routes.
prefix-list
prefix-list-name
: Specifies an IPv6 prefix list by its name, a case-sensitive string of 1 to 63
characters, to filter the redistributed routes.
route-policy
route-policy-name
: Specifies a routing policy by its name, a case-sensitive string of 1 to 63
characters, to filter redistributed routes.
protocol
: Filters routes redistributed from the specified routing protocol, which can be
bgp4+
,
direct
,
isisv6
,
ospfv3
,
ripng
, or
static
. If no protocol is specified, the command filters routes redistributed from all
routing protocols.
process-id
: Specifies a process by its ID in the range of 1 to 65535. This argument is available only when
the protocol is
isisv6
,
ospfv3
, or
ripng
.
Usage guidelines
This command filters routes redistributed by the
ipv6 import-route
command. Only routes that have not
been filtered can be redistributed.
If no protocol is specified, the command filters routes redistributed from all routing protocols.
If a protocol is specified, the command filters routes redistributed from the specified routing protocol.
To reference an advanced ACL (with a number from 3000 to 3999) in the command or in the routing
policy, configure the ACL using one of the following methods:
•
To deny/permit a route with the specified destination, use the
rule
[
rule-id
] {
deny
|
permit
}
ipv6
source
sour sour-prefix
command.
•
To deny/permit a route with the specified destination and prefix, use the
rule
[
rule-id
] {
deny
|
permit
}
ipv6 source
sour sour-prefix
destination
dest dest-prefix
command.