10-1
10
Class-Based Accounting Configuration
When configuring class-based accounting, go to these sections for information you are interested in:
z
Class-Based Accounting Overview
z
Configuring Class-Based Accounting
z
Displaying and Maintaining Traffic Accounting
z
Class-Based Accounting Configuration Example
Class-Based Accounting Overview
Class-based accounting collects statistics 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 there are anomalies and what action to take.
Configuring Class-Based Accounting
Follow these steps to configure class-based accounting:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Create a class and enter
class view
traffic classifier
tcl-name
[
operator
{
and
|
or
} ]
—
Configure the match criteria
if-match match-criteria
—
Exit class view
quit
—
Create a behavior and enter
behavior view
traffic behavior behavior-name
Required
Configure the accounting
action
accounting
Optional
The class-based accounting
function on S5500-SI series
switches counts traffic in the
number of packets.
Exit behavior view
quit
—
Create a policy and enter
policy view
qos policy
policy-name
—
Associate the class with the
traffic behavior in the QoS
policy
classifier
tcl-name behavior
behavior-name
—
Exit policy view
quit
—
To an interface
Applying the QoS policy to an
interface
—
Apply the
QoS
policy
To a VLAN
Applying the QoS policy to a VLAN
—
Summary of Contents for S5500-SI Series
Page 161: ...3 10 GigabitEthernet1 0 1 2 MANUAL...
Page 220: ...1 7 Clearing ARP entries from the ARP table may cause communication failures...
Page 331: ...1 7 1 1 ms 1 ms 1 ms 1 1 6 1 2 1 ms 1 ms 1 ms 1 1 4 1 3 1 ms 1 ms 1 ms 1 1 2 2 Trace complete...
Page 493: ...2 8...
Page 1111: ...1 10 Installing patches Installation completed and patches will continue to run after reboot...