R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101
866
<Sysname> system-view
[Sysname] interface gigabitethernet 0/1
[Sysname-GigabitEthernet0/1] ipv6 policy-based-route AAA
ipv6 policy-based-route (system view)
Syntax
ipv6 policy-based-route policy-name [ deny | permit ] node node-number
undo ipv6 policy-based-route policy-name [ deny | node node-number | permit ]
View
System view
Default level
2: System level
Parameters
policy-name: Policy name, a string of 1 to 19 characters.
deny: Specifies the match mode of the policy node as deny.
permit: Specifies the match mode of the policy node as permit.
node node-number: Number of the IPv6 policy node, in the range of 0 to 65535. Packets will match
against the node with a smaller node-number first.
Description
Use ipv6 policy-based-route to create an IPv6 policy, a policy node, or both, and enter IPv6 PBR policy
node view.
Use undo ipv6 policy-based-route to remove an IPv6 policy, a policy node, or both.
No IPv6 policy or policy node is created by default.
Examples
# Create Node 10 of IPv6 policy aaa with match mode being permit and enter IPv6 PBR policy node
view.
<Sysname> system-view
[Sysname] ipv6 policy-based-route aaa permit node 10
[Sysname-pbr6-aaa-10]
reset ipv6 policy-based-route statistics
Syntax
reset ipv6 policy-based-route statistics [ policy-name ]
View
User view
Default level
1: Monitor level
Parameters
policy-name: Policy name, a string of 1 to 19 characters.