D-Link dgs-1510-28 [483/702] Example

D-Link dgs-1510-28 [483/702] Example
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
480
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)#
53-13 police
This command is used to configure traffic policing to use the single rate. To remove traffic policing, use
the no form of this command.
police KBPS [BURST-NORMAL [BURST-MAX]] [conform-action ACTION] exceed-action ACTION
[violate-action ACTION] [color-aware]
no police
Parameters
KBPS
Specifies the average rate, in kilobits per second.
BURST-NORMAL
(Optional) Specifies the normal burst size in kilobytes.
BURST-MAX
(Optional) Specifies the maximum burst size, in kilobytes.
confirm-action
(optional) Specifies the action to take on green color packets. If the
action is not specified, the default action is to transmit.
exceed-action
Specifies the action to take on yellow color packets that exceed the
rate limit.
violate-action
(Optional) Specifies the action to take on red color packets. When
violate-action is not specified, the policer is a single rate two color
policer. When violate-action is specified, the policer is a single rate
three color policer.
ACTION
Specifies the action to take on packets. Use one of the following
keywords:
drop - Drops the packet.
set-dscp-transmit VALUE - Sets the IP differentiated services code
point (DSCP) value and transmits the packet with the new IP DSCP
value.
set-1p-transmit - Sets the 802.1p value and transmits the packet with
the new value.
transmit - Transmits the packet. The packet is not altered.
Only one of the set-dscp-transmit and set-1p-transmit parameters can
be used when issuing this command. However, when selecting to use
both, the set-dscp-transmit and set-1p-transmit parameters, the set-

Содержание

Скачать