R3303-HP 6600/HSR6600 Routers Layer 3 - IP Routing Command Reference

485
Parameters
policy-name: Specifies the policy name, a string of 1 to 19 characters.
Usage guidelines
You can apply only one policy on an interface. If you perform this command multiple times, only the last
specified policy takes effect.
Examples
# Apply IPv6 policy AAA on GigabitEthernet 2/1/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/1/1
[Sysname-GigabitEthernet2/1/1] ipv6 policy-based-route AAA
ipv6 policy-based-route (system view)
Use ipv6 policy-based-route to create an IPv6 policy or an IPv6 policy node, and enter IPv6 policy node
view. If the specified IPv6 policy node already exists, the command directly places you into IPv6 policy
node view.
Use undo ipv6 policy-based-route to remove an IPv6 policy, an IPv6 policy node, or both.
Syntax
ipv6 policy-based-route policy-name [ deny | permit ] node node-number
undo ipv6 policy-based-route policy-name [ deny | node node-number | permit ]
Views
System view
Default command level
2: System level
Parameters
policy-name: Specifies a 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: Specifies the number of the IPv6 policy node, in the range of 0 to 65535. Packets are
matched against the node with a smaller node-number first.
Examples
# Create permit-mode of 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]
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-name ]