set diffserv policy police style simple
8-12 Differentiated Services Configuration
Parameters
Defaults
None.
Mode
Switchcommand,read‐write.
Example
Thisexampleshowshowtomarkpacketsmatchingthe“admin”policyinthe“system”classfor
DSCPexpeditedforwardingprecedence:
D2(rw)->set diffserv policy mark ipdscp admin system ef
set diffserv policy police style simple
Usethiscommandtoestablish thepolicingstyleforaDiffservpolicybasedonlyonbandwidthfor
thespecifiedclass.
Syntax
set diffserv policy police style simple policyname classname bandwidth burstsize
Parameters
Defaults
None.
Mode
Switchcommand,read‐write.
Example
Thisexampleshowshowtoconfigureabandwidth‐basedpolicingstyleforthe“admin”Diffserv
policy:
D2(rw)->set diffserv policy police style simple admin system 1000 128
ipdscp|
ipprecedence
SpecifiesthatpacketswillbemarkedwitheitheranIPDSCPorprecedence
value.
policyname Specifiesthepolicynamebeingconfigured.
classname SpecifiesaDiffservclasstoassociatetothispolicy.
value SpecifiesanIPDSCPorprecedencevalue.ValidnumericorkeywordDCSP
valuescanbeenteredaslistedin
Section 8‐32.Validprecedencevaluesare:
0‐7.
policyname Specifiesthepolicynamebeingconfigured.
classname SpecifiesaDiffservclasstoassociatetothispolicy.
bandwidth SpecifiesabandwidthvalueinKbps.Validvaluesare1‐4294967295.
burstsize SpecifiesaburstsizevalueimKbytes.Validvaluesare1‐128.