So here's Robert a two.
Showrun.
No quality of service configuration has been configured on this router.
Interface that we working on is serial 020.
So rather to.
CLOs map.
We could use different names here, but I'm going to use the same names.
We've got a class map for voice.
Here.
We need to match on dhcp.
So match ip dhcp.
F per these instructions, we're going to set the IP precedence to five, but that needs to be done
in the policy map.
Next class is http.
So class map http match ip dhcp if 31.
CLOs map icmp match IP DCP af 11 so rather two.
We are matching DHCP values.
We are not using end bar.
We are going to read the DHCP values of packets received on the serial interface.
And then we're going to do something with it such as remark the DHCP values sole trader policy map called
remark.
The first class that we're going to match is voice and we told to set the IP precedence to five.
So set precedence and notice the words.
We could either use the word critical or we could use a value such as five.
So here I'm going to specify critical.
But notice what happens.
Do show run.
It's been changed to the number five.
So either will work, but in the output you'll see numbers.
So you could either enter critical or five, but it gets converted to the number class.
HTTP set precedence.
And we've been told to set the precedence to three.
Klaus ICMP.
And are we going to set the precedents?
To routine or zero.
So again, show run.
Here are our class maps matching different traffic types.
Here's our policy map.
Where we changing the DHCP values?
In other words, we are rewriting the type of service field or toss field in the IP header and using
precedence rather than DHCP values.
Next step is to bind the policy map.
So interface serial is 0 to 0.
Service policy inbound or input in this case remark.
So we've completed the configuration.
There are our class maps.
Here's our policy map.
Scrolling down.
Here's the service policy bound to the serial interface.
I'll save the rudder configuration.
So now that we've configured the routers, we need to verify that things are working as expected.
Sun rata one show policy map enter.
Yes.
Our policy map called Mark.
This is what we've configured on the policy.
But let's look at the statistics of the policy on this interface.
What you'll notice after the moment is there are no matches for voice.
They are no matches for HTTP.
They are no matches for ICMP.
En route a to show policy map.
There's our policy map.
Let's look at the binding on serial 0 to 0.
So this command shows us that there are no matches for voice.
No matches for HTTP.
No matches for ICMP.
Default clause is seeing matches.
Same over here.
We've got matches on the default class.
Default class matches.
Anything that we've not specifically specified in our policy map.
So in other words, OSPF routing updates would match the default policy because we haven't specified
matching of OSPF in our policy map and any other traffic that's being used across the network would
also match the default class.
Okay.
So let's send some traffic on PC one.
Open up a web browser and open up a web browser to Cisco dot com.
Click go.
And there you go.
We have connected to Cisco AECOM.
On Rata one.
Previously we had no matches for http traffic.
Look at the policy again.
Notice we are now getting matches for HDPE.
Go to Facebook.com.
Should policy map.
The number of matches has increased from the previous show command.
Previously we had 72 packets match the class.
Now we have 140 packets that match the class.
Click.
Go again.
Notice we now have 206 packet matches.
On, wrote a two.
Show Policy Map interface serial 020.
Notice we've got matches on HTTP, but no matches on ICMP.
Open up a web browser on PC to.
Go to Cisco dot com.
En route to.
We previously had 206 matches.
Now we've got 275 matches.
Go to Facebook dot com.
Now we have 341 matches.
So the policy map is working on both Rider one and Rider two.
We are matching HTTP traffic.
Back on rata one.
Open up a command prompt and I'll ping Cisco dot com before I press enter.
On to one.
They are no matches on ICMP traffic.
En route to no matches on ICMP traffic.
Presenter.
Look at the policy map on rather one again.
Notice we can see three packet matches.
Rather two four packet matches.
Go back to write a one.
Full packet matches.
Do something similar on PC to ping facebook.com.
En route a18 packet matches.
Wrote a28 packet matches.
So the quality of service policies are working for ICMP traffic as well.