Which configuration for the IP DSCP value in the ToS byte to 5 with Expedited Forwarding is correct?
A. policy-map policy1class class1 set ip dscp 5 class class2 set ip dscp ef
B. policy-map policy1class class1 set ip dscp 3 class class2 set ip dscp ef
C. policy-map policy1class class1 set ip dscp ef class class2 set ip dscp 5
D. policy-map policy1class class1 set ip dscp 5 class class2 set ip dscp CS3
https://www.cisco.com/en/US/products/sw/iosswrel/ps5014/products_feature_guide_chapter09186a00800ca4f0.html
In the following example, the IP DSCP in the ToS byte is set to 5.
Router(config)# policy-map policy1
Router(config-pmap)# class class1
Router(config-pmap-c)# set ip dscp 5
set ip precedence 2
class biz-app
set ip precedence 0
class class-default
set ip precedence 1
policy-map qos-out
class p-voice
set ip dscp ef
class p-video
set ip dscp af41
Router(config-pmap-c)# set ip dscp ip-dscp-value
Specifies the IP DSCP of packets within a traffic class. The number is in the range 0 to 63.
I agree with answer A,
“set ip dscp”; Marks a packet by setting the IP DSCP in the ToS byte.
Expedited Forwarding (EF) PHB
set dscp
12.2(13)T
This command was introduced. It replaced the set ip dscp command.
set ip precedence (policy-map configuration)
Sets the precedence value in the IP header.
All are incorrect.
Class Class1
set ip precedence 5
Class 2
set ip dscp ef