WEBVTT

1
00:00.000 --> 00:02.760
All right, let's jump into this challenge together.

2
00:02.760 --> 00:05.640
If you haven't already done so, be sure to grab a piece of paper and a pencil

3
00:05.640 --> 00:05.840
and do

4
00:05.840 --> 00:09.370
some of this math to make sure we can translate some of these values back to

5
00:09.370 --> 00:09.920
decimal.

6
00:09.920 --> 00:11.760
It's going to be very important that we can do so.

7
00:11.760 --> 00:14.960
But first of all, let's answer this question about COS tags.

8
00:14.960 --> 00:19.600
What are two situations where a COS tag ends up getting lost?

9
00:19.600 --> 00:24.540
Well, the COS tag is inside not just the Ethernet header, but also specifically

10
00:24.540 --> 00:26.600
the 802.1q part

11
00:26.600 --> 00:28.800
of the header, which is optional.

12
00:28.800 --> 00:33.760
So anytime we lose this, either one of these elements, we lose the COS tag.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

12
00:28.800 --> 00:33.760
So anytime we lose this, either one of these elements, we lose the COS tag.

13
00:33.760 --> 00:38.130
The two primary situations we'd be talking about here would be non-trunk links,

14
00:38.130 --> 00:38.440
in which

15
00:38.440 --> 00:41.280
case we lose the 802.1q header.

16
00:41.280 --> 00:42.960
And so we lose the COS tag.

17
00:42.960 --> 00:47.360
The other would just be non-ethronet links, such as T1s.

18
00:47.360 --> 00:52.170
Anytime we send a packet across one of those types of connections, we're going

19
00:52.170 --> 00:52.720
to lose

20
00:52.720 --> 00:55.360
either the Ethernet header or the 802.1q header.

21
00:55.360 --> 00:58.060
In either case, the COS tag is lost.

22
00:58.060 --> 01:00.600
So with that out of the way, let's go ahead and do some math.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

22
00:58.060 --> 01:00.600
So with that out of the way, let's go ahead and do some math.

23
01:00.600 --> 01:03.680
So we're going to start with CS6.

24
01:03.680 --> 01:08.000
Class selector six, this is only using, remember, our diagram there with the

25
01:08.000 --> 01:08.520
bits.

26
01:08.520 --> 01:10.560
It's only using these first three bits.

27
01:10.560 --> 01:13.880
And so a value of six here would be 110.

28
01:13.880 --> 01:17.080
And we could do our binary math and say, okay, well, here's a bunch of zeros

29
01:17.080 --> 01:17.880
here, and we

30
01:17.880 --> 01:19.560
try to figure that all out.

31
01:19.560 --> 01:22.880
Or we could simply realize that again, this is the eights.

32
01:22.880 --> 01:26.920
And we're essentially saying that we have six of these eights.

33
01:26.920 --> 01:33.380
So math is simply six of the eights, and that would be a value of 48.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

33
01:26.920 --> 01:33.380
So math is simply six of the eights, and that would be a value of 48.

34
01:33.380 --> 01:37.580
So DSCP 48 here would be the answer for CS6.

35
01:37.580 --> 01:39.180
Now things get a little bit fun.

36
01:39.180 --> 01:42.830
We're going to go into the Assured Forwarding World, and we're going to start

37
01:42.830 --> 01:43.780
with AF13.

38
01:43.780 --> 01:49.000
Well in order to do this math calculation, we want to remember our formula 8x

39
01:49.000 --> 01:49.700
plus 2y.

40
01:49.700 --> 01:52.620
And so we're going to look at 1 and 3.

41
01:52.620 --> 01:59.500
And so the math formula simply says 8x1 plus 2x3.

42
01:59.500 --> 02:02.640
And so that would be 8 plus 6.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

42
01:59.500 --> 02:02.640
And so that would be 8 plus 6.

43
02:02.640 --> 02:05.340
And the answer here is 14.

44
02:05.340 --> 02:07.780
Then we go to AF32.

45
02:07.780 --> 02:09.260
Same deal.

46
02:09.260 --> 02:15.100
We're going to take 8x3 this time plus 2x2.

47
02:15.100 --> 02:21.100
So this is 24, this is 4, and the answer is 28.

48
02:21.100 --> 02:25.200
And so we see how we can calculate pretty seamlessly to decimal simply using

49
02:25.200 --> 02:26.220
this formula.

50
02:26.220 --> 02:30.000
And as we explained earlier, it's really just playing off of the binary and
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

51
02:30.000 --> 02:30.820
this situation

52
02:30.820 --> 02:35.510
over here where we have an eights and we have a twos because this is always a

53
02:35.510 --> 02:36.280
zero with

