WEBVTT

1
00:00.000 --> 00:03.940
All right, so let's go ahead and configure a new policy map.

2
00:03.940 --> 00:07.880
We'll say policy map advanced, police, or how about that?

3
00:07.880 --> 00:09.080
And we'll look at both of our options.

4
00:09.080 --> 00:12.920
I'm going to get onto the class default queue.

5
00:12.920 --> 00:15.600
And again, it's still the same command as police.

6
00:15.600 --> 00:17.680
And we're still going to be able to specify a CIR.

7
00:17.680 --> 00:22.820
It can include CIR or not, but let's just say it's 80,000 kilobits per second,

8
00:22.820 --> 00:24.360
80,000.

9
00:24.360 --> 00:26.720
And so then I can specify my BC of 5,000.

10
00:26.720 --> 00:30.320
When I run a question mark here, we see that I can hit Enter, and that's what
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

10
00:26.720 --> 00:30.320
When I run a question mark here, we see that I can hit Enter, and that's what

11
00:30.320 --> 00:30.640
we did in

12
00:30.640 --> 00:35.760
the last video, is we just made a basic two-color single-rate police.

13
00:35.760 --> 00:37.280
Here's my single-rate.

14
00:37.280 --> 00:41.760
My two colors are based on whether I have a BC token or not.

15
00:41.760 --> 00:44.280
But now we have other parameters to consider.

16
00:44.280 --> 00:48.360
We've got, for example, the ability to configure an excess burst.

17
00:48.360 --> 00:53.040
So if I want to create that first option to say, hey, I want two buckets, but I

18
00:53.040 --> 00:53.240
don't

19
00:53.240 --> 00:57.240
want to configure the peak information rate, as we see right here, we have that

20
00:57.240 --> 00:58.000
option.

21
00:58.000 --> 01:02.240
I'm just going to say BE, and maybe I make it 5,000 bytes as well.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

21
00:58.000 --> 01:02.240
I'm just going to say BE, and maybe I make it 5,000 bytes as well.

22
01:02.240 --> 01:06.480
And now we see we can hit Enter, and we can start to perform our actions.

23
01:06.480 --> 01:13.610
So I might say, again, conform action is transmit and exceed action is, well,

24
01:13.610 --> 01:14.160
we can

25
01:14.160 --> 01:17.600
now let's say we want to wipe out the DSCP tag.

26
01:17.600 --> 01:22.680
So I can say, set transmit of zero, or we mentioned default works as well.

27
01:22.680 --> 01:28.720
And then my violate action is probably going to be to drop.

28
01:28.720 --> 01:37.200
So if I look at my configuration, let's try that section policy map.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

28
01:28.720 --> 01:37.200
So if I look at my configuration, let's try that section policy map.

29
01:37.200 --> 01:40.180
All right, so now we see the advanced police, sir.

30
01:40.180 --> 01:44.600
We have a CIR single rate, but we do have two buckets.

31
01:44.600 --> 01:47.970
And so the two buckets are going to give us three colors, our conform action,

32
01:47.970 --> 01:48.320
our exceed

33
01:48.320 --> 01:53.320
action and violate action will be, you know, these definitions are going to be,

34
01:53.320 --> 01:53.520
or these

35
01:53.520 --> 02:00.920
actions are going to be applied to the conform exceed and violate colors.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

35
01:53.520 --> 02:00.920
actions are going to be applied to the conform exceed and violate colors.

36
02:00.920 --> 02:07.480
So that would be our first option for configuring a single rate three color

37
02:07.480 --> 02:08.600
police, sir.

38
02:08.600 --> 02:10.560
But let's go ahead and do this again.

39
02:10.560 --> 02:19.150
It's a policy map, advanced police, sir, except we'll say dual rate, dr, and

40
02:19.150 --> 02:20.520
class, class

41
02:20.520 --> 02:23.440
default, and the police command again.

42
02:23.440 --> 02:28.080
So now I'm going to specify still my CIR of 80,000 in my BC.

43
02:28.080 --> 02:30.880
Notice this time I'm not specifying the parameters.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

43
02:28.080 --> 02:30.880
Notice this time I'm not specifying the parameters.

44
02:30.880 --> 02:37.280
I can just continue to use the just the numbers here.

45
02:37.280 --> 02:41.740
Although once I get to this point, I'm done, I can't actually specify a PIR.

46
02:41.740 --> 02:46.080
So what I need to do here is specify my peak information rate.

47
02:46.080 --> 02:49.980
And this is one parameter that is required, by the way, we'll notice that I can

48
02:49.980 --> 02:50.400
't, if

49
02:50.400 --> 02:54.590
I'm going to enter a number, it's going to interpret that as be is what this is

50
02:54.590 --> 02:54.640
.

51
02:54.640 --> 02:59.160
So my PIR, let's say it's a hundred thousand.

52
02:59.160 --> 03:07.350
And then I can specify my be 5000, at which point the be is required, we'll see
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

52
02:59.160 --> 03:07.350
And then I can specify my be 5000, at which point the be is required, we'll see

53
03:07.350 --> 03:07.720
.

54
03:07.720 --> 03:09.600
And again, I can keep going on one line.

55
03:09.600 --> 03:11.000
I could say conform action here.

56
03:11.000 --> 03:17.320
I could hit enter and say conform action transmit and so on and so forth.

57
03:17.320 --> 03:22.210
But the way that we configure the different police is simply with the

58
03:22.210 --> 03:23.160
parameters that

59
03:23.160 --> 03:24.500
we're providing.

60
03:24.500 --> 03:30.920
I provide BC only if I only provided BC, then that is going to provide me with
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

60
03:24.500 --> 03:30.920
I provide BC only if I only provided BC, then that is going to provide me with

61
03:30.920 --> 03:31.700
only two

62
03:31.700 --> 03:32.740
colors.

63
03:32.740 --> 03:38.400
If I provided a BE, well now I have three colors, but it's still single rate

64
03:38.400 --> 03:39.000
until I

65
03:39.000 --> 03:41.420
provide the PIR.

66
03:41.420 --> 03:42.980
At this point, I have two rates.

67
03:42.980 --> 03:44.220
I have the CIR.

68
03:44.220 --> 03:45.980
I have the PIR.

69
03:45.980 --> 03:52.420
And because of that, I'm going to need to have a size for my bucket, my BE.

70
03:52.420 --> 03:57.850
And if we just hit enter, it'll take that default value, but it will require,

71
03:57.850 --> 03:58.500
again,

72
03:58.500 --> 04:01.180
configuring a BE bucket size.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

72
03:58.500 --> 04:01.180
configuring a BE bucket size.

73
04:01.180 --> 04:05.440
And that is how we go about configuring our more advanced police.
