Configuring Class-Based Accounting; Configuration Procedure - HP 5920 Configuration Manual

Acl and qos
Table of Contents

Advertisement

Configuring class-based accounting

Class-based accounting collects statistics (in packets or bytes) on a per-traffic class basis. For example,
you can define the action to collect statistics for traffic sourced from a certain IP address. By analyzing
the statistics, you can determine whether anomalies have occurred and what action to take.

Configuration procedure

Step
1.
Enter system view.
2.
Create a traffic class and
enter traffic class view.
3.
Configure match criteria.
4.
Return to system view.
5.
Create a traffic behavior
and enter traffic behavior
view.
6.
Configure the accounting
action.
7.
Return to system view.
8.
Create a QoS policy and
enter QoS policy view.
9.
Associate the traffic class
with the traffic behavior in
the QoS policy.
10.
Return to system view.
11.
Apply the QoS policy.
Command
system-view
traffic classifier classifier-name [ operator
{ and | or } ]
if-match match-criteria
quit
traffic behavior behavior-name
accounting { byte | packet }
quit
qos policy policy-name
classifier classifier-name behavior
behavior-name
quit
Applying the QoS policy to an
interface
Applying the QoS policy to a VLAN
Applying the QoS policy globally
Applying the QoS policy to the control
plane
75
Remarks
N/A
By default, no traffic class is
configured.
By default, no match criterion is
configured.
For more information about the
if-match command, see ACL
and QoS Command Reference.
N/A
By default, no traffic behavior
is configured.
By default, no traffic
accounting action is
configured.
N/A
By default, no QoS policy is
configured.
By default, a traffic class is not
associated with a traffic
behavior.
N/A
Choose one of the application
destinations as needed.
By default, no QoS policy is
applied.

Advertisement

Table of Contents
loading

This manual is also suitable for:

5900

Table of Contents