D-Link DGS-1510 Series Reference Manual page 487

Gigabit ethernet smartpro switch
Hide thumbs Also See for DGS-1510 Series:
Table of Contents

Advertisement

DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
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
override
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
switch(config-if)# mls qos cos 3
switch(config-if)#
Specifies to assign a default CoS value to a port. This CoS will be
applied to the incoming untagged packets received by the port.
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.
eth3/0/1
484

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents