You are configuring a Cisco IOS router to perform QoS marking for voice traffic originating from a local PBX. You need to ensure that the voice traffic is marked as DSCP EF. Which configuration command correctly applies this in a policy-map?
Trap 1: set ip dscp ef
The 'ip' keyword is not required and is syntactically incorrect for 'set dscp'.
Trap 2: mark dscp 46
'mark' is not a valid command within a policy-map class.
Trap 3: set dscp voice
'voice' is not a valid keyword for the set dscp command.
- A
set ip dscp ef
Why wrong: The 'ip' keyword is not required and is syntactically incorrect for 'set dscp'.
- B
set dscp 46
DSCP 46 is the decimal equivalent of EF, making it a valid command in IOS.
- C
mark dscp 46
Why wrong: 'mark' is not a valid command within a policy-map class.
- D
set dscp voice
Why wrong: 'voice' is not a valid keyword for the set dscp command.