D-Link CLI Reference Guide
Page 222
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.
•
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 D-Link. The class
is in a policy map called policy1.
Console(config)#
policy-map
policy1
Console (config-pmap)#
class
class1
access-group
D-Link
Summary of Contents for DXS-3250 - xStack Switch - Stackable
Page 12: ...Page 11 ...
Page 46: ...ACL Commands Page 45 ...
Page 68: ...Address Table Commands Page 67 ...
Page 124: ...Ethernet Configuration Commands Page 123 ...
Page 134: ...GVRP Commands Page 133 ...
Page 144: ...IGMP Snooping Commands Page 143 ...
Page 158: ...IP Addressing Commands Page 157 Console config ip helper address 172 16 9 9 49 53 ...
Page 166: ...IP Addressing Commands Page 165 ...
Page 186: ...Line Commands Page 185 ...
Page 194: ...Management ACL Commands Page 193 ...
Page 200: ...PHY Diagnostics Commands Page 199 ...
Page 208: ...Port Monitor Commands Page 207 ...
Page 216: ...Power over Ethernet Commands Page 215 ...
Page 272: ...RMON Commands Page 271 ...
Page 334: ...Spanning Tree Commands Page 333 ...
Page 428: ...VLAN Commands Page 427 ...
Page 466: ...802 1x Commands Page 465 ...