(Extreme 220) (Routing) #config
cos-queue strict 5
diffserv
class-map match-all class_voip match protocol udp exit
class-map match-all class_ef match ip dscp ef exit
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, the matching packets are assigned internally to use queue 5 of the egress port to which they are forwarded.
policy-map pol_voip in class class_ef assign-queue 5 exit class class_voip mark ip-dscp ef assign-queue 5 exit exit
interface1/0/2 service-policy in pol_voip exit exit