F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Network Management Command Reference-6PW100

Table Of Contents
550
[Sysname-GigabitEthernet0/1] ip policy-based-route aaa
policy-based-route
Use policy-based-route to create a policy node, and enter policy node view. If the specified policy node
already exists, the command directly places you into policy node view.
Use undo policy-based-route to remove a created policy or policy node.
Syntax
policy-based-route policy-name [ deny | permit ] node node-number
undo 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 a policy node, in the range of 0 to 65535. A smaller number
has a higher priority.
Examples
# Create permit-mode of Node 10 for policy 1, and enter policy node view.
<Sysname> system-view
[Sysname] policy-based-route policy1 permit node 10
[Sysname-pbr-policy1-10]
reset policy-based-route statistics
Use reset policy-based-route statistics to clear PBR statistics.
Syntax
reset policy-based-route statistics [ policy-name ]
Views
User view
Default command level
1: Monitor level
Parameters
policy-name: Specifies a policy by its name, a string of 1 to 19 characters.
Usage guidelines
If no policy is specified, this command clears all the PBR statistics.