![Cisco Catalyst 2350 Скачать руководство пользователя страница 49](http://html.mh-extra.com/html/cisco/catalyst-2350/catalyst-2350_command-reference-manual_67583049.webp)
2-25
Catalyst 2350 Switch Command Reference
OL-19055-01
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands
class-map
If you enter the
match-all
or
match-any
keyword, you can only use it to specify an extended named
access control list (ACL) with the
match access-group
acl-index-or-name
class-map configuration
command.
To define packet classification on a physical-port basis, only one
match
command per class map is
supported. In this situation, the
match-all
and
match-any
keywords are equivalent.
Only one ACL can be configured in a class map. The ACL can have multiple access control entries
(ACEs).
Examples
This example shows how to configure the class map called
class1
with one match criterion, which is an
access list called
103
:
Switch(config)#
access-list 103 permit ip any any dscp 10
Switch(config)#
class-map class1
Switch(config-cmap)#
match access-group 103
Switch(config-cmap)#
exit
This example shows how to delete the class map
class1
:
Switch(config)#
no class-map class1
You can verify your settings by entering the
show class-map
privileged EXEC command.
Related Commands
Command
Description
class
Defines a traffic classification match criteria (through the
police
,
set
, and
trust
policy-map class configuration commands) for the
specified class-map name.
match (class-map
configuration)
Defines the match criteria to classify traffic.
policy-map
Creates or modifies a policy map that can be attached to multiple
ports to specify a service policy.
show class-map
Displays QoS class maps.
Содержание Catalyst 2350
Страница 14: ...Contents xiv Catalyst 2350 Switch Command Reference OL 19055 01 ...
Страница 18: ...xviii Catalyst 2350 Switch Command Reference OL 19055 01 Preface ...
Страница 606: ...B 66 Catalyst 2350 Switch Command Reference OL 19055 01 Appendix B Catalyst 2350 Debug Commands debug vqpc ...
Страница 636: ...D 2 Catalyst 2350 Switch Command Reference OL 19055 01 Appendix D Acknowledgments for Open Source Software ...
Страница 652: ...Index IN 16 Catalyst 2350 Switch Command Reference OL 19055 01 ...