If the specified policy node already exists, the command directly places you into policy node view.
A policy that has been applied to an interface cannot be removed. To remove it, you must first cancel the
If a policy node is specified, the undo 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
policy node or match mode is specified, the command removes the whole policy.
# Create permit-mode of Node 10 for policy policy1 and enter policy node view.
[Sysname] policy-based-route policy1 permit node 10
display ip policy-based-route
reset ip policy-based-route statistics
Use reset ip policy-based-route statistics to clear PBR statistics.
reset ip policy-based-route statistics [ policy policy-name ]
Predefined user roles
policy policy-name: Specifies a policy by its name, a case-sensitive string of 1 to 19 characters.
If no policy is specified, the command clears all PBR statistics.
If a policy is specified, the command clears the PBR statistics for the specified policy.
To view PBR statistics, use the display ip policy-based-route interface command.
# Clear all PBR statistics.
<Sysname> reset ip policy-based-route statistics
display ip policy-based-route interface