User Manual

Table Of Contents
[Example]
Make the following settings for received frames of LAN port #1
Permit traffic from the 10.1.0.0 network
Change the classified traffic class to the DSCP value "10."
[Traffic class definition]
SWR2310(config)#access-list 1 permit any 10.1.0.0 0.0.255.255 any
SWR2310(config)#class-map class1
SWR2310(config-cmap)#match access-list 1
SWR2310(config-cmap)#exit
[Policy settings]
SWR2310(config)#policy-map policy1
SWR2310(config-pmap)#class class1
SWR2310(config-pmap-c)#set ip-dscp 10
SWR2310(config-pmap-c)#exit
SWR2310(config-pmap)#exit
SWR2310(config)#interface port1.1
SWR2310(config-if)#service-policy input policy1
9.2.26 Set individual policers (single rate)
[Syntax]
police [single-rate] CIR CBS EBS yellow-action action red-action action
no police
[Keyword]
single-rate : Use single-rate policer
[Parameter]
CIR : <1 - 102300000>
Traffic rate (kbps)
CBS : <11 - 2097120>
Burst size of conformant token bucket (kbyte)
EBS : <11 - 2097120>
Burst size of excess token bucket (kbyte)
action : Operation for packets categorized by bandwidth class
Setting value Operation
transmit Forward
drop Discard
remark Remarking (CoS/TOS/DSCP)
[Input mode]
policy map class mode
[Description]
Specifies individual policers (single rate) for the categorized traffic classes.
If the setting was already made by the police command, its content is changed.
Metering on the SWR2310 is implemented as a single-rate three-color marker (RFC2697), and the following processing can be
specified for the categorized bandwidth classes.
Green : Only forward (cannot be specified)
Yellow : Choose forward, discard, or remark
Red : Choose discard or remark
However, remarking can be specified for either Yellow or Red, not both.
Detailed remarking settings are made using the remark-map command (policy map class mode). Regardless of whether action
is set to "remark," remarking is disabled if there are no detailed remarking settings for that bandwidth class. In this case, the
default settings (Yellow: forward, Red: discard) are applied.
294 | Command Reference | Traffic control