qos dscp
Syntax
qos dscp 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 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 tocos
ordscp
, then the DSCP remark is ignored.
ignored (incompatible Port Access Trust configuration
) or不应用”(不兼容的QoS全球/难觅踪迹t Trust configuration)
:show running-configuration
show interface
show interface
qos
Theno
form 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 CoS map entry 0.
- 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 is unchanged.
Examples
On the 6400 Switch Series, interface identification differs.
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