Subjects Covered On 29/30/11/2007

Still going through QoS:

Configured and tested per-port/per-port-per-vlan and per-vlan QoS
Configured and tested mls qos overide configured on the interface

Practice DSCP mutation-map – done I configured:

mls qos map dscp-mutation TELNET 48 to 8
!
interface GigabitEthernet 1/0/16
 mls qos dscp-mutation TELNET

This changes DSCP 48 (IPP/CoS 6) to DSCP 8 (IPP/CoS 1)

Topology was SW2 -> SW3 -> R3

On SW2 i noted the IPP of telnet packets going out of the trunk to SW3:

SW2#show inter pre
Vlan100
  Output
    Precedence 6:  13 packets, 789 bytes

Then I telnetted to R3 and had a look to see if the mutation-map worked:

As you can see, the telnet packets have changed from IPP 6 to IPP 1:

R3#show inter pre
Ethernet0/1
  Input
    Precedence 1:  11 packets, 660 bytes
Serial1/2
  Input
    Precedence 5:  5 packets, 520 bytes
R3#show inter pre
Ethernet0/1
  Input
    Precedence 1:  16 packets, 960 bytes
Serial1/2
  Input
    Precedence 5:  5 packets, 520 bytes
R3#show inter pre
Ethernet0/1
  Input
    Precedence 1:  21 packets, 1260 bytes
Serial1/2
  Input
    Precedence 5:  5 packets, 520 bytes

Police Aggregate:

I used:

mls qos aggregate-policer ICMP 64000 8000 exceed-action drop
!
access-list 100 permit icmp any any
!
class-map ICMP
 match access-group 100
!
policy-map ICMP
 class ICMP
  police aggregate ICMP
 class class-default
  police aggregate ICMP
!
interface GigabitEthernet 1/0/3
 description Connection to R3
 service-policy input ICMP

To test I pinged from R3 to vlan 100 on SW2:

R3#ping 200.0.0.8 size 400 re 10000 ti 0

Type escape sequence to abort.
Sending 10000, 400-byte ICMP Echos to 200.0.0.8, timeout is 0 seconds:
..!………………………………………………………….
…………………………………………………………….
…………………………………………………………….

You can see on SW3 that packets that aren’t conforming to the policed rate are dropped:

SW3#show mls qos interface gig 1/0/3 st
GigabitEthernet1/0/3
!!!Output Omitted!!!
Policer: Inprofile:          246 OutofProfile:         9799

So out of the 10000 packets I sent, only 246 conformed

IPP to DSCP mapping:

On SW3 I used the following config:

mls qos map ip-prec-dscp 0 8 16 24 32 40 8 56
!
interface GigabitEthernet 1/0/16
 mls qos trust ip-precedence

Again I telnetted from SW2 to R3:

SW2#show inter pre
Vlan100
  Output
    Precedence 0:  206 packets, 83784 bytes
    Precedence 6:  444 packets, 26676 bytes

SW2#telnet r3    
Trying R3 (10.0.0.3)… Open

R3#show inter prec
Ethernet0/1
  Input
    Precedence 1:  35 packets, 2100 bytes
Serial1/2
  Input
    Precedence 5:  5 packets, 520 bytes
R3#show inter prec
Ethernet0/1
  Input
    Precedence 1:  41 packets, 2460 bytes
Serial1/2
  Input
    Precedence 5:  5 packets, 520 bytes

Amount of time studying yesterday – 2hrs
Amount of time studying today – 3hrs 40 mins
Total Studying hours so far since starting this blog – 126hrs 12mins

Leave a comment