DXS/DWS-3200 series CLI Reference Guide
Page 221
class
The
class
Policy-map Configuration mode command defines a traffic classification and enters the Policy-map
Class Configuration mode. To remove a class map from the policy map, use the
no
form of this command.
Syntax
class
class-map-name
[
access-group
acl-name
]
no class class-map-name
Parameters
•
class-map-name
— Specifies the name of an existing class map. If the class map does not exist, a new class
map will be created under the specified name (Range: 0-32 characters).
•
acl-name
— Specifies the name of an IP or MAC ACL.
Default Configuration
No policy map is defined.
Command Mode
Policy-map Configuration mode
User Guidelines
Before modifying a policy for an existing class or creating a policy for a new class, use the
policy-map
Global
Configuration mode command to specify the name of the policy map to which the policy belongs and to enter the
Policy-map Configuration mode.
Use the
service-policy
(Ethernet, Port-channel) Interface Configuration mode command to attach a policy map to
an interface. Use an existing class map to attach classification criteria to the specified policy map and use the
access-group
parameter to modify the classification criteria of the class map.
If this command is used to create a new class map, the name of an IP or MAC ACL must also be specified.
Example
The following example defines a traffic classification called ‘class1’ with an access-group called ‘enterprise’.
The class is in a policy map called policy1.
Console(config)#
policy-map
policy1
Console (config-pmap)#
class
class1
access-group
enterprise
Содержание xStack DWS-3200 Series
Страница 2: ......
Страница 3: ......
Страница 17: ...Table of Contents Page 14 Appendix A Troubleshooting 571 Problem Management 572 Troubleshooting Solutions 572 ...
Страница 25: ...Using the CLI Editing Features Page 22 ...
Страница 91: ...Clock Commands show sntp status Page 88 ...
Страница 101: ...Configuration and Image File Commands show bootvar Page 98 ...
Страница 137: ...GVRP Commands show gvrp error statistics Page 134 ...
Страница 147: ...IGMP Snooping Commands show ip igmp snooping groups Page 144 ...
Страница 163: ...IP Address Commands show hosts Page 160 ...
Страница 177: ...LACP Commands show lacp port channel Page 174 ...
Страница 187: ...Line Commands show line Page 184 ...
Страница 195: ...Management ACL Commands show management access class Page 192 ...
Страница 201: ...PHY Cable Diagnostics Commands show fiber ports optical transceiver Page 198 ...
Страница 217: ...Port Monitor Commands Page 214 ...
Страница 341: ...Spanning Tree Commands show spanning tree Page 338 ...
Страница 395: ...System Management Commands show system mode Page 392 ...
Страница 413: ...User Interface Commands show privilege Page 410 ...
Страница 437: ...VLAN Commands show vlan protocols groups Page 434 ...
Страница 451: ...Web Server Commands show ip https Page 448 ...
Страница 477: ...802 1x Commands show dot1x advanced Page 474 ...
Страница 483: ...Wireless AP BSS Commands data rates Page 480 ...
Страница 517: ...WLAN Domain Commands wlan domain member approve Page 514 ...
Страница 547: ...Wireless AP Radio Commands beacon period Page 544 ...
Страница 555: ...Wireless Rogue AP Commands show wlan rogue aps neighborhood Page 552 ...
Страница 573: ...Wireless WLAN Commands show wlan stations counters Page 570 ...
Страница 581: ...Page 578 ...