WEBVTT

1
00:00.000 --> 00:06.720
Well, as we've said, eventually wired packets are going to land on the wireless

2
00:06.720 --> 00:07.440
, and wireless

3
00:07.440 --> 00:10.560
packets are going to land on the wire.

4
00:10.560 --> 00:13.950
And so we really have this back and forth relationship where we're using user

5
00:13.950 --> 00:14.960
priorities on one

6
00:14.960 --> 00:19.640
side and DSCP on the other side.

7
00:19.640 --> 00:24.190
Classic service is not necessarily a play here because a lot of access points

8
00:24.190 --> 00:24.720
connect

9
00:24.720 --> 00:28.920
via access ports and not trunks, and furthermore, we don't actually have

10
00:28.920 --> 00:29.960
Classic service.

11
00:29.960 --> 00:31.640
On the wireless side anyway.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

11
00:29.960 --> 00:31.640
On the wireless side anyway.

12
00:31.640 --> 00:35.160
And so we really do need to worry about this translation between user priority

13
00:35.160 --> 00:36.720
and DSCP.

14
00:36.720 --> 00:45.040
So let's go ahead and start by looking at DSCP to user priority translation.

15
00:45.040 --> 00:47.740
As we said in the last video, we're going to need this right from the very

16
00:47.740 --> 00:48.200
beginning

17
00:48.200 --> 00:52.780
when a station wants to send a frame, because the application is going to pick

18
00:52.780 --> 00:53.360
the DSCP

19
00:53.360 --> 00:58.210
tag, and then we as the wireless station need to decide which user priority to

20
00:58.210 --> 00:58.720
use.

21
00:58.720 --> 01:01.160
So how do we go about doing this?
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

21
00:58.720 --> 01:01.160
So how do we go about doing this?

22
01:01.160 --> 01:07.560
Well, the user priority, keep in mind, this has three bits.

23
01:07.560 --> 01:11.740
And as we were called, DSCP has sort of this three plus three mechanism where

24
01:11.740 --> 01:12.560
the original

25
01:12.560 --> 01:17.470
three bits used for IP precedence are now made a little bit deeper by adding

26
01:17.470 --> 01:18.160
these three

27
01:18.160 --> 01:19.920
additional bits.

28
01:19.920 --> 01:24.150
And so what we end up doing is we take these three bits here, and we translate

29
01:24.150 --> 01:25.120
them directly

30
01:25.120 --> 01:27.480
into the user priority.

31
01:27.480 --> 01:32.230
And from a math perspective, this essentially says that we're going to take D
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

31
01:27.480 --> 01:32.230
And from a math perspective, this essentially says that we're going to take D

32
01:32.230 --> 01:33.160
SCP, divide

33
01:33.160 --> 01:37.560
it by eight, and then scrap the remainder.

34
01:37.560 --> 01:44.480
Because the remainder is going to be effectively these three bits here.

35
01:44.480 --> 01:50.720
So we're only going to take the how many eights there are in a DSCP tag.

36
01:50.720 --> 01:55.840
So for example, let's say that we have a DSCP value of 45.

37
01:55.840 --> 01:59.310
So I'm going to take 45, divide it by eight, and we know that that's going to

38
01:59.310 --> 01:59.760
be five

39
01:59.760 --> 02:01.400
and some change.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

39
01:59.760 --> 02:01.400
and some change.

40
02:01.400 --> 02:07.640
And so five points, I guess six to five, something like that, five eighths.

41
02:07.640 --> 02:12.400
And so we're going to scrap that part and just call it a user priority of five.

42
02:12.400 --> 02:15.560
So I can essentially round this down to the nearest power of eight, and then

43
02:15.560 --> 02:16.040
divide by

44
02:16.040 --> 02:18.560
eight, and there's my answer.

45
02:18.560 --> 02:22.410
So when I do this over the course of a lot of different values, we'll see a

46
02:22.410 --> 02:23.240
pattern emerge

47
02:23.240 --> 02:29.290
where zero through seven on the DSCP side translates over to a user priority of

48
02:29.290 --> 02:29.640
zero,

49
02:29.640 --> 02:37.140
and then eight through 15 translates over to a one, 16 through 23 goes to two,
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

49
02:29.640 --> 02:37.140
and then eight through 15 translates over to a one, 16 through 23 goes to two,

50
02:37.140 --> 02:37.760
and so

51
02:37.760 --> 02:39.520
on and so forth.

52
02:39.520 --> 02:44.480
So that is how we take a DSCP value and establish the user priority.

53
02:44.480 --> 02:49.040
Now we'll notice here, and this is going to come up later, that what about the

54
02:49.040 --> 02:49.720
range that

55
02:49.720 --> 02:55.720
we get to that, let's just say it's 40 through 47.

