
Which command is used to complete this configuration for QoS class-based marking?
Show answerHide answer
Correct answer: A PE-A(config-pmap-c)#set dscp ef
Explanation
ExplanationThe exhibit shows a class-map named VOIP that matches IP precedence 5, and a policy-map named MARK-TRAFFIC that references the VOIP class. The task is to complete the configuration for QoS class-based marking. Class-based marking uses the
set command to assign a new marking value to the matched traffic. To mark VoIP traffic with the standard DSCP value for voice, the correct command is set dscp ef (Expedited Forwarding). This makes option A the correct answer.Why the other options are incorrect:
B. PE-A(config-pmap-c)#fair-queue
Fair queueing is a congestion management (queuing) feature that provides fair bandwidth allocation among flows. It is not a marking command and does not complete a class-based marking configuration.
C. PE-A(config-pmap-c)#random-detect
Random Early Detection (RED) is a congestion avoidance mechanism that drops packets before a queue fills up. It is not a marking action.
D. PE-A(config-pmap-c)#priority
The
priority command configures a low-latency queue (LLQ) for the class, providing priority treatment. It is a queuing/scheduling action, not a marking action, and the question specifically asks about class-based marking.Reference:
Cisco IOS XR Modular QoS Configuration Guide – Configuring Class-Based Marking; RFC 2474 – Definition of the Differentiated Services Field (DS Field) in the IPv4 and IPv6 Headers; Cisco 350-501 SPCOR Official Cert Guide, QoS section.






