qos dscp
Syntax
qos dscp <CODE-POINT>
no qos dscp
Description
Configures a differentiated services code point (DSCP) remark for an Ethernet or LAG interface. IPV4 and IPV6 packets that ingress on the interface are remarked using the configured DSCP value.
The remark only occurs when QoS trust mode on the interface is set to
none
. If a DSCP remark is configured and then trust mode is subsequently set to
cos
or
dscp
, then the DSCP remark is ignored.
ignored (incompatible Port Access Trust configuration
) or
not applied' (incompatible QoS global/port Trust configuration)
:
show running-configuration
show interface <PORT-NUM>
show interface <PORT-NUM> qos
The
no
form of this command removes a CoS remark on an interface.
Command context
config-if
Parameters
<CODE-POINT>
Specifies an IP differentiated services code point value. Range: 0 to 63.
Authority
Administrators or local user group members with execution rights for this command.
Usage
For all arriving IPv4 or IPv6 packets:
- Local priority and color are assigned from the DSCP map entry indexed by the DSCP remark value
- The packet's DSCP value in the IPv4 or IPv6 DS header field is remarked with the DSCP remark value.
For all arriving non-IP packets:
- Local priority and color are assigned from the CoS map entry 0.
- The CoS of all arriving tagged non-IP packets are unchanged. If the packet is subsequently transmitted with a 802.1Q VLAN tag, the PCP field contains the unchanged CoS.
Examples
Configuring a DSCP remark of 43 on interface 1/1/1:
switch(config)# interface 1/1/1 switch(config-if)# qos trust none switch(config-if)# qos dscp 43
Deleting a DSCP remark of 43 on interface 1/1/1:
switch(config)# interface 1/1/1 switch(config-if)# no dscp 43