582
Predefined user roles
network-admin
Parameters
address
: Matches the destination address of IPv6 routes.
next-hop
: Matches the next hop of IPv6 routes.
route-source
: Matches the source address of IPv6 routes.
acl
acl6-number
: Specifies an IPv6 ACL for filtering by its number in the range of 2000 to 3999 for
address
, and 2000 to 2999 for
next-hop
and
route-source
.
prefix-list
prefix-list-name
: Specifies an IPv6 prefix list by its name, a case-sensitive string of 1 to 63
characters.
Examples
# Configure node 10 of routing policy
policy1
to permit routes whose next hop matches IPv6 prefix list
p1
.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy-policy1-10] if-match ipv6 next-hop prefix-list p1
ipv6 prefix-list
Use
ipv6 prefix-list
to configure an IPv6 prefix list or an item for it.
Use
undo ipv6 prefix-list
to remove an IPv6 prefix list or an item.
Syntax
ipv6 prefix-list
prefix-list-name
[
index
index-number
] {
deny
|
permit
}
ipv6-address prefix-length
[
greater-equal
min-prefix-length
] [
less-equal
max-prefix-length
]
ipv6 prefix-list
prefix-list-name
[
index
index-number
] {
deny
|
permit
}
ipv6-address
inverse
prefix-length
undo ipv6 prefix-list
prefix-list-name
[
index
index-number
]
Default
No IPv6 prefix list is configured.
Views
System view
Predefined user roles
network-admin
Parameters
prefix-list-name
: Specifies a name for the IPv6 prefix list, a case-sensitive string of 1 to 63 characters.
index-number
: Specifies an index number for an IPv6 prefix list item, in the range of 1 to 65535. An item
with a smaller number is matched first.
deny
: Specifies the deny mode. If a route matches the item, the route is denied without matching against
the next item; if not, the route matches against the next item (suppose the IPv6 prefix list has multiple
items).