DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
484
Switch# configure terminal
Switch(config)# mls qos aggregate-policer agg-policer5 10 1000 exceed-action drop
Switch(config)# policy-map policy2
Switch(config-pmap)# class class1
Switch(config-pmap-c)# police aggregate agg_policer5
Switch(config-pmap-c)# exit
Switch(config-pmap)# class class2
Switch(config-pmap-c)# police aggregate agg_policer5
Switch(config-pmap-c)#
56-5 mls qos cos
This command is used to configure the default Class of Service (CoS) value of a port. Use the
no
form of this command to revert to the default settings.
mls qos cos {
COS-VALUE
| override}
no mls qos cos
Parameters
COS-VALUE
Specifies to assign a default CoS value to a port. This CoS will be
applied to the incoming untagged packets received by the port.
override
Specifies to override the CoS of the packets. The default CoS will
be applied to all incoming packets, tagged or untagged, received by
the port.
Default
By default, this CoS value is 0.
Command Mode
Interface Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
When the
override
option is not specified, the CoS of the packets will be the packet’s CoS if the
packets are tagged, and will be the port default CoS if the packet is untagged.
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)#
Summary of Contents for DGS-1510 Series
Page 1: ...1 0 ...
Page 27: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 24 ...
Page 281: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 278 ...
Page 336: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 333 ...
Page 475: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 472 ...
Page 695: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 692 ...