Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

QOS Implementation

Hi

I have this existing QOS configuration in my network.

below is the configuration which i gather from access switch and from Core switch.

Core Switch

=========

!

mls aging long 64

mls aging normal 32

mls netflow interface

mls flow ip interface-full

mls nde sender version 5

mls qos map cos-dscp 0 8 16 24 32 46 48 56

mls qos

mls cef error action reset

!

interface GigabitEthernet X/X/X                                                                                                             

description To Closet Switch or Access Switch                                                                                                 

 switchport                                                                                                        

switchport trunk encapsulation dot1q                                                                                                                                                                                                  

switchport mode trunk                                                                                                               

wrr-queue bandwidth 5 25 40                                                                                                  

 wrr-queue queue-limit 20 25 40                                                                                                              

 wrr-queue random-detect min-threshold 1 80 100 100 100 100 100 100 100                                                                                                         

 wrr-queue random-detect min-threshold 2 80 100 100 100 100 100 100 100                                                                                                         

 wrr-queue random-detect min-threshold 3 60 70 80 90 100 100 100 100                                                                                                                

 wrr-queue random-detect max-threshold 1 100 100 100 100 100 100 100 100                                                                                                      

 wrr-queue random-detect max-threshold 2 100 100 100 100 100 100 100 100                                                                                                      

 wrr-queue random-detect max-threshold 3 70 80 90 100 100 100 100 100                                                                                                             

 wrr-queue cos-map 1 1 1                                                                                                            

 wrr-queue cos-map 2 1 0                                                                                                            

 wrr-queue cos-map 3 1 2                                                                                                            

 wrr-queue cos-map 3 2 3                                                                                                            

 wrr-queue cos-map 3 3 6                                                                                                            

 wrr-queue cos-map 3 4 7                                                                                                            

 priority-queue cos-map 1 4 5                                                                                                    

 mls qos trust dscp                                                                                                         

channel-group XX mode active                                                                                                

end                                                                                                       

!                                                                                                             

interface Port-channel XX                                                                                                          

description To  Closet Switch or Access Switch                                                                                                

switchport                                                                                                        

switchport trunk encapsulation dot1q                                                                                                                                                                                                                  

switchport mode trunk                                                                                                               

mls qos trust dscp                                                                                                         

end                                       

 

Access Switch

===========                                                  

!

mls qos map cos-dscp 0 8 16 26 32 46 48 56                                                                                                          

mls qos srr-queue input threshold 1 50 100                                                                                                         

mls qos srr-queue input threshold 2 80 100                                                                                                         

mls qos srr-queue input priority-queue 2 bandwidth 20                                                                                                

mls qos srr-queue input dscp-map queue 1 threshold 2 24                                                                                                          

mls qos srr-queue input dscp-map queue 1 threshold 3 48 56                                                                                                     

mls qos srr-queue input dscp-map queue 2 threshold 3 32 40 46                                                                                                               

mls qos srr-queue output cos-map queue 1 threshold 3 4 5                                                                                                         

mls qos srr-queue output cos-map queue 2 threshold 1 2                                                                                                            

mls qos srr-queue output cos-map queue 2 threshold 2 3                                                                                                            

mls qos srr-queue output cos-map queue 2 threshold 3 6 7                                                                                                         

mls qos srr-queue output cos-map queue 3 threshold 3 0                                                                                                            

mls qos srr-queue output cos-map queue 4 threshold 3 1                                                                                                            

mls qos srr-queue output dscp-map queue 1 threshold 3 40 46                                                                                                 

mls qos srr-queue output dscp-map queue 2 threshold 1 16 18 20 22 26 28 30 32                                                                                                             

mls qos srr-queue output dscp-map queue 2 threshold 1 34 36 38                                                                                                            

mls qos srr-queue output dscp-map queue 2 threshold 2 24                                                                                                       

mls qos srr-queue output dscp-map queue 2 threshold 3 48 56                                                                                                 

mls qos srr-queue output dscp-map queue 3 threshold 3 0                                                                                                         

mls qos srr-queue output dscp-map queue 4 threshold 1 8                                                                                                         

mls qos srr-queue output dscp-map queue 4 threshold 2 10 12 14                                                                                                            

mls qos queue-set output 1 threshold 1 100 100 100 100                                                                                                               

mls qos queue-set output 1 threshold 2 80 90 100 400                                                                                                    

mls qos queue-set output 1 threshold 3 100 100 100 400                                                                                                               

mls qos queue-set output 1 threshold 4 60 100 100 400                                                                                                 

mls qos queue-set output 1 buffers 15 30 35 20                                                                                                

mls qos                                                                                                

!

interface GigabitEthernet XXX

description Access Points

switchport access vlan XXX

switchport mode access

switchport voice vlan YYY

srr-queue bandwidth share 1 70 25 5

srr-queue bandwidth shape 3 0 0 0

priority-queue out

 mls qos trust cos

spanning-tree portfast

spanning-tree bpduguard enable

end

!

interface GigabitEthernet X/X/X                                                              

description To Core Switch                                                        

switchport trunk encapsulation dot1q                                                                                                  

switchport mode trunk                                                               

carrier-delay msec 0                                                     

srr-queue bandwidth share 1 70 25 5                                                    

srr-queue bandwidth shape 3 0 0 0                                                        

priority-queue out                                                        

 mls qos trust cos                                                            

channel-group XX mode active                                                               

!

interface Port-channel XX

description Uplink to Core

switchport trunk encapsulation dot1q

switchport mode trunk

dampening

end

 

i need to understand the above commands.

 

Regards

1 ACCEPTED SOLUTION

Accepted Solutions
Hall of Fame Super Silver

On the core switch , you are

On the core switch , you are trusting the dscp (Diffserv Code Point - a Layer 3 field used to indicate the classification of traffic for purposes of sorting it into classes and applying policies) marking that is on any packets coming from your closet and access switches.

On the access switches you are trusting any cos (Class of Service) marking applied by the connected core switch and access points.

In either case, trusting the marking means the end devices are responsible for setting the bits correctly to ensure their traffic is put into the right category.

1 REPLY
Hall of Fame Super Silver

On the core switch , you are

On the core switch , you are trusting the dscp (Diffserv Code Point - a Layer 3 field used to indicate the classification of traffic for purposes of sorting it into classes and applying policies) marking that is on any packets coming from your closet and access switches.

On the access switches you are trusting any cos (Class of Service) marking applied by the connected core switch and access points.

In either case, trusting the marking means the end devices are responsible for setting the bits correctly to ensure their traffic is put into the right category.

116
Views
0
Helpful
1
Replies