convert QoS CISCO to Mikrotik

Hello,

Can someone help me translate a CISCO configuration to a Mikrotik ?
I use routeros-mipsbe-6.46.1.npk

  • ether1 is my WAN interface
  • bridge1 is my LAN interface (vlan1 = ether2,ether3,ether4,ether5)

class-map match-all VOICE
match dscp ef
class-map match-all INTERNET
match dscp cs1
class-map match-all VOICE-IN
match access-group name VOICE_PHONE
!
policy-map WAN-OUT
class VOICE
set cos 5
class INTERNET
set cos 1
class class-default
set cos 0
policy-map LAN-IN
class VOICE-IN
set dscp ef
class class-default
set dscp cs1
!
interface GigabitEthernet0
description *** WAN ***
ip address 10.0.2.1 255.255.255.252
no ip redirects
no ip unreachables
no ip proxy-arp
ip nat outside
ip virtual-reassembly in
service-policy output WAN-OUT
!
interface Vlan1
description *** LAN ***
ip address 192.168.1.1 255.255.255.0
no ip redirects
no ip unreachables
no ip proxy-arp
ip nat inside
ip virtual-reassembly in
service-policy input LAN-IN
!
ip access-list extended VOICE_PHONE
permit ip host 192.168.1.200 host X.X.X.X
permit ip host 192.168.1.201 host X.X.X.X
!

Thanks

No body ?

I am not really familiar with Cisco, so trying to translate its configuration might not be the best thing…
But, if you give us the Network Topology of your equipment and what does your Device should do we can as well help on that easily :smiley:

Such QoS mapping should not be required anymore. Any decent phone already sends its voice data with DSCP=EF without any special matching.

You can derive the priority of traffic from DSCP using:

/ip firewall mangle
add action=set-priority chain=postrouting new-priority=from-dscp-high-3-bits passthrough=yes

However, it will do nothing when you have no queueing configured… just like that Cisco config will not accomplish much.