D-Link dgs-1510-28 [493/702] Parameters

D-Link dgs-1510-28 [493/702] Parameters
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
490
Switch# configure terminal
Switch(config)# policy-map cust2-classes
Switch(config-pmap)# class gold
Switch(config-pmap-c)# police 1600 2000 exceed-action set-dscp-transmit 0
Switch(config-pmap-c)# exit
Switch(config-pmap)# class silver
Switch(config-pmap-c)# police 4000 2000 exceed-action set-dscp-transmit 0
Switch(config-pmap-c)# exit
Switch(config-pmap)# class bronze
Switch(config-pmap-c)# police 16000 2000 exceed-action set-dscp-transmit 0
Switch(config-pmap-c)# exit
Switch(config-pmap)# exit
Switch(config)# interface eth4/0/1
Switch(config-if)# service-policy input cust2-classes
Switch(config-if)#
53-21 set
This command is used to configure the new precedence field, DSCP field, and CoS field of the outgoing
packet. The user can also specify the CoS queue for the packet.
set {[ip] precedence PRECEDENCE | [ip] dscp DSCP | cos COS | cos-queue COS-QUEUE}
no set {[ip] precedence PRECEDENCE | [ip] dscp DSCP | cos COS | cos-queue COS-QUEUE}
Parameters
precedence PRECEDENCE
Specifies a new precedence for the packet. The range is from 0 to 7. If
the optional keyword ip is specified, IPv4 precedence will be marked. If
not specified, both IPv4 and IPv6 precedence will be marked. For IPv6
packets, the precedence is the most three significant bits of traffic
class of IPv6 header. Setting the precedence will not affect the CoS
queue selection.
dscp DSCP
Specifies a new DSCP for the packet. The range is from 0 to 63. If the
optional keyword ip is specified, IPv4 DSCP will be marked. If not
specified, both IPv4 and IPv6 DSCP will be marked. Setting DSCP will
not affect the CoS queue selection.
cos COS
Specifies to assign a new CoS value to the packet. The range is from 0
to 7. Setting CoS will not affect the CoS queue selection.
cos-queue COS-QUEUE
Specifies to assign the CoS queue to the packets. This overwrites the
original CoS queue selection.
Default
None.
Command Mode
Policy-map Class Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline

Содержание

Скачать