Owners manual

DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
474
When the override option is specified, the port default CoS will be applied to all packets received by the
port. Use the override keyword when all incoming packets on certain ports deserve a higher or lower
priority than packets that enter from other ports. Even if a port was previously set to trust DSCP or CoS,
this command overrides that trust state, and all CoS values on the incoming packets are changed to the
default CoS value that is configured with the mls qos cos command. If an incoming packet is tagged, the
CoS value of the packet is modified at the ingress port.
Example
This example shows how the default CoS of Ethernet port 3/0/1 is set to 3.
Switch# configure terminal
Switch(config)# interface eth3/0/1
switch(config-if)# mls qos cos 3
switch(config-if)#
53-6 mls qos dscp-mutation
This command is used to attach an ingress Differentiated Services Code Point (DSCP) mutation map to
the interface. To remove the ingress DSCP mutation map association from the interface, use the no form
of this command.
mls qos dscp-mutation DSCP-MUTATION-TABLE-NAME
no mls qos dscp-mutation
Parameters
DSCP-MUTATION-TABLE-
NAME
Specifies the name of the DSCP mutation table. The string of the
name is up to 32 characters and no space is allowed.
Default
None.
Command Mode
Interface Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
Use this command to attach an ingress DSCP mutation table to an interface. The ingress DSCP mutation
will mutate the DSCP value right after the packet is received by the interface, and QoS handles the
packet with this new value. The Switch sends the packet out the port with the new DSCP value.
Example
This example shows how to map DSCP 30 to the mutated DSCP value 8 and then attach the ingress-
DSCP mutation map named mutemap1” to port eth3/0/1.
Switch# configure terminal
Switch(config)# mls qos map dscp-mutation mutemap1 30 to 8
Switch(config)# interface eth3/0/1
Switch(config-if)# mls qos dscp-mutation mutemap1
Switch(config-if)#