[c-nsp] QoS

Michael Crilly michael.crilly at comtek.co.uk
Thu Feb 3 12:20:56 EST 2011


After some playing around, I am getting this output from the 'mls qos 
int gi0/2 stat' command:

salesSwitch#show mls qos int gi0/2 st
GigabitEthernet0/2
Ingress
   dscp: incoming        no_change     classified     policed    dropped 
(in bytes)
     46:          732        0                     0                
0             0
Others: 1843820098 1740299668 103521162  0             0
Egress
   dscp: incoming         no_change  classified   policed    dropped (in 
bytes)
     46: 580616            n/a              n/a            0              0
Others: 304803305    n/a              n/a            0              0

This to me looks as though my policy-map is working on the fa0/1 - 24 
range of ports:

Policy Map VPOLICY-IN
     Class VCLASS-IN
       set dscp ef

Class VCLASS-IN:

  Class Map match-any VCLASS-IN (id 1)
    Match access-group name VACL-IN

VACL-IN:

     10 permit udp 10.200.0.0 0.0.255.255 any
     20 permit udp any 10.200.0.0 0.0.255.255

Does this look to you guys as though the marking is working? Also, I 
assume the following configuration for the Gi0/1 - 2 ports is everything 
needed to allow QoS to work for DSCP 46 (which goes into queue 4, the 
priority queue):

interface GigabitEthernet0/1
  switchport trunk encapsulation dot1q
  switchport mode trunk
  mls qos monitor dscp 46
  macro description cisco-switch
  wrr-queue bandwidth 10 20 70 1
  wrr-queue cos-map 1 0 1
  wrr-queue cos-map 2 2 4
  wrr-queue cos-map 3 3 6 7
  wrr-queue cos-map 4 5
  priority-queue out
  spanning-tree link-type point-to-point
!
interface GigabitEthernet0/2
  switchport trunk encapsulation dot1q
  switchport mode trunk
  mls qos monitor dscp 46
  macro description cisco-switch
  wrr-queue bandwidth 10 20 70 1
  wrr-queue cos-map 1 0 1
  wrr-queue cos-map 2 2 4
  wrr-queue cos-map 3 3 6 7
  wrr-queue cos-map 4 5
  priority-queue out
  spanning-tree link-type point-to-point

All help appreciated greatly.

Cheers,

-- 

Michael Crilly
ICT Systems Administrator
Comtek Network Systems

M: 07771133663
E: michael.crilly at comtek.co.uk



More information about the cisco-nsp mailing list