User Manual

Permit traffic from the 10.1.0.0 network
Categorize bandwidth classes as CIR:48kbps, PIR:96kbps, CBS:12kbyte, and PBS:12kbyte
Green: forward, Yellow: rewrite DSCP value to 10, Red: discard
[Traffic class definition]
SWP1(config)#ip-access-list 1 permit 10.1.0.0 0.0.255.255
SWP1(config)#class-map class1
SWP1(config-cmap)#match access-group 1
SWP1(config-cmap)#exit
[Policy settings]
SWP1(config)#policy-map policy1
SWP1(config-pmap)#class class1
SWP1(config-pmap-c)#police twin-rate 48 96 12 12 yellow-action remark red-action drop
SWP1(config-pmap-c)#remark-map yellow ip-dscp 10
SWP1(config-pmap-c)#exit
SWP1(config-pmap)#exit
SWP1(config)#interface ge1
SWP1(config-if)#service-policy input policy1
13.2.35 Set remarking of individual policers
[Syntax]
remark-map color type value
no remark-map
[Parameter]
color : Bandwidth class to remark
Setting value Description
yellow
Make remarking settings for bandwidth class
Yellow
red
Make remarking settings for bandwidth class
Red
type : Type of remarking
Setting value Description
cos CoS remarking
ip-precedence TOS precedence remarking
ip-dscp DSCP remarking
value : <0 - 7>
CoS or TOS precedence remarking value
: <0 - 63>
DSCP remarking value
[Input mode]
policy map class mode
[Description]
Specifies remarking operations for bandwidth classes Yellow and Red that were classified by individual policers. In addition,
reassign the egress queue according to the egress queue ID table that corresponds to the trust mode.
For remarking, you can select either CoS value, TOS precedence, or DSCP value.
If this command is executed with the "no" syntax, the remarking setting is deleted.
In order to perform remarking, you must specify this command and additionally use the police command to specify "remark" as
the action for the corresponding bandwidth class.
[Note]
In order to execute this command, QoS must be enabled.
Remarking can be used in conjunction with pre-marking and specifying the egress queue.
204 | Command Reference |
Traffic control