User`s manual

User’s Manual 251
Switch(config-ext-acl)#permit any any
Switch(config-ext-acl)#deny tcp any any control-flag 2 2
Switch(config-ext-acl)#end
Console#show access-list
IP extended access-list A6:
permit any any
deny tcp any any control-flag 2 2
Console#configure
Switch(config)#access-list ip mask-precedence in
Switch(config-ip-mask-acl)#mask protocol any any control-flag 2
Switch(config-ip-mask-acl)#end
Console#sh access-list
IP extended access-list A6:
permit any any
deny tcp any any control-flag 2 2
IP ingress mask ACL:
mask protocol any any control-flag 2
Console#configure
Console(config)#interface ethernet 1/1
Console(config-if)#ip access-group A6 in
Console(config-if)#end
Console#show access-list
IP extended access-list A6:
deny tcp any any control-flag 2 2
permit any any
IP ingress mask ACL:
mask protocol any any control-flag 2
Console#
16.101 map access-list mac
This command sets the output queue for packets matching an ACL rule. The specified CoS value is only
used to map the matching packet to an output queue; it is not written to the packet itself. Use the no form to
remove the CoS mapping.
Syntax Description
[no] map access-list mac acl-name cos cos-value
acl-name Name of the ACL. (Maximum length: 16 characters)
cos-value CoS value. (Range: 0-7)
Default
None
Command Mode
Interface Configuration (Ethernet)
Usage Guidelines
You must configure an ACL mask before you can map CoS values to the rule.