12-28
undo if-match ipv6
{
address
|
next-hop
|
route-source
} [
acl |
prefix-list
]
View
Route policy view
Default Level
2: System level
Parameters
address
: Matches the destination address of IPv6 routing information.
next-hop
: Matches the next hop of IPv6 routing information.
route-source
: Matches the source address of IPv6 routing information.
acl acl6-number
: Specifies the number of an IPv6 ACL for filtering, in the range 2000 to 3999
for
address
, and 2000 to 2999 for
next-hop
and
route-source
.
prefix-list
ipv6-prefix-name
: Specifies the name of a IPv6 prefix list for filtering, a string of 1 to
19 characters.
Description
Use the
if-match ipv6
command to configure a destination, next hop or source address based
match criterion for IPv6 routes.
Use the
undo if-match ipv6
command to remove the match criterion.
The match criterion is not configured by default.
Examples
# Configure node 10 of route policy
policy1
to permit routing information whose next hop
address matches IPv6 prefix list p1.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match ipv6 next-hop prefix-list p1
ip ipv6-prefix
Syntax
ip ipv6-prefix ipv6-prefix-name
[
index index-number
] {
deny
|
permit
}
ipv6-address
prefix-length
[
greater-equal min-prefix-length
] [
less-equal max-prefix-length
]
undo ip ipv6-prefix
ipv6-prefix-name
[
index index-number
]
View
System view
Default Level
2: System level
Parameters
ipv6-prefix-name
: IPv6 prefix list name, a string of 1 to 19 characters, for uniquely specifying an
IPv6 prefix list.
index-number
: Index number, in the range 1 to 65535, for uniquely specifying an IPv6 prefix list
item. An item with a smaller
index-number
will be matched first.