DXS-3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide
1081
87.
Quality of Service (QoS) Commands
87-1 class
This command is used to specify the name of the class map to be associated with a traffic policy and then
enter into policy map class configuration mode. Use the
no
command to remove the policy definition for
the specified class.
class NAME
no class NAME
class class-default
Parameters
NAME
Specifies the name of the class map to be associated with a traffic
policy.
Default
None.
Command Mode
Policy-map Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
This command enters the policy-map class configuration mode. All the traffic that does not match the
proceeding defined class will be classified as class-default. If the specified name of class map does not
exist, no traffic is classified to the class.
Example
This example shows how to define a policy map, policy1, which defines policies for the class “class-dscp-
red”. The packets that match DSCP 10, 12, or 14 will all be marked as DSCP 10 and be policed by a
single rate policer.
Switch# configure terminal
Switch(config)# class-map class-dscp-red
Switch(config-cmap)# match ip dscp 10,12,14
Switch(config-cmap)# exit
Switch(config)# policy-map policy1
Switch(config-pmap)# class class-dscp-red
Switch(config-pmap-c)# set ip dscp 10
Switch(config-pmap-c)# police 1000000 2000 exceed-action set-dscp-transmit 0
Switch(config-pmap-c)#
87-2 class-map
This command is used to create or modify a class-map that defines the criteria for packet matching. To
remove an existing class map from the switch, use the
no
command to remove an existing class map.
The class-map command enters the class-map configuration mode.
Summary of Contents for DXS-3600 Series
Page 1: ......
Page 423: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 418 ...
Page 548: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 543 ...
Page 673: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 668 ...
Page 712: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 707 Switch ...
Page 845: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 840 ...
Page 884: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 879 ...
Page 1152: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 1147 ...