148 Quality of ServiceExample #2: Configuring DiffServ VoIP SupportEnter Global Config mode. Set queue 6 on all ports to use strict priority mode. This queue shall be usedfor all VoIP packets. Activate DiffServ for the switch.console#configcos-queue strict 6diffservCreate a DiffServ classifier named class_voip and define a single match criterion to detect UDP packets.The class type match-all indicates that all match criteria defined for the class must be satisfied in orderfor a packet to be considered a match.class-map match-all class_voipmatch protocol udpexitCreate a second DiffServ classifier named class_ef and define a single match criterion to detect aDiffServ code point (DSCP) of EF (expedited forwarding). This handles incoming traffic that waspreviously marked as expedited elsewhere in the network.class-map match-all class_efmatch ip dscp efexitCreate a DiffServ policy for inbound traffic named pol_voip, then add the previously created classes'class_ef' and 'class_voip' as instances within this policy.This policy handles incoming packets already marked with a DSCP value of EF (per class_ef definition),or marks UDP packets per the class_voip definition) with a DSCP value of EF. In each case, thematching packets are assigned internally to use queue 6 of the egress port to which they are forwarded.policy-map pol_voip inclass class_efassign-queue 5exitclass class_voipmark ip-dscp efassign-queue 5exitexitAttach the defined policy to an inbound service interface.interface ethernet 1/g1service-policy in pol_voipexitexit