cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4746
Views
0
Helpful
3
Replies

3850 QoS

bridges85
Level 1
Level 1

Hi All

 

I was wondering if someone could help me with QoS on a 3850. At present we have QoS set as below.

We are starting to use 3850- switches. I am struggling with converting this to work with a 3850.

Are any of you brilliant people able to help me?

 

Interface

switchport voice vlan xxx
queue-set 2
mls qos cos 5
mls qos trust cos
auto qos voip trust

 

Uplink Interface
srr-queue bandwidth share 10 10 60 20
srr-queue bandwidth shape 10 0 0 0
queue-set 2
priority-queue out
mls qos trust cos
auto qos voip trust


QOS Table

mls qos map cos-dscp 0 8 16 24 32 46 48 56
mls qos srr-queue input bandwidth 90 10
mls qos srr-queue input threshold 1 8 16
mls qos srr-queue input threshold 2 34 66
mls qos srr-queue input buffers 67 33
mls qos srr-queue input cos-map queue 1 threshold 2 1
mls qos srr-queue input cos-map queue 1 threshold 3 0
mls qos srr-queue input cos-map queue 2 threshold 1 2
mls qos srr-queue input cos-map queue 2 threshold 2 4 6 7
mls qos srr-queue input cos-map queue 2 threshold 3 3 5
mls qos srr-queue input dscp-map queue 1 threshold 2 9 10 11 12 13 14 15
mls qos srr-queue input dscp-map queue 1 threshold 3 0 1 2 3 4 5 6 7
mls qos srr-queue input dscp-map queue 1 threshold 3 32
mls qos srr-queue input dscp-map queue 2 threshold 1 16 17 18 19 20 21 22 23
mls qos srr-queue input dscp-map queue 2 threshold 2 33 34 35 36 37 38 39 48
mls qos srr-queue input dscp-map queue 2 threshold 2 49 50 51 52 53 54 55 56
mls qos srr-queue input dscp-map queue 2 threshold 2 57 58 59 60 61 62 63
mls qos srr-queue input dscp-map queue 2 threshold 3 24 25 26 27 28 29 30 31
mls qos srr-queue input dscp-map queue 2 threshold 3 40 41 42 43 44 45 46 47
mls qos srr-queue output cos-map queue 1 threshold 3 5
mls qos srr-queue output cos-map queue 2 threshold 3 3 6 7
mls qos srr-queue output cos-map queue 3 threshold 3 2 4
mls qos srr-queue output cos-map queue 4 threshold 2 1
mls qos srr-queue output cos-map queue 4 threshold 3 0
mls qos srr-queue output dscp-map queue 1 threshold 3 40 41 42 43 44 45 46 47
mls qos srr-queue output dscp-map queue 2 threshold 3 24 25 26 27 28 29 30 31
mls qos srr-queue output dscp-map queue 2 threshold 3 48 49 50 51 52 53 54 55
mls qos srr-queue output dscp-map queue 2 threshold 3 56 57 58 59 60 61 62 63
mls qos srr-queue output dscp-map queue 3 threshold 3 16 17 18 19 20 21 22 23
mls qos srr-queue output dscp-map queue 3 threshold 3 32 33 34 35 36 37 38 39
mls qos srr-queue output dscp-map queue 4 threshold 1 8
mls qos srr-queue output dscp-map queue 4 threshold 2 9 10 11 12 13 14 15
mls qos srr-queue output dscp-map queue 4 threshold 3 0 1 2 3 4 5 6 7
mls qos queue-set output 1 threshold 1 138 138 92 138
mls qos queue-set output 1 threshold 2 138 138 92 400
mls qos queue-set output 1 threshold 3 36 77 100 318
mls qos queue-set output 1 threshold 4 20 50 67 400
mls qos queue-set output 2 threshold 1 149 149 100 149
mls qos queue-set output 2 threshold 2 118 118 100 235
mls qos queue-set output 2 threshold 3 41 68 100 272
mls qos queue-set output 2 threshold 4 42 72 100 242
mls qos queue-set output 1 buffers 10 10 26 54
mls qos queue-set output 2 buffers 16 6 17 61
mls qos

 

Thanks very much

 

James 

3 Replies 3

Mark Malone
VIP Alumni
VIP Alumni
Theres a specific doc for conversion MLS to MQC Qos on ios-xe

looking at your config , setting ports to auto qos trust dscp should do and the uplink
If there Cisco phones you could use that too in teh access port , or stick with cos but that's legacy
depending on the trust you chose the 3850 will generate all the config have a look at the second doc for that , shows you exactly what each statement would create when entered in access port

3750 MLS to 3850 MQC Conversion of QoS Configuration

https://www.cisco.com/c/en/us/support/docs/switches/catalyst-3850-series-switches/118629-technote-qos-00.html


the types of class-maps

https://www.cisco.com/en/US/docs/switches/lan/catalyst3850/software/release/3.2_0_se/multibook/configuration_guide/b_consolidated_config_guide_3850_chapter_010001.html#reference_8A1C35AB2874498F90C4F5600301BE9D

Thanks for the swift reply mark.

 

We are using Unify phones unfortunately and not Cisco phones. I presume setting the interface and uplink to auto qos trust dscp would not do the trick if it is not Cisco?

 

And you say the 3850 would build the rest of the config? I did see something happening on the interfaces when i was messing around. What about the actual QoS table so to speak??

 

Thanks again.

 

James 

Hi

We are using Unify phones unfortunately and not Cisco phones. I presume setting the interface and uplink to auto qos trust dscp would not do the trick if it is not Cisco?

 

Once the phones are marking with EF DSCP at the source (most do but check it with wireshark) then trusting DSCP will work fine as phones starts it off and access/uplink honour it  , only if your using Cisco phones would you use the trust Cisco phone option

 

And you say the 3850 would build the rest of the config? I did see something happening on the interfaces when i was messing around. What about the actual QoS table so to speak??

 

That second link I provided shows exactly what table gets built depending on the actual commands you enter , so if you used trust dscp , this below would be added globally , its auto qos so whatever you pick a table will be built for it by the switch , can easily be changed removed , so you could test what works bets for you

 

Example: auto qos trust dscp

 

The following is an example of the auto qos trust dscp command and the applied policies and class maps.

The following policy maps are created and applied when running this command:

  • AutoQos-4.0-Trust-Dscp-Input-Policy
  • AutoQos-4.0-Output-Policy

The following class maps are created and applied when running this command:

  • class-default (match-any)
  • AutoQos-4.0-Output-Priority-Queue (match-any)
  • AutoQos-4.0-Output-Control-Mgmt-Queue (match-any)
  • AutoQos-4.0-Output-Multimedia-Conf-Queue (match-any)
  • AutoQos-4.0-Output-Trans-Data-Queue (match-any)
  • AutoQos-4.0-Output-Bulk-Data-Queue (match-any)
  • AutoQos-4.0-Output-Scavenger-Queue (match-any)
  • AutoQos-4.0-Output-Multimedia-Strm-Queue (match-any)
Switch(config)# interface GigabitEthernet1/0/18
Switch(config-if)# auto qos trust dscp
Switch(config-if)# end
Switch#show policy-map interface GigabitEthernet1/0/18

GigabitEthernet1/0/18

  Service-policy input: AutoQos-4.0-Trust-Dscp-Input-Policy

    Class-map: class-default (match-any)
      Match: any
      QoS Set
        dscp dscp table AutoQos-4.0-Trust-Dscp-Table

  Service-policy output: AutoQos-4.0-Output-Policy

    queue stats for all priority classes:
      Queueing
      priority level 1

      (total drops) 0
      (bytes output) 0

    Class-map: AutoQos-4.0-Output-Priority-Queue (match-any)
      Match:  dscp cs4 (32) cs5 (40) ef (46)
      Match: cos  5
      Priority: 30% (300000 kbps), burst bytes 7500000,

      Priority Level: 1

    Class-map: AutoQos-4.0-Output-Control-Mgmt-Queue (match-any)
      Match:  dscp cs3 (24) cs6 (48) cs7 (56)
      Match: cos  3
      Queueing
      queue-limit dscp 16 percent 80
      queue-limit dscp 24 percent 90
      queue-limit dscp 48 percent 100

      (total drops) 0
      (bytes output) 0
      bandwidth remaining 10%

      queue-buffers ratio 10

    Class-map: AutoQos-4.0-Output-Multimedia-Conf-Queue (match-any)
      Match:  dscp af41 (34) af42 (36) af43 (38)
      Match: cos  4
      Queueing

      (total drops) 0
      (bytes output) 0
      bandwidth remaining 10%
      queue-buffers ratio 10

    Class-map: AutoQos-4.0-Output-Trans-Data-Queue (match-any)
      Match:  dscp af21 (18) af22 (20) af23 (22)
      Match: cos  2
      Queueing

      (total drops) 0
      (bytes output) 0
      bandwidth remaining 10%
      queue-buffers ratio 10

    Class-map: AutoQos-4.0-Output-Bulk-Data-Queue (match-any)
      Match:  dscp af11 (10) af12 (12) af13 (14)
      Match: cos  1
      Queueing

      (total drops) 0
      (bytes output) 0
      bandwidth remaining 4%
      queue-buffers ratio 10

    Class-map: AutoQos-4.0-Output-Scavenger-Queue (match-any)
      Match:  dscp cs1 (8)
      Queueing

      (total drops) 0
      (bytes output) 0
      bandwidth remaining 1%
      queue-buffers ratio 10

    Class-map: AutoQos-4.0-Output-Multimedia-Strm-Queue (match-any)
      Match:  dscp af31 (26) af32 (28) af33 (30)
      Queueing

      (total drops) 0
      (bytes output) 0
      bandwidth remaining 10%
      queue-buffers ratio 10

    Class-map: class-default (match-any)
      Match: any
      Queueing

      (total drops) 0
      (bytes output) 0
      bandwidth remaining 25%
      queue-buffers ratio 25