Reset Ip Policy-Based-Route Statistics - HP 5920 Series Command Reference Manual

Layer 3 - ip routing
Hide thumbs Also See for 5920 Series:
Table of Contents

Advertisement

permit: Specifies the match mode for the policy node as permit (default mode).
node node-number: Specifies a policy node by its number in the range of 0 to 255. A smaller number
has a higher priority.
Usage guidelines
A policy that has been applied to an interface or locally cannot be removed. To remove it, you must first
cancel the application.
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.
Examples
# Create permit-mode of Node 10 for policy policy1 and enter policy node view.
<Sysname> system-view
[Sysname] policy-based-route policy1 permit node 10
[Sysname-pbr-policy1-10]
Related commands
display ip policy-based-route

reset ip policy-based-route statistics

Use reset ip policy-based-route statistics to clear PBR statistics.
Syntax
reset ip policy-based-route statistics [ policy policy-name ]
Views
User view
Predefined user roles
network-admin
Parameters
policy policy-name: Specifies a policy by its name, a case-sensitive string of 1 to 19 characters.
Usage guidelines
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.
Examples
# Clear all PBR statistics.
<Sysname> reset ip policy-based-route statistics
Related commands
display ip policy-based-route interface
display ip policy-based-route local
410

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5900 series

Table of Contents