Chapter 20 commands for qos, 1 accounting, 2 class – PLANET WGSW-52040 User Manual

Page 356: Chapter 20 commands for qos -125, Accounting, Class

Advertising
background image

20-125

Chapter 20 Commands for QoS

20.1 accounting

Command:

accounting

no accounting

Function:

Set statistic function for the classified traffic.

Parameter:

None.

Command mode:

Policy map configuration mode

Default:

Do not set statistic function.

Usage Guide:

After enable this function, add statistic function to the traffic of the policy class map. In single bucket mode, the

messages can be only red or green when passing policy. When printing the information, in-profile means green and

out-profile means red; In dual bucket mode, there are three colors(green, yellow, red) of messages. in-profile means

green, out-profile means red and yellow.

Example:

Count the packets which satisfy c1 rule.

Switch(config)#policy-map p1

Switch(Config-PolicyMap-p1)#class c1

Switch(Config-PolicyMap-p1-Class-c1)#accounting

Switch(Config-PolicyMap-p1-Class-c1)#exit

Switch(Config-PolicyMap-p1)#exit

20.2 class

Command:

Advertising