DXS-3600 Series 10GbE Layer 2/3 Switch CLI Reference Guide
479
48-16 set
This command is used to set the new DSCP field, and CoS field of the out-going packet. The user can also specify the
CoS queue for the packet. Use the no form of this command to remove traffic remarking.
set {dscp
dscp
| cos
cos
| cos-queue
cos-queue
}
no set {dscp | cos | cos-queue}
Parameters
Usage Guideline
The
service-policy
command is used to attach a single policy map to interface. This
policy is attached to the interface. A packet arriving at an interface will be treated
based on the service policy attached to the interface.
A policy map needs be created by
policy-map
command before you apply it on an
interface. An interface can just own one policy map.
A policy map that attached to an interface can not be modified unless detach it from
the interface with no form of this command.
Example
This example shows how to apply the policy map policy1 to a physical ingress
interface.
DXS-3600-32S#configure terminal
DXS-3600-32S(config)#interface tenGigabitEthernet 1/0/1
DXS-3600-32S(config-if)#service-policy input policy1
DXS-3600-32S(config-if)#
dscp
dscp
Specifies a new DSCP for the packet. The range is 0 to 63.
cos
cos
Specifies to assign a new CoS value to the packet. The range is 0 to 7.
cos-queue
cos-queue
Specifies to assign the CoS queue to the packets. This action will overwrite the
original CoS queue selection.
Default
None.
Command Mode
Policy-map Class Configuration Mode.
Command Default Level
Level: 15
Usage Guideline
The
set
command is used to set the DSCP field or the COS field of the matched
packet to a new value and the
set cos-queue
command may be assigned directly to
the CoS queue for the matched packets.
The user can configure multiple set commands for a class if they are not conflicting.
The
set dscp
command will not affect the CoS queue selection. The
set cos-queue
command will not alter the CoS field of the outgoing packet.
The
police
command and the
set
command may be configured for the same class.
The
set
command will be applied to all colors of packets and the
police
action takes
affect after the
set
command.
The command
set cos-queue
can be used only for the policy map that is attached to
the ingress interface.
Example
This example shows how to assign COS 4 for all packets classified by class1 without
any police.
DXS-3600-32S#configure terminal
DXS-3600-32S(config)#policy-map policy1
DXS-3600-32S(config-pmap)#class class1
DXS-3600-32S(config-pmap-c)#set cos 4
DXS-3600-32S(config-pmap-c)#
Содержание DXS-3600-16S
Страница 1: ...CLI Reference Guide Product Model DXS 3600 Series Layer 2 3 Managed 10GbE Switch Release 1 10 ...
Страница 232: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 224 ...
Страница 301: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 293 ...
Страница 349: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 341 ...
Страница 494: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 486 ...
Страница 564: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 556 ...
Страница 649: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 641 ...