56
02:55.720 --> 03:00.800
So 40 through 47 ends up translating to a user priority of five.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

56
02:55.720 --> 03:00.800
So 40 through 47 ends up translating to a user priority of five.

57
03:00.800 --> 03:02.560
Well what do we use for voice over IP?

58
03:02.560 --> 03:09.400
Voice over IP is going to use 46, which is known as that expedited for it.

59
03:09.400 --> 03:12.720
So voice over IP ends up with five, which is great when we're talking about

60
03:12.720 --> 03:13.200
class of

61
03:13.200 --> 03:18.080
service, we like to use a tag of five for voice over IP with class of service.

62
03:18.080 --> 03:23.440
So remember, voice is supposed to use a six or a seven.

63
03:23.440 --> 03:27.930
And so this is where the translation can start to lose itself a little bit, if

64
03:27.930 --> 03:29.000
we do nothing

65
03:29.000 --> 03:32.400
other than take the direct translation.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

65
03:29.000 --> 03:32.400
other than take the direct translation.

66
03:32.400 --> 03:35.820
We are going to need to step in and intervene in other words, in order to get

67
03:35.820 --> 03:36.600
our voice over

68
03:36.600 --> 03:43.260
IP using the voice access category, because five is going to use that vi or

69
03:43.260 --> 03:44.560
video access

70
03:44.560 --> 03:45.800
category.

71
03:45.800 --> 03:49.830
We don't want our voice packets getting into the wrong access category, that's

72
03:49.830 --> 03:50.520
for sure.

73
03:50.520 --> 03:53.440
So next we need to consider the reverse.

74
03:53.440 --> 03:58.120
What happens if I have a user priority, I need to translate it back to DSCP.

75
03:58.120 --> 04:03.770
So as we said, when a wireless receiver here, in this case, this access point
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

75
03:58.120 --> 04:03.770
So as we said, when a wireless receiver here, in this case, this access point

76
04:03.770 --> 04:04.640
receives a

77
04:04.640 --> 04:10.940
packet, is going to be able to do one of two, well, a few things, it can take

78
04:10.940 --> 04:12.040
the DSCP and

79
04:12.040 --> 04:13.400
just trust that.

80
04:13.400 --> 04:17.390
It can override it, as we said, we can just say, I don't trust anything you're

81
04:17.390 --> 04:17.960
sending

82
04:17.960 --> 04:18.960
me.

83
04:18.960 --> 04:21.560
And so I'm going to override it and do it myself.

84
04:21.560 --> 04:28.160
Or I can perform this user priority and translation over to DSCP.

85
04:28.160 --> 04:31.950
And so if we're going to do this last option, how exactly do we go about doing
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

85
04:28.160 --> 04:31.950
And so if we're going to do this last option, how exactly do we go about doing

86
04:31.950 --> 04:32.360
it?

87
04:32.360 --> 04:33.520
Well, it's pretty simple.

88
04:33.520 --> 04:37.220
We're going to take user priority, multiply it by eight, and that's going to

89
04:37.220 --> 04:37.960
give us our

90
04:37.960 --> 04:39.480
DSCP value.

91
04:39.480 --> 04:46.180
And so if I have a user priority of three, that's going to be a DSCP value of

92
04:46.180 --> 04:47.240
24.

93
04:47.240 --> 04:53.270
If I have a user priority of five, it's DSCP of 40, which once again, if I'm

94
04:53.270 --> 04:54.160
looking at

95
04:54.160 --> 04:58.370
things like, hey, maybe I get a voice packet that has a user priority of six,

96
04:58.370 --> 04:59.280
well, that's

97
04:59.280 --> 05:05.360
going to translate to a DSCP of 48, which is not quite right for my network.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

97
04:59.280 --> 05:05.360
going to translate to a DSCP of 48, which is not quite right for my network.

98
05:05.360 --> 05:10.460
In fact, six and seven would both cause a lot of problems because going as high

99
05:10.460 --> 05:11.600
as 48 and

100
05:11.600 --> 05:15.500
56 on the wired network, that's going to start to interfere with some important

101
05:15.500 --> 05:16.360
network control

102
05:16.360 --> 05:17.920
traffic.

103
05:17.920 --> 05:21.440
But understand how these values get translated back and forth.

104
05:21.440 --> 05:24.920
And we're going to talk about some of the nuances here coming up.

105
05:24.920 --> 05:28.080
Now one other thing to consider on the wired side, once this translation

106
05:28.080 --> 05:28.960
happens, again,

107
05:28.960 --> 05:35.200
we're talking about like a wireless station, transmitting to an access point
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

107
05:28.960 --> 05:35.200
we're talking about like a wireless station, transmitting to an access point

