EasyManua.ls Logo

Planet SGS-6341-24T4X - Chapter 15 Commands for Qos and Pbr; Accounting; Class

Planet SGS-6341-24T4X
1206 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
15-124
Chapter 15 Commands for QoS and
PBR
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.

Table of Contents

Other manuals for Planet SGS-6341-24T4X

Related product manuals