DXS-3600 Series 10GbE Layer 2/3 Switch CLI Reference Guide
467
Quality of Service (QoS) Commands
48-1 class
This command is used to specify a class map to be associated with a traffic policy and then enter into policy-map class
configuration mode. Use the no form of this command to remove the specified class from the policy map.
class
class-map-name
no class
class-map-name
Parameters
48-2 class-map
This command is used to create or modify a class map that defines the criteria for packet matching and to enter the
class-map configuration mode. To remove an existing class map from the switch, use the no class-map command.
class-map
class-map-name
no class-map
class-map-name
Parameters
class-map-name
Specifies the name of the class for the class map. The name can be a maximum of
32 alphanumeric characters.
Default
None.
Command Mode
Policy Map Configuration Mode.
Command Default Level
Level: 15
Usage Guideline
The class map needs be created by global configuration command
class-map
before being associated with a traffic policy. This command enters the policy-map
class configuration mode. The user can use the following command to define the
QoS policy for the class:
set:
Remark specify field of packets that match this classification.
police:
Defines a policer for the classified traffic.
no:
Remove a remark action or policer.
The user can use
policy-map
global configuration command to identify the policy
map and enter the policy map configuration mode.
Example
This example shows how to create a class map called 'class1' and then use the
command
class
in the policy map configuration mode associate class1 with policy-
map policy1. The traffic that match access-group 10 will be classified by this class
map and then set DSCP value to 10 and policed by a single rate police.
DXS-3600-32S#configure terminal
DXS-3600-32S(config)#class-map class1
DXS-3600-32S(config-cmap)#match access-group 10
DXS-3600-32S(config-cmap)#exit
DXS-3600-32S(config)#policy-map policy1
DXS-3600-32S(config-pmap)#class class1
DXS-3600-32S(config-pmap-c)#set dscp 10
DXS-3600-32S(config-pmap-c)#police rate 5000 20 exceed-action dscp 23
DXS-3600-32S(config-pmap-c)#
class-map-name
Specifies the name of the class for the class map. The name can be a maximum of
32 alphanumeric characters.
Содержание DXS-3600-16S
Страница 1: ...CLI Reference Guide Product Model DXS 3600 Series Layer 2 3 Managed 10GbE Switch Release 1 10 ...
Страница 232: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 224 ...
Страница 301: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 293 ...
Страница 349: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 341 ...
Страница 494: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 486 ...
Страница 564: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 556 ...
Страница 649: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 641 ...