I am planning to replace Cisco router to ICX switch with L3 license.
Currently I am using QoS on Cisco as below. I want to implement same QoS on ICX.
I tried to create config for ICX. Will this work and do similar behavior?
Please advice how I can implement QoS like Cisco on ICX switch.
Cisco
---
class-map match-any VOICE
match access-group name Phones
match access-group name P_Controller
!
class-map match-any DATA
match access-group name Data
match access-group name Critical_System
!
class-map match-any INTERNET
match access-group name Internet
!
policy-map Company_QOS
class VOICE
set dscp ef
priority percent 20
class DATA
bandwidth percent 30
set dscp af21
class INTERNET
bandwidth percent 10
set dscp af11
!
ip access-list extended Phones
permit ip any 192.168.101.0 0.0.0.255
permit ip 192.168.101.0 0.0.0.255 any
!
ip access-list extended P_Controller
deny ip any any fragments
permit udp any any range 5000 5100
permit tcp any any range 5000 5100
!
ip access-list extended Data
permit ip any 192.168.100.0 0.0.0.255
permit ip 192.168.100.0 0.0.0.255 any
!
ip access-list extended Critical_System
permit ip any 192.168.200.0 0.0.0.255
permit ip 192.168.200.0 0.0.0.255 any
!
ip access-list extended Internet
deny ip any 192.168.0.0 0.0.255.255
permit ip any any
interface GigabitEthernet0/0/0
description UPLINK
ip address 10.0.0.1 255.255.255.254
service-policy output Company_QOS
!
---
ICX 7450
---
ip access-list extended Company_QOS
remark !!!!_ip access-list extended Phones
sequence 10 permit ip any 192.168.101.0 0.0.0.255 dscp-marking 46
sequence 20 permit ip 192.168.101.0 0.0.0.255 any dscp-marking 46
remark !!!!_ip access-list extended P_Controller
sequence 30 permit udp any any range 5000 5100 dscp-marking 46
sequence 40 permit tcp any any range 5000 5100 dscp-marking 46
remark !!!!_ip access-list extended Data
sequence 50 permit ip any 192.168.100.0 0.0.0.255 dscp-marking 18
sequence 60 permit ip 192.168.100.0 0.0.0.255 any dscp-marking 18
remark !!!!_ip access-list extended Critical_System
sequence 70 permit ip any 192.168.200.0 0.0.0.255 dscp-marking 18
sequence 80 permit ip 192.168.200.0 0.0.0.255 any dscp-marking 18
remark !!!!_ip access-list extended Internet
sequence 90 permit ip ant any dscp-marking 10
!
qos scheduler-profile AAA mechanism mixed-sp-wrr
qos scheduler-profile AAA profile qosp0 10 qosp1 10 qosp2 30 qosp3 30 qosp4 20 qosp5 20 qosp6 sp qosp7 sp
!
interface ethernet 1/2/1
port-name UPLINK
ip address 10.0.0.1 255.255.255.254
route-only
ip access-group Company_QOS out
scheduler-profile AAA
!