qos dscp

Syntax

qos dscpno 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 at egress using the configured DSCP value.

The remark only occurs when QoS trust mode on the interface is set tonone. If a DSCP remark is configured and then trust mode is subsequently set tocosordscp, then the DSCP remark is ignored.

The following commands will show the remark status asignored (incompatible Port Access Trust configuration) or不应用”(不兼容的QoS全球/难觅踪迹t Trust configuration):
  • show running-configuration

  • show interface

  • show interfaceqos

Thenoform of this command removes a CoS remark on an interface.

Command context

config-if

Parameters

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 of43on interface1/1/1:

switch(config)#interface 1/1/1switch(config-if)#qos trust noneswitch(config-if)#qos dscp43

Deleting a DSCP remark of43on interface1/1/1:

switch(config)#interface 1/1/1switch(config-if)#no dscp 43