User Manual
SWP1(config-cmap)#exit
[Policy settings]
SWP1(config)#policy-map policy1
SWP1(config-pmap)#class class1
SWP1(config-pmap-c)#police 48 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.17 Set traffic classification conditions (access-group)
[Syntax]
match access-group acl-id
match access-group name
no match access-group acl-id
no match access-group name
[Parameter]
acl-id : <1 - 99>
Standard IPv4 access list ID
: <100 - 199>
Extended IPv4 access list ID
: <1300 - 1999>
Standard IPv4 access list ID
: <2000 - 2699>
Extended IPv4 access list ID or MAC access list ID
: <3000 - 3699>
IPv6 access list ID
name : Access list name
[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 command 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.
[Example]
Specify access list #1 as the classification conditions for class map "class1."
SWP1(config)#class-map class1
SWP1(config-cmap)#match access-group 1
13.2.18 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.
190 | Command Reference | Traffic control