108
05:35.200 --> 05:36.360
wirelessly,

109
05:36.360 --> 05:40.430
and then this access point is communicating with the switches and ultimately

110
05:40.430 --> 05:40.920
the rest

111
05:40.920 --> 05:43.600
of the local area network.

112
05:43.600 --> 05:50.550
So we have gotten to this point, but there is an important major caveat with

113
05:50.550 --> 05:51.400
how we do

114
05:51.400 --> 05:55.580
our wireless networking, which is that we have these capwap tunnels that go

115
05:55.580 --> 05:56.120
through

116
05:56.120 --> 06:00.840
the network to the wireless LAN controller.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

116
05:56.120 --> 06:00.840
the network to the wireless LAN controller.

117
06:00.840 --> 06:06.340
And so when we're running capwap or any tunneling mechanism, we now have two

118
06:06.340 --> 06:07.960
sets of headers.

119
06:07.960 --> 06:16.640
So when we look at our capwap mechanism, we have the inner packet here.

120
06:16.640 --> 06:20.640
And the inner packet is going to include its DSCP value.

121
06:20.640 --> 06:27.440
But then we're going to have the outer headers and these outer headers.

122
06:27.440 --> 06:31.280
It's going to have its own, at this point, let's just say it's an IPv4 header,
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

122
06:27.440 --> 06:31.280
It's going to have its own, at this point, let's just say it's an IPv4 header,

123
06:31.280 --> 06:31.640
it's

124
06:31.640 --> 06:34.360
going to have its own IPv4 header.

125
06:34.360 --> 06:38.510
And we're about to send this packet in and it could get thrown through a bunch

126
06:38.510 --> 06:39.240
of switches

127
06:39.240 --> 06:41.880
and a bunch of routers and get go across WAN links.

128
06:41.880 --> 06:44.800
We don't know where this wireless LAN controller is going to be.

129
06:44.800 --> 06:46.720
It could be anywhere in the network.

130
06:46.720 --> 06:53.340
So how do I make sure that I have the right level of classification in the

131
06:53.340 --> 06:54.440
middle of all

132
06:54.440 --> 06:56.640
of this?

133
06:56.640 --> 07:00.400
Because the inner DSCP tag, let's say we did translate that, let's just say we
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

133
06:56.640 --> 07:00.400
Because the inner DSCP tag, let's say we did translate that, let's just say we

134
07:00.400 --> 07:01.240
successfully

135
07:01.240 --> 07:07.360
translated it to DSCP 46, which is again expedited forwarding.

136
07:07.360 --> 07:13.790
So it's a voice over IP packet and it's inside a capwap tunnel inside capwap

137
07:13.790 --> 07:15.560
encapsulation.

138
07:15.560 --> 07:20.950
But what I'm going to do is fairly simple, I'm simply going to copy this DSCP

139
07:20.950 --> 07:21.680
tag over

140
07:21.680 --> 07:23.760
to the outer header.

141
07:23.760 --> 07:27.240
So that is a pretty critical aspect of all of this.

142
07:27.240 --> 07:30.820
And even though the answer is fairly simple in the end, it is something we need
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

142
07:27.240 --> 07:30.820
And even though the answer is fairly simple in the end, it is something we need

143
07:30.820 --> 07:31.200
to make

144
07:31.200 --> 07:34.280
sure we understand and that we address.

145
07:34.280 --> 07:40.650
Because whatever the access point here receives from the station, once it does

146
07:40.650 --> 07:42.120
its DSCP translation,

147
07:42.120 --> 07:44.280
that is only going to go in the inner header.

148
07:44.280 --> 07:48.530
So we need to make sure from a networking and just a network architecture

149
07:48.530 --> 07:49.840
perspective that

150
07:49.840 --> 07:54.020
this tag, whatever is decided, ends up getting mapped into the outer header in

151
07:54.020 --> 07:54.680
the capwap

152
07:54.680 --> 07:55.680
tunnel.

153
07:55.680 --> 07:58.600
And fortunately, there's nothing we need to do for that that's automatically

154
07:58.600 --> 07:58.960
going to

155
07:58.960 --> 07:59.960
happen.

156
07:59.960 --> 08:04.000
This is an automatic part of the process.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

156
07:59.960 --> 08:04.000
This is an automatic part of the process.

157
08:04.000 --> 08:07.960
But understanding that that happens and that I need to build my policy around

158
08:07.960 --> 08:09.120
these DSCP

159
08:09.120 --> 08:13.680
tags that ultimately come from these translations, that is going to be an

160
08:13.680 --> 08:15.240
important part of building

161
08:15.240 --> 08:16.480
a network architecture.

162
08:16.480 --> 08:24.460
[BLANK_AUDIO]
