All right, so let's go ahead and configure a new policy map.
We'll say policy map advanced, police, or how about that?
And we'll look at both of our options.
I'm going to get onto the class default queue.
And again, it's still the same command as police.
And we're still going to be able to specify a CIR.
It can include CIR or not, but let's just say it's 80,000 kilobits per second,
80,000.
And so then I can specify my BC of 5,000.
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
When I run a question mark here, we see that I can hit Enter, and that's what
we did in
the last video, is we just made a basic two-color single-rate police.
Here's my single-rate.
My two colors are based on whether I have a BC token or not.
But now we have other parameters to consider.
We've got, for example, the ability to configure an excess burst.
So if I want to create that first option to say, hey, I want two buckets, but I
don't
want to configure the peak information rate, as we see right here, we have that
option.
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
I'm just going to say BE, and maybe I make it 5,000 bytes as well.
And now we see we can hit Enter, and we can start to perform our actions.
So I might say, again, conform action is transmit and exceed action is, well,
we can
now let's say we want to wipe out the DSCP tag.
So I can say, set transmit of zero, or we mentioned default works as well.
And then my violate action is probably going to be to drop.
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
So if I look at my configuration, let's try that section policy map.
All right, so now we see the advanced police, sir.
We have a CIR single rate, but we do have two buckets.
And so the two buckets are going to give us three colors, our conform action,
our exceed
action and violate action will be, you know, these definitions are going to be,
or these
actions are going to be applied to the conform exceed and violate colors. WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
actions are going to be applied to the conform exceed and violate colors.
So that would be our first option for configuring a single rate three color
police, sir.
But let's go ahead and do this again.
It's a policy map, advanced police, sir, except we'll say dual rate, dr, and
class, class
default, and the police command again.
So now I'm going to specify still my CIR of 80,000 in my BC.
Notice this time I'm not specifying the parameters. WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
Notice this time I'm not specifying the parameters.
I can just continue to use the just the numbers here.
Although once I get to this point, I'm done, I can't actually specify a PIR.
So what I need to do here is specify my peak information rate.
And this is one parameter that is required, by the way, we'll notice that I can
't, if
I'm going to enter a number, it's going to interpret that as be is what this is
.
So my PIR, let's say it's a hundred thousand.
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
And then I can specify my be 5000, at which point the be is required, we'll see
.
And again, I can keep going on one line.
I could say conform action here.
I could hit enter and say conform action transmit and so on and so forth.
But the way that we configure the different police is simply with the
parameters that
we're providing.
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
I provide BC only if I only provided BC, then that is going to provide me with
only two
colors.
If I provided a BE, well now I have three colors, but it's still single rate
until I
provide the PIR.
At this point, I have two rates.
I have the CIR.
I have the PIR.
And because of that, I'm going to need to have a size for my bucket, my BE.
And if we just hit enter, it'll take that default value, but it will require,
again,
configuring a BE bucket size. WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
configuring a BE bucket size.
And that is how we go about configuring our more advanced police.