WEBVTT

1
00:00.000 --> 00:04.680
All right, once again at the CLI and what we want to do here is we want to

2
00:04.680 --> 00:09.000
create a policy map that references the class maps that we created in the last

3
00:09.000 --> 00:09.000
section.

4
00:09.000 --> 00:14.000
So let's go ahead and do a policy map command.

5
00:14.000 --> 00:18.750
Do our question mark and we see we can specify a type again with iOS X E and

6
00:18.750 --> 00:20.000
standard MQC.

7
00:20.000 --> 00:21.000
We don't need to worry about the type.

8
00:21.000 --> 00:24.000
I'm just going to specify a name of CBT in this case.

9
00:24.000 --> 00:26.000
And now I'll use that class command.

10
00:26.000 --> 00:30.370
This allows me to specify a class map name of one I've created or again that
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

10
00:26.000 --> 00:30.370
This allows me to specify a class map name of one I've created or again that

11
00:30.370 --> 00:32.000
class default option.

12
00:32.000 --> 00:37.810
I'll use DSCP E F to create my queue that matches according to E F and I can

13
00:37.810 --> 00:40.000
specify the priority command here.

14
00:40.000 --> 00:42.000
Turn this into a priority queue.

15
00:42.000 --> 00:45.460
Now that question mark here, I could just hit enter and that will turn it into

16
00:45.460 --> 00:47.000
a strict priority queue.

17
00:47.000 --> 00:52.650
Usually that's not a good idea or I can specify some amount of bandwidth to

18
00:52.650 --> 00:55.000
reserve and not just reserve for it,

19
00:55.000 --> 00:59.000
but actually turn it into a limit when things are congested.

20
00:59.000 --> 01:04.370
So I love that it's kilobits here by the way, not just all one word, but either
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

20
00:59.000 --> 01:04.370
So I love that it's kilobits here by the way, not just all one word, but either

21
01:04.370 --> 01:07.000
way we could specify 100 kilobits

22
01:07.000 --> 01:12.000
and that would be maybe decent depending on the situation.

23
01:12.000 --> 01:15.000
So from here I can exit out and I can specify my next class.

24
01:15.000 --> 01:19.000
In this case, maybe I want to do DSCP E F for X.

25
01:19.000 --> 01:22.000
That would be that class that I defined as well.

26
01:22.000 --> 01:26.000
And then I could use the band with command.

27
01:26.000 --> 01:31.210
And same thing here, I've got kilobits per second so I could specify 50,000 to
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

27
01:26.000 --> 01:31.210
And same thing here, I've got kilobits per second so I could specify 50,000 to

28
01:31.210 --> 01:34.000
make it 50 megabits per second

29
01:34.000 --> 01:38.000
since 1000 kilobits turns into a megabit there.

30
01:38.000 --> 01:40.000
And so we've got that option.

31
01:40.000 --> 01:44.000
I can also do another class statement here, go to class default.

32
01:44.000 --> 01:48.350
And even though we didn't configure class default with a class map, again it's

33
01:48.350 --> 01:49.000
system configured.

34
01:49.000 --> 01:52.610
I can run a question mark here, I can see my options, I could enable that fair

35
01:52.610 --> 01:53.000
queue.

36
01:53.000 --> 01:55.000
So that's not a bad idea in class default.

37
01:55.000 --> 01:59.000
I might also want to give it a bandwidth reservation.

38
01:59.000 --> 02:05.000
Maybe I want something like bandwidth percent and then we can specify 25 here.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

38
01:59.000 --> 02:05.000
Maybe I want something like bandwidth percent and then we can specify 25 here.

39
02:05.000 --> 02:08.000
So I'm going to reserve 25% of the bandwidth.

40
02:08.000 --> 02:09.000
Oh, that's right.

41
02:09.000 --> 02:15.000
I forgot I already specified a hard bandwidth of 50 megabits per second.

42
02:15.000 --> 02:16.000
We can't mix and match those.

43
02:16.000 --> 02:20.400
So yeah, that would be an option that we could use if we had used percent

44
02:20.400 --> 02:21.000
earlier.

45
02:21.000 --> 02:24.000
Instead, we'd have to calculate it ourselves.

46
02:24.000 --> 02:29.030
So maybe it's a gig link and I don't want to reserve 250 megabits per second

47
02:29.030 --> 02:30.000
for that gig link.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

48
02:30.000 --> 02:31.000
So there we go.

49
02:31.000 --> 02:33.000
That would be a policy map configuration.

50
02:33.000 --> 02:36.000
Now all we need to do is apply it to an interface.

51
02:36.000 --> 02:38.000
Let's get on to interface gig one zero.

52
02:38.000 --> 02:42.000
And the way we do this is with the again service policy command.

53
02:42.000 --> 02:43.000
Do a question mark.

54
02:43.000 --> 02:45.000
We see we have input and output.

55
02:45.000 --> 02:47.000
Usually we're talking about output.

56
02:47.000 --> 02:50.000
Now I specify the name CBT and I hit enter.

57
02:50.000 --> 02:55.000
Now I want to show a very powerful verification command, which is very useful

58
02:55.000 --> 02:56.000
for not only

59
02:56.000 --> 03:00.000
verifying configurations, but also in trying to troubleshoot some issues.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

60
03:00.000 --> 03:07.000
We can do show policy map interface and then specify our interface name.

61
03:07.000 --> 03:09.000
This is a wonderful command.

62
03:09.000 --> 03:12.000
It has served me wonderfully over the years.

63
03:12.000 --> 03:16.000
I highly recommend getting in mind to use this.

64
03:16.000 --> 03:20.350
So there's all kinds of show commands that we might get distracted by that

65
03:20.350 --> 03:24.000
might be trying to show what we think is configured, all these various things.

66
03:24.000 --> 03:28.040
This shows us not only what's actually configured on the interface in terms of

67
03:28.040 --> 03:32.880
the various cues, but it even shows us how many packets were received with a
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

67
03:28.040 --> 03:32.880
the various cues, but it even shows us how many packets were received with a

68
03:32.880 --> 03:34.000
particular tag.

69
03:34.000 --> 03:37.620
So we can make sure our cues are working by going and generating traffic that

70
03:37.620 --> 03:39.000
uses some of these tags.

71
03:39.000 --> 03:44.040
Maybe make sure that, yeah, I think this is going to match AF41 or 42 or 43,

72
03:44.040 --> 03:48.000
but maybe I forgot to make it match any instead of match all.

73
03:48.000 --> 03:52.670
And then my packets are landing here in class default, so that wouldn't be good

74
03:52.670 --> 03:53.000
.

75
03:53.000 --> 03:56.000
But we do see that we've got a lot of options here.

76
03:56.000 --> 04:01.000
We see that it does clarify that the priority classes are listed separate.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

76
03:56.000 --> 04:01.000
We see that it does clarify that the priority classes are listed separate.

77
04:01.000 --> 04:03.000
So I can see the priority class up here.

78
04:03.000 --> 04:05.000
I can see the rest of them down below.

79
04:05.000 --> 04:09.000
Very, very powerful command that show policy map interface.

80
04:09.000 --> 04:11.000
So let's keep that in mind as well as we move forward.
