It depends on which command you have used. The command are mutually exclusive so you can configure one or the other. If you have configured the 'mls qos srr-queue output dscp-map' command, the internal DSCP value will be used to map the packets to a queue. If you have configured the 'mls qos srr-queue output cos-map' command, the CoS value will be used to map the packets to a queue.
My apologies, that was not a very good explanation :-)
Here is what really happens:
- when a frame is received on a port, the switch maps the CoS or DSCP in the packet to a QoS label to distinguish one kind of traffic from another. If the port is set to trust CoS, the CoS value is used to generate the QoS label. If the port is set to trust DSCP, the DSCP value is used to generate the QoS label.
- The QoS label that is generated identifies all future QoS actions to be performed on this packet.
- when the packet is switched to the egress interface, an output queue is selected based on the QoS label. If the QoS label was based on DSCP, the DSCP-to-queue mapping is used. If the QoS label was based on CoS, the CoS-to-queue mapping is used.
This document gives several answers on frequently asked questions for PFRv3 channel state behavior.
Q1: What are all the channel operational states from a BR (border role) perspective and what are the rules/conditions to be in each st...
The need was to reach an host inside a LAN through a VPN connection managed by the LAN gateway (Cisco 1921).
The LAN gateway performs NAT and there was a dedicate nat rule for the host i wanted to reach through VPN.
I couldn't connect to the hos...