Refer to the partial router configuration. Which two of the following statements are true? (Choose two.) (Exhibit)
A.
The configuration is invalid since it refers to a class map within a different class.
B.
The class-map class1 command will set the qos-group value to 4 for all IP packets.
C.
Regardless of destination IP address, all traffic sent to Mac address 1.2.3 will be subject to policing
D.
Only those packets which satisfy all of the matches in class1 and class2 will be subject to policing.
E.
All traffic from a server with the IP address of 147.23.54.21 will be subject to policing.
F.
Any IP packet will be subject to policing.
Explanation:
The class-map command is used to define a traffic class. The purpose of a traffic class is to classify traffic that should be given a particular QoS. A traffic class contains three major elements, a name, a series of match commands, and if more than one match command exists in the traffic class, an instruction on how to evaluate these match commands. The traffic class is named in the class-map command line. For example, if the class-map cisco command is entered while configuring the traffic class in the CLI, the traffic class would be named cisco.
Switch(config)# class-map cisco
Switch(config-cmap)#match commands are used to specify various criteria for classifying packets. Packets are checked to determine whether they match the criteria specified in the match commands. If a packet matches the specified criteria, that packet is considered a member of the class and is forwarded according to the QoS specifications set in the traffic policy. Packets that fail to meet any of the matching criteria are classified as members of the default traffic class and will be subject to a separate traffic policy
The policy-map command is used to create a traffic policy. The purpose of a traffic policy is to configure the QoS features that should be associated with the traffic that has been classified in a user-specified traffic class. A traffic policy contains three elements: Policy Name Traffic class specified with the class command QoS policies to be applied to each class The policy-map shown below creates a traffic policy named policy1. The policy applies to all traffic classified by the previously defined traffic-class “cisco” and specifies that traffic in this example should be allocated bandwidth of 3000 kbps. Any traffic which does not belong to the class “cisco” forms part of the catch-all class-default class and will be given a default bandwidth of 2000 kbps.Switch(config)# policy-map policy1
Switch(config-pmap)# class cisco
Switch(config-pmap-c)# bandwidth 3000
Switch(config-pmap-c)# exit
Switch(config-pmap)# class class-default
Switch(config-pmap-c)# bandwidth 2000
Switch(config-pmap)# exit