User Manual

Table Of Contents
Permit traffic from the 10.1.0.0 network
Categorize bandwidth classes as CIR:48kbps, CBS:12kbyte, and EBS:12kbyte
Green: forward, Yellow: rewrite DSCP value to 10, Red: discard
[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)#police 48 12 12 yellow-action remark red-action drop
SWR2310(config-pmap-c)#remark-map yellow 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.13 Set traffic classification conditions (access-list)
[Syntax]
match access-list acl-id
no match access-list acl-id
[Parameter]
acl-id : <1 - 2000>
IPv4 access list ID
: <2001 - 3000>
MAC access list ID
: <3001 - 4000>
IPv6 access list ID
[Input mode]
class map mode
[Description]
Uses the access list as the conditions to classify the traffic class.
If the received frame matches the conditions in the access list, the action in the access list will be the action (permit, deny) for
the traffic class.
If this is executed with the "no" syntax, the condition settings of the access list are deleted.
[Note]
In order to execute this command, QoS must be enabled.
A maximum of 39 conditions can be specified for traffic categorization in an access list.
[Example]
Specify access list #1 as the classification conditions for class map "class1."
SWR2310(config)#class-map class1
SWR2310(config-cmap)#match access-list 1
9.2.14 Set traffic classification conditions (CoS)
[Syntax]
match cos cos-list
no match cos
[Parameter]
cos-list : <0 - 7>
CoS value used as classification condition. Up to eight can be registered.
286 | Command Reference | Traffic control