User Manual
In the case of "CoS" trust mode, the CoS value of incoming frames is used to determine the egress queue. In the case of
"DSCP," the DSCP value of incoming frames is used to determine the egress queue. In the case of "port priority," the priority
specified for the receiving port is used to determine the egress queue.
The CoS value and DSCP value, and the egress queue that is associated with the receiving port, can be changed by using the
following commands.
Trust mode
Setting value used for egress queue
determination
Corresponding command
CoS CoS - egress queue ID conversion table mls qos cos-queue
DSCP DSCP - egress queue ID conversion
table
mls qos dscp-queue
Port Priority Priority specified for each receiving port mls qos port-priority-queue
Within the various QoS processes, there are four types of timing that determine (change) the egress queue.
1. When assigning the egress queue
2. Specifying the egress queue by class map
3. Specifying pre-marking by class map
4. Specifying remarking by class map
Types 2, 3, and 4 can be specified whether the trust mode is "CoS" or "DSCP"; in either case, the egress queue is assigned by
referencing the "egress queue ID conversion table" that corresponds to its own trust mode.
[Note]
In order to execute this command, QoS must be enabled.
If a policy map is applied to the LAN/SFP port, the trust mode cannot be changed.
Some QoS functions have limitations on execution depending on the trust mode, or may show different results.
[Example]
Set the trust mode of the LAN/SFP port to DSCP
SWP1(config-if)#mls qos trust dscp
Set the trust mode of the LAN/SFP port to the default setting (CoS).
SWP1(config-if)#no mls qos trust
or
SWP1(config-if)#mls qos trust cos
13.2.4 Generate policy map for received frames
[Syntax]
policy-map name
no policy-map name
[Parameter]
name : Name of policy map (maximum 32 characters; uppercase and lowercase are distinguished)
[Input mode]
global configuration mode
[Description]
Generates a policy map. The policy map combines the following processing for received frames, for each traffic class.
•
Traffic classification
•
Pre-marking
• Metering
• Policing
• Remarking
The policy map generated by this command can be applied to the LAN/SFP port by the service-policy input command. This
classifies received frames into traffic classes according to each class map in the policy map, and applies the QoS process
specified by the user to each class of traffic.
After generating the policy map, move to policy map mode to specify its content.
180 | Command Reference | Traffic control