54
02:36.280 --> 02:37.980
a shared forwarding.

55
02:37.980 --> 02:42.610
Now lastly here, or not lastly lastly, but we do have the next one which is

56
02:42.610 --> 02:43.340
asking us

57
02:43.340 --> 02:46.340
to work our way backwards, which is kind of interesting.

58
02:46.340 --> 02:49.460
We're saying we want to start with decimal 36.

59
02:49.460 --> 02:52.580
And we want to go back to an AF number.

60
02:52.580 --> 02:54.260
So how would we go about doing this?

61
02:54.260 --> 02:58.340
This is a pretty interesting exercise and there's lots of ways to do this.

62
02:58.340 --> 03:03.100
We could translate 36 into binary and then look at it in this format here using
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

62
02:58.340 --> 03:03.100
We could translate 36 into binary and then look at it in this format here using

63
03:03.100 --> 03:03.780
6 binary

64
03:03.780 --> 03:07.460
digits and extract the x and y values.

65
03:07.460 --> 03:10.980
Or we could actually use this formula in reverse.

66
03:10.980 --> 03:14.710
We could pull out a number of eights knowing that there's going to be a

67
03:14.710 --> 03:16.180
remainder probably.

68
03:16.180 --> 03:18.100
And then the rest of that would be our twos.

69
03:18.100 --> 03:24.550
So for example, 36, if I think about multiples of 8, 8, 16, 24, 32, I could

70
03:24.550 --> 03:25.820
pull 32 out of

71
03:25.820 --> 03:29.420
this and that's 4 of our eights.

72
03:29.420 --> 03:32.820
And so that means that x is going to be 4.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

72
03:29.420 --> 03:32.820
And so that means that x is going to be 4.

73
03:32.820 --> 03:37.800
Now after I take 32 out of 36, there should be a remainder of 4 and so that's

74
03:37.800 --> 03:38.380
how many

75
03:38.380 --> 03:39.380
twos?

76
03:39.380 --> 03:41.500
Well that would be two separate twos.

77
03:41.500 --> 03:44.060
And so that means my y is a 2.

78
03:44.060 --> 03:50.340
That means that the answer to this should be AF4 for x2 for y.

79
03:50.340 --> 03:53.240
And then I can turn around and insert this back into the formula in order to

80
03:53.240 --> 03:53.780
make sure

81
03:53.780 --> 03:54.980
it works.

82
03:54.980 --> 03:57.820
4 times 8 plus 2 times 2.

83
03:57.820 --> 03:59.140
That would be 32.

84
03:59.140 --> 04:03.260
That would be 4 and the answer is 36 which is what we started with.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

84
03:59.140 --> 04:03.260
That would be 4 and the answer is 36 which is what we started with.

85
04:03.260 --> 04:05.780
So AF42 is our answer.

86
04:05.780 --> 04:10.560
Now the last question here is simply asking us do we know the decimal value of

87
04:10.560 --> 04:11.460
EF expedited

88
04:11.460 --> 04:12.980
forwarding?

89
04:12.980 --> 04:17.620
This is always going to have a value of DSCP 46.

90
04:17.620 --> 04:19.900
It's simply something to memorize.

91
04:19.900 --> 04:25.590
It's essentially the highest even value before we get into CS6, CS7 area which

92
04:25.590 --> 04:26.580
we typically

93
04:26.580 --> 04:28.540
see reserved for network traffic.

94
04:28.540 --> 04:32.220
And so that would be the number that it is if that helps us to remember it.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

94
04:28.540 --> 04:32.220
And so that would be the number that it is if that helps us to remember it.

95
04:32.220 --> 04:35.600
But ultimately it's simply a number that we're going to have to memorize at

96
04:35.600 --> 04:36.340
some point.

97
04:36.340 --> 04:38.420
So this brings us to the end of this skill.

98
04:38.420 --> 04:43.220
That's a great look at how we perform classification and marking.

99
04:43.220 --> 04:46.880
And in the end we do want to be able to come away from this being able to

100
04:46.880 --> 04:47.700
understand the

101
04:47.700 --> 04:52.670
structure of our COS and our DSCP tags and to be able to perform some math

102
04:52.670 --> 04:53.580
operations

103
04:53.580 --> 04:57.990
to make sure that we can calculate out the per hot behavior or decimal values

104
04:57.990 --> 04:58.700
while also

105
04:58.700 --> 05:01.300
understanding what those per hot behaviors really mean.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

105
04:58.700 --> 05:01.300
understanding what those per hot behaviors really mean.

106
05:01.300 --> 05:03.860
I hope this has been informative for you and I'd like to thank you for viewing.
