1 00:00:01,010 --> 00:00:06,800 Now on a router or switch, you can match traffic by matching a DHCP value. 2 00:00:06,890 --> 00:00:11,450 So you could match if as an example and then do something with the traffic. 3 00:00:12,900 --> 00:00:15,180 So here's my genius three rather. 4 00:00:16,960 --> 00:00:19,450 And I can go to global configuration mode. 5 00:00:20,210 --> 00:00:22,550 And use the command class map. 6 00:00:23,300 --> 00:00:29,810 And I can either do a match all or a match any match all means all the statements have to be true when 7 00:00:29,810 --> 00:00:33,590 matching match any means any one of them need to be true. 8 00:00:34,100 --> 00:00:39,110 And as per this example, we could match VoIP or whatever name we decide. 9 00:00:39,560 --> 00:00:42,200 And then we can say match and notice. 10 00:00:42,200 --> 00:00:43,790 You can match on many values. 11 00:00:43,790 --> 00:00:52,400 But as an example, we could match IP, DHCP, DHCP values or in the range 0 to 63. 12 00:00:52,700 --> 00:00:54,410 There are eight binary bits. 13 00:00:54,710 --> 00:00:59,930 So to to the power of eight is 64 in the range 0 to 63. 14 00:01:00,410 --> 00:01:02,600 Here are the well known values. 15 00:01:02,600 --> 00:01:04,280 Notice af 11. 16 00:01:04,940 --> 00:01:09,080 So af one one or af 11. 17 00:01:09,650 --> 00:01:10,790 AF one two. 18 00:01:10,820 --> 00:01:14,870 So notice af12. 19 00:01:15,780 --> 00:01:20,730 He has a 41 so af for one. 20 00:01:20,940 --> 00:01:23,460 Here are the class selector values. 21 00:01:23,460 --> 00:01:26,760 So as an example, cloth selector three. 22 00:01:27,650 --> 00:01:30,410 Notice those binary bits equate to three. 23 00:01:30,710 --> 00:01:33,320 And here we have expedited forwarding. 24 00:01:33,500 --> 00:01:36,500 Notice what the binary is set to. 25 00:01:36,620 --> 00:01:42,440 So if we set that to F and then do a show run. 26 00:01:44,550 --> 00:01:54,450 Notice it shows up as that in the running config, but we could also use the command match IP DSP 46 27 00:01:54,450 --> 00:01:57,480 because 46 is the same as F. 28 00:01:58,940 --> 00:02:01,550 Is it a tomato or is it a tomato? 29 00:02:01,580 --> 00:02:02,960 It's the same thing.