550
Parameters
policy-name
: Specifies a policy name, a case-sensitive string of 1 to 19 characters.
deny
: Specifies the match mode for the policy node as
deny
.
permit
: Specifies the match mode for the policy node as
permit
(default mode).
node
node-number
: Specifies an IPv6 policy node by its number in the range of 0 to 255. A smaller
number has a higher priority.
Usage guidelines
To remove an IPv6 policy that has already applied to an interface, you must remove the policy from the
interface first.
If a policy node
is specified, the
undo ipv6 policy-based-route
command removes the specified policy
node. If a match mode is specified, the command removes all nodes configured with the match mode. If
no node is specified, the command removes the whole policy.
Examples
# Create permit-mode Node 10 for IPv6 policy
aaa
and enter IPv6 policy node view.
<Sysname> system-view
[Sysname] ipv6 policy-based-route aaa permit node 10
[Sysname-pbr6-aaa-10]
Related commands
display ipv6 policy-based-route
reset ipv6 policy-based-route statistics
Use
reset ipv6 policy-based-route statistics
to clear IPv6 PBR statistics.
Syntax
reset ipv6 policy-based-route statistics
[
policy
policy-name
]
Views
User view
Predefined user roles
network-admin
Parameters
policy
policy-name
: Specifies a policy by its name, a case-sensitive string of 1 to 19 characters.
Usage guidelines
If no policy is specified, the command clears all IPv6 PBR statistics. If a policy is specified, the command
clears the IPv6 PBR statistics for the specified policy.
To view IPv6 PBR statistics, use the
display ipv6 policy-based-route interface
command.
Examples
# Clear all IPv6 PBR statistics.
<Sysname> reset ipv6 policy-based-route statistics
Related commands
•
display ipv6 policy-based-route interface
Содержание 5900
Страница 554: ...541 Sysname Vlan interface100 isis ipv6 enable 1 ...