7000 Series L3 Managed Switch Reference Manual for Software v2.0
9-24 CLI Commands: Differentiated Services
This command can be issued at any time, but is only meaningful within the context of the police
simple, singlerate, or tworate command attributes defined for this class instance.
Format config diffserv policy police action nonconform send
<policyname> <classname>
Policy Type
In
config diffserv policy police style simple
This command is used to establish the traffic policing style for the specified class. The simple form
of the police command uses a single data rate and burst size, resulting in two outcomes: conform
and nonconform. The
<policyname> and <classname> are the names of an existing DiffServ
policy and class, respectively. The conforming data rate is specified in kilobits-per-second (Kbps)
and is an integer from 1 to 4294967295. The conforming burst size is specified in kilobytes (KB)
and is an integer from 1 to 128.
For each outcome, the only possible actions are drop, markdscp, markprec, or send. In this simple
form of the police command, the conform action defaults to send and the nonconform action
defaults to drop. These actions cannot be changed directly with this command, but can be changed
through their respective config diffserv policy police action conform and nonconform commands.
Format config diffserv policy police style simple <policyn-
ame> <classname> <1-4294967295> <1-128>
Restrictions
Only one style of police command (simple, singlerate, tworate) is
allowed for a given class instance in a particular policy.
Policy Type In
Incompatibilities Mark IP DSCP, Mark IP Precedence
config diffserv policy police style singlerate
This command is used to establish the traffic policing style for the specified class. The singlerate
form of the police command uses a single data rate and two burst sizes, resulting in three
outcomes: conform, exceed and nonconform. The
<policyname> and <classname> are the names
of an existing DiffServ policy and class, respectively. The conforming data rate is specified in
kilobits-per-second (Kbps) and is an integer from 1 to 4294967295. The conforming burst size is
specified in kilobytes (KB) as an integer from 1 to 128. The exceeding burst size is specified in
kilobytes (KB) as an integer from 1 to 128. Note that the exceeding burst size must be equal to or
greater than the conforming burst size.