Cisco QoS Verification Command

Verifying Classification and Marking on a Cisco IOS Switch

Question

An engineer implements QoS in the enterprise network.

Which command can be used to verify the correct classification and marking on a Cisco IOS switch?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

C.

https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/qos_classn/configuration/xe-16/qos-classn-xe-16-book/qos-classn-mrkg-ntwk-trfc-xe.html

The correct command to verify the correct classification and marking on a Cisco IOS switch is option B, "show policy-map interface GigabitEthernet 1/0/1".

Explanation:

Quality of Service (QoS) allows network administrators to prioritize certain types of traffic over others, ensuring that critical traffic such as voice and video is delivered with the necessary performance and reliability.

Classification and marking are two important processes in QoS. Classification is the process of identifying traffic based on certain characteristics such as IP address, protocol type, or port number. Marking is the process of setting a value in the IP header of the packet that indicates the type of service (ToS) or Differentiated Services Code Point (DSCP) value for the packet.

To verify the correct classification and marking on a Cisco IOS switch, we need to check the policy map associated with the interface where QoS is implemented. The policy map defines the actions to be taken on packets that match specific criteria defined in a class map.

Option A, "show class-map interface GigabitEthernet 1/0/1", displays the configuration of the class map associated with the interface, but it does not show the actual marking applied to the packets.

Option B, "show policy-map interface GigabitEthernet 1/0/1", displays the policy map associated with the interface, including the class map and the marking action applied to the packets.

Option C, "show policy-map", displays all policy maps configured on the switch, but it does not provide information specific to the interface.

Option D, "show access-lists", displays the configuration of access lists on the switch, but it does not provide information on the QoS classification and marking.