4 set, 5 mls qos, 6 mls qos cos – Accton Technology ES4626 User Manual
Page 261

261
to match packets with IP Precedence of 0.1.
Switch(config)#class-map c1
Switch(config-ClassMap)#match ip precedence 0 1
Switch(config-ClassMap)#exit
8.1.3.4 set
Command:set {ip dscp <new-dscp> | ip precedence <new-precedence>|ipv6 dscp
<new-dscp> | ipv6 flowlabel <new-flowlabel>|cos<new cos>}
no set {ip dscp | ip precedence|ipv6 dscp | ipv6 flowlabel |cos<new
cos>}
Function:
Assign a new DSCP, IP Precedence, IPv6 DSCP or IPv6 FL for the classified
traffic; the “no” form of this command delete assigning the new values
Parameter:<new-dscp>
new DSCP value;<new-precedence>new IP IPv4
Precedence;<new-flowlabel> new IPv6 FL value. <new cos>} new COS value
Default:
Not assigning by default
Command Mode:
Policy Class-map Mode
Usage Guide:
Only the classified traffic which matches the matching standard will be
assigned with the new values.
Example:
Set the IP Precedence of the packets matching the c1 class rule to 3.
Switch(config)#policy-map p1
Switch(config-PolicyMap)#class c1
Switch(config--Policy-Class)#set ip precedence 3
Switch(config--Policy-Class)#exit
Switch(config-PolicyMap)#exit
8.1.3.5 mls qos
Command: mls qos
no mls qos
Function:
Enables QoS in Global Mode; the “no mls qos” command disables the global
QoS.
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:
Enabling and then disabling the QoS function.
Switch(Config)#mls qos
Switch(Config)#no mls qos
8.1.3.6 mls qos cos