R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101

507
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 a policy node, in the range of 0 to 65535. A node with a smaller
node-number has a higher match priority than a node with a greater one.
Description
Use policy-based-route to create a policy, policy node, or both, and enter PBR policy node view.
Use undo policy-based-route to remove a created policy or policy node.
No policy or policy node is created by default.
The default match mode of a policy node is permit.
Examples
# Configure the match mode of node 10 of policy 1 as permit, and enter PBR policy node view.
<Sysname> system-view
[Sysname] policy-based-route policy1 permit node 10
[Sysname-pbr-policy1-10]
reset policy-based-route statistics
Syntax
reset 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.
Description
Use reset policy-based-route statistics to clear PBR statistics.
If no policy name is specified, this command clears all the PBR statistics.
Examples
# Clear all PBR statistics.
<Sysname> reset policy-based-route statistics