Chapter 15 Commands For Qos And Pbr; Accounting; Class - Planet SGS-6341 Series Command Manual

Gigabit ethernet l3 stackable managed switch with 10gbe uplink
Table of Contents

Advertisement

Chapter 15 Commands for QoS and

15.1 accounting

Command:
accounting
Function:
Set statistic function for the classified traffic.
Default:
Do not set statistic function.
Command mode:
Policy map configuration mode
Usage Guide:
After enable this function, add statistic function to the traffic of the policy class map. In single bucket
mode, the messages can only red or green when passing policy and printing the information. In dual
bucket mode, there are three colors(green, yellow, red) of messages. Note: In policy-map,
accounting does not take effect if only set internal priority is configured, but there is no policy.
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

15.2 class

Command:
class <class-map-name> [insert-before <class-map-name>]
no class <class-map-name>
Function:
Associates a class to a policy map and enters the policy class map mode; the no command deletes
the specified class.
PBR
15-124

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sgs-6341-24t4x

Table of Contents