363
DCS-3950 series Ethernet switch manual
Command mode: Global Mode
Default: QoS is disabled by default.
Usage Guide: QoS provides 8 queues to handle traffics of 8 priorities. This function
cannot be used with the traffic control function.
Example: Enable and then disabling the QoS function.
Switch(config)#mls qos
Switch(config)#no mls qos
24.2.2.2 class-map
Command: class-map <class-map-name>
no class-map <class-map-name>
Function: Create a class map and enters class map mode; the ‘no class-map
<class-map-name>‘ command deletes the specified class map.
Parameters: <class-map-name> is the class map name.
Default: No class map is configured by default.
Command mode: Global Mode
Usage Guide: N/A
Example: Create and then deleting a class map named ‘c1’.
Switch(config)#class-map c1
Switch(config)#no class-map c1
24.2.2.3 match
Command: match {access-group <acl-index-or-name> | ip dscp <dscp-list>| ip
precedence <ip-precedence-list>|vlan <vlan-list>|cos<cost-list>}
no match {access-group | ip dscp | ip precedence | vlan |cos }
Function: Configure the match standard of the class map; the ‘no’ form of this command
deletes the specified match standard..
Parameter: access-group <acl-index-or-name> match specified ACL,the parameters
are the number or name of the ACL;ip dscp <dscp-list> match specified DSCP value,
the parameter is a list of DSCP consisting of maximum 8 DSCP values;ip precedence
<ip-precedence-list> match specified IP Precedence, the parameter is a IP Precedence
list consisting of maximum 8 IP Precedence values with a valid range of 0~7; vlan
vlan-list> match specified VLAN ID, the parameter is a VLAN ID list consisting of
maximum 8 VLAN IDs. <cost-list> match specified cos value, the parameter is a COS
list consisting of maximum 8 Cos.
Default: No match standard by default
Command mode: Class-map Mode
Usage Guide: Only one match standard can be configured in a class map. When
configuring match the ACL, only the permit rule is available in the ACL except for PBR.
Example: Create a class-map named c1, and configure the class rule of this class-map to
match packets with IP Precedence of 0.1.
Switch(config)#class-map c1