Lab Objective:
Learn about QoS.
Lab Purpose:
Learn about various QoS features.
Lab Tool:
Cisco Packet Tracer.
Lab Topology:
Please use the following topology to complete this lab exercise. I used two 2911 model routers from Packet Tracer.

Lab Walkthrough:
Task 1:
From the canvas, drag a 2911 model router onto the canvas and connect the Gigabit Ethernet interfaces with a crossover cable.
Task 2:
Configure the hostnames on routers R1 and R2, and add the IP addresses from the topology above. Here is how you do it on Router 1, for Router 2, just change the IP address to .2.
Router>enable
Router#config t
Router(config)#hostname R1
Router(config)#interface G0/0
Router(config-if)#ip address 192.168.10.1 255.255.255.0
Router(config-if)#no shutdown
Task 3:
Connect to R2 and configure an access list named ACL_TELNET that matches telnet traffic. Access lists are used to match IP addresses, networks, or certain traffic types such as telnet or FTP.
R2#config t
R2(config)#ip access-list extended TELNET_ACL
R2(config-ext-nacl)#permit tcp any any eq 23
Task 4:
On R2, configure a class-map, where quality of service action is configured, and ACL from Task 3 is matched.
R2#config t
R2(config)#class-map MATCH_TELNET
R2(config-cmap)#match access-group name TELNET_ACL
R2(config-cmap)#exit
Task 5:
Next, create a policy map that matches the class map created in Task 4, and apply it to the interface. Use the following command to verify the policy-map applied to the interface:
show policy-map interface gi0/0
R2#config t
R2(config)#policy-map CLASSIFY_TELNET
R2(config-pmap)#class MATCH_TELNET
R2(config-pmap)#exit
R2(config)#int gi0/0
R2(config-if)#service-policy input CLASSIFY_TELNET
R2(config-if)#end
R2#sh policy-map interface gi0/0
GigabitEthernet0/0
Service-policy input: CLASSIFY_TELNET
Class-map: MATCH_TELNET (match-all)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: access-group name TELNET_ACL
Class-map: class-default (match-any)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: any
Task 6:
Generate Telnet traffic from R1 and verify the policy-map on R2 using the following commands. You should see matches to the QoS policy in the output of the show command below.
show policy-map interface gi0/0
R1#telnet 192.168.10.2
Trying 192.168.10.2 …Open
[Connection to 192.168.10.2 closed by foreign host]
R1#
R2#show policy-map interface gi0/0
GigabitEthernet0/0
Service-policy input: CLASSIFY_TELNET
Class-map: MATCH_TELNET (match-all)
3 packets, 124 bytes
5 minute offered rate 6 bps, drop rate 0 bps
Match: access-group name TELNET_ACL
Class-map: class-default (match-any)
4 packets, 991 bytes
5 minute offered rate 23 bps, drop rate 0 bps
Match: any
Notes:
As with all the labs, you are just seeing how the protocol and technology work. You won’t be tested on vendor hardware or software in the exam unless specifically stated, such as Windows 10.
