D-Link DGS-1510 Series Reference Manual page 493

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
dscp
Default
By default, CoS is trusted.
Command Mode
Interface Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
When the interface is set to trust DSCP, the DSCP of the arriving packet will be trusted for the
subsequent QoS operations. First, the DSCP will be mapped to an internal CoS value, which will be
subsequently used to determine the CoS queue. The DSCP to CoS map is configured by the mls qos
map dscp-cos command. The CoS to queue map is configured by the priority-queue cos-map
command. If the arriving packet is a non-IP packet, the CoS is trusted. The resulting CoS mapped
from DSCP will also be the CoS in the transmitted packet.
When an interface is in the trust CoS state, the CoS of the arriving packet will be applied to the packet
as the internal CoS and used to determine the CoS queue. The CoS queue is determined based on
the CoS to Queue mapping table.
When a packet arrives at an 802.1Q VLAN tunnel port, the packet will be added with an outer VLAN
tag in order to transmit through the VLAN tunnel. If the port is to trust CoS, then the inner tag CoS will
be the internal CoS of the packet and the CoS value in the packet's outer VLAN tag. If the MLS QoS
CoS override is configured, then the CoS specified by command mls qos cos will be the internal CoS
of the packet and the CoS value in the packet's outer VLAN tag. If the port is to trust DSCP, then the
CoS mapped from the DSCP code point will be the internal CoS of the packet and the CoS value in
the packet's outer VLAN tag
When a packet is received by a port, it will be initialized to a color based on the mls qos map dscp-
color command if the receiving port is to trust DSCP or MLS QoS mapped CoS color if the receiving
port is to trust CoS.
Example
This example shows how to configure port eth1/0/1 to trust the DSCP mode.
Switch# configure terminal
Switch(config)# interface eth1/0/1
Switch(config-if)# mls qos trust dscp
Switch(config-if)#
56-13
police
This command is used to configure traffic policing to use the single rate. Use the no form of this
command to remove traffic policing.
police KBPS [BURST-NORMAL [BURST-MAX]] [conform-action ACTION] exceed-action
ACTION [violate-action ACTION] [color-aware]
no police
Parameters
KBPS
BURST-NORMAL
Specifies that the ToS/DSCP bits, if available in the arriving packets,
are trusted for subsequent operations. For non-IP packet, Layer 2
CoS information will be trusted for traffic classification.
Specifies the average rate, in kilobits per second.
(Optional) Specifies the normal burst size in kilobytes.
490

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents