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

QoS on 3850 switch not working

enrique1983
Level 1
Level 1

I been having issues with QoS, when I do show policy-map interface g1/1/1 I can see packets been matched but when I run wireshark all my traffic is going as default. I'm not sure if I'm doing something wrong?

here is my config:
----------------
Access-List
---------------
!
ip access-list extended RDP
 permit tcp any any eq 3389
 permit tcp any eq 3389 any
 permit udp any any eq 3389
 permit udp any eq 3389 any
ip access-list extended RTP
 permit udp any any range 1024 65535
 permit udp any range 1024 65535 any
ip access-list extended SIGNALING
 permit tcp any any range 5060 5068
 permit udp any any range 5060 5068
 permit tcp any range 5060 5068 any
 permit udp any range 5060 5068 any
!
----------------
Class-Maps
----------------
!
class-map match-any P1-INGRESS
  description EXPEDITED FORWARDING
 match access-group name SIGNALING
 match access-group name RTP
 match dscp ef
 match ip precedence 5
class-map match-any P2-INGRESS
  description NETWORK CONTROL
 match dscp cs4
 match dscp cs6
 match dscp cs7
class-map match-any P3-INGRESS
  description ASSURE FORWARDING
 match access-group name RDP
!
class-map match-any P1-EGRESS
  description EXPEDITED FORWARDING
 match dscp ef
 match ip precedence 5
class-map match-any P2-EGRESS
  description NETWORK CONTROL
 match dscp cs4
 match dscp cs6
 match dscp cs7
class-map match-any P3-EGRESS
  description ASSURE FORWARDING
 match dscp cs2
 match dscp cs3
---------------
Policy-Map
---------------
policy-map EGRESS
 description 40-10-25-25 CL-Template-6
 class P1-EGRESS
  set dscp ef
  priority level 1 percent 40
 class P2-EGRESS
  bandwidth percent 10
  queue-buffers ratio 10
 class P3-EGRESS
  bandwidth percent 25
  queue-buffers ratio 25
  set dscp cs3
 class class-default
  bandwidth percent 25
  queue-buffers ratio 25
  set dscp default
policy-map INGRESS
 class P1-INGRESS
  set dscp ef
 class P2-INGRESS
 class P3-INGRESS
  set dscp cs3
 class class-default
  set dscp default
policy-map SHAPE-to-20Mb
 class class-default
  shape average 20000000
   service-policy EGRESS
!
--------------------------
applied to interfaces
---------------------------
!
interface GigabitEthernet1/1/1
 description WAN-Link
 no switchport
 ip flow monitor NetFlow-Input input
 ip flow monitor NetFlow-Output output
 ip address X.X.X.X  X.X.X.X
 ip pim sparse-mode
 speed 100
 duplex full
 service-policy output SHAPE-to-20Mb
end
!
!
interface GigabitEthernet1/0/3
 description PHONE + PC
 switchport priority extend trust
 switchport mode access
 switchport access vlan 15
 switchport nonegotiate
 switchport voice vlan 5
 spanning-tree portfast
 service-policy input INGRESS
!

I'm using access-list to match the incoming traffic because I read that Access-list dont really work on output policies.

any help will be appreciated

Thanks.

0 Replies 0