1
00:00:00,210 --> 00:00:06,570
Now before traffic policies can be applied to packets, the packets need to be put into a class.

2
00:00:06,660 --> 00:00:12,960
So as an example, before you're allowed to take a first class seat, someone checks your ticket to

3
00:00:12,960 --> 00:00:16,079
ensure that you are a first class passenger.

4
00:00:16,079 --> 00:00:21,390
So in other words, before quality of service is applied to your packet, the route or switch needs

5
00:00:21,390 --> 00:00:23,580
to determine which class you belong to.

6
00:00:23,610 --> 00:00:27,330
If you belong to the platinum class, you will get a platinum service.

7
00:00:27,330 --> 00:00:31,770
But if you belong to the economy class, you'll only get an economy service.

8
00:00:31,950 --> 00:00:36,990
But before the service is applied, the rider or switch needs to determine which class you belong to,

9
00:00:37,020 --> 00:00:40,140
and it can do that as an example by looking at the marking.

10
00:00:40,410 --> 00:00:46,080
A FedEx sorting depot will sort packets based on the marking on a package.

11
00:00:46,230 --> 00:00:53,400
Packages with next day delivery or high importance will be processed differently to packages that have

12
00:00:53,400 --> 00:00:55,860
standard delivery markings on them.

13
00:00:55,980 --> 00:01:01,980
Best practices state that you should classify and mark as close to the edge of the network as possible.

14
00:01:01,980 --> 00:01:08,460
So as an example, IP phones will mark their traffic as it leaves the IP phone for other traffic types.

15
00:01:08,460 --> 00:01:12,870
You want to try and do your classification and marking on your edge switches.

16
00:01:13,620 --> 00:01:20,340
So marking takes place on the edge, but every device along the path uses classification to determine

17
00:01:20,340 --> 00:01:22,920
what quality of service that traffic gets.

18
00:01:22,950 --> 00:01:28,830
It can do the classification based on three criteria, either by looking at the marking in a header

19
00:01:28,830 --> 00:01:31,380
such as the costs or DHCP value.

20
00:01:31,410 --> 00:01:38,190
It could also look at IP addressing such as the destination IP subnet that you're going to or source

21
00:01:38,190 --> 00:01:43,890
IP address or layer two MAC address or some other addressing criteria.

22
00:01:43,920 --> 00:01:47,400
So as an example, it could look at destination port number.

23
00:01:47,520 --> 00:01:54,200
Are you going to a specific IP address and specific port number or are you going to something like Cisco

24
00:01:54,210 --> 00:01:57,210
dot com versus Facebook.com?

25
00:01:57,210 --> 00:01:59,040
So a domain address.

26
00:01:59,280 --> 00:02:06,210
In addition, routers can support deeper payload inspections by using application signatures.

27
00:02:06,240 --> 00:02:12,750
So by using network based application recognition or Inbar, a router can look deep into a packet to

28
00:02:12,750 --> 00:02:14,860
determine how important the traffic is.

29
00:02:14,880 --> 00:02:19,560
So Inbar uses Layers 47 for deep packet inspection.

30
00:02:19,590 --> 00:02:25,620
It is more CPU intensive and therefore you generally only do it at the edge of your network.

31
00:02:25,830 --> 00:02:31,830
Most applications can be identified using layer three or layer four criteria, such as IP addresses

32
00:02:31,830 --> 00:02:33,270
or well-known port numbers.

33
00:02:33,270 --> 00:02:36,570
But other applications require deeper packet inspection.

34
00:02:36,600 --> 00:02:39,750
As an example, HTTP uses port 80.

35
00:02:39,780 --> 00:02:45,330
You don't want your routers classifying traffic going to Cisco AECOM in the same way as Facebook.com.

36
00:02:45,360 --> 00:02:53,400
Both of them could be using port 80 or port 43 https, so you may need to look deeper into the packet

37
00:02:53,400 --> 00:02:55,870
to determine where it's going.

38
00:02:55,910 --> 00:03:01,500
So as an example, look at the domain name and then do your quality of service based on the destination

39
00:03:01,500 --> 00:03:05,250
domain name and bar supports two modes of operation.

40
00:03:05,250 --> 00:03:08,240
We have passive mode and active mode.

41
00:03:08,250 --> 00:03:15,090
Passive mode provides real time statistics on applications per protocol per interface and gives bi directional

42
00:03:15,090 --> 00:03:18,270
statistics such as bitrate packet and byte counts.

43
00:03:18,840 --> 00:03:25,530
Active mode classifies applications for traffic marking so that quality of service policies can be applied.

44
00:03:26,010 --> 00:03:32,130
So are we actively looking at traffic types and then applying quality of service, or are we just viewing

45
00:03:32,130 --> 00:03:34,800
statistics of traffic going through a network?

46
00:03:35,250 --> 00:03:39,270
So passive mode provides statistics, but doesn't do marking.

47
00:03:39,300 --> 00:03:44,280
Active mode allows you to do markings and apply quality of service policies.

