ECS4660-28F_Management Guide-R03

Table Of Contents
C
HAPTER
41
| Class of Service Commands
Priority Commands (Layer 3 and 4)
– 1400
COMMAND USAGE
Enter a queue identifier, followed by the keyword “from” and then up to
eight internal per-hop behavior values separated by spaces.
Egress packets are placed into the hardware queues according to the
mapping defined by this command.
EXAMPLE
Console(config)#interface ethernet 1/5
Console(config-if)#qos map phb-queue 0 from 1 2 3
Console(config-if)#
qos map trust-mode This command sets QoS mapping to DSCP or CoS. Use the no form to
restore the default setting.
SYNTAX
qos map trust-mode {cos | dscp | ip-prec}
no qos map trust-mode
cos - Sets the QoS mapping mode to CoS.
dscp - Sets the QoS mapping mode to DSCP.
ip-prec - Sets the QoS mapping mode to IP Precedence.
DEFAULT SETTING
CoS
COMMAND MODE
Interface Configuration (Port)
COMMAND USAGE
If the QoS mapping mode is set to IP Precedence with this command,
and the ingress packet type is IPv4, then priority processing will be
based on the IP Precedence value in the ingress packet.
If the QoS mapping mode is set to DSCP with this command, and the
ingress packet type is IPv4, then priority processing will be based on
the DSCP value in the ingress packet.
If the QoS mapping mode is set to either IP Precedence or DSCP, and a
non-IP packet is received, the packet's CoS and CFI (Canonical Format
Indicator) values are used for priority processing if the packet is
tagged. For an untagged packet, the default port priority (see
page 1390) is used for priority processing.
If the QoS mapping mode is set to CoS with this command, and the
ingress packet type is IPv4, then priority processing will be based on
the CoS and CFI values in the ingress packet.