no ip dhcp conflict logging
ip dhcp excluded-address 192.168.0.250 192.168.0.254
ip dhcp excluded-address 192.168.0.170 192.168.0.180
ip dhcp excluded-address 192.168.0.155
ip dhcp excluded-address 192.168.0.1 192.168.0.20
ip dhcp excluded-address 192.168.10.1 192.168.10.20
ip dhcp excluded-address 192.168.10.240 192.168.10.254
!
ip dhcp pool KWU
network 192.168.0.0 255.255.252.0
default-router 192.168.0.1
dns-server 41.203.208.18 41.203.208.19 4.2.2.2 8.8.8.8
!
!
!
no ip domain lookup
ip name-server 41.203.208.18
ip name-server 41.203.208.19
ip name-server 8.8.8.8
ip name-server 4.2.2.2
ip cef
no ipv6 cef
!
!
interface FastEthernet0
no ip address
!
interface FastEthernet1
no ip address
!
interface FastEthernet2
no ip address
!
interface FastEthernet3
no ip address
!
interface FastEthernet4
description Safaricom WAN
ip address 197.249.218.183 255.255.255.252
ip nat outside
ip virtual-reassembly in
duplex auto
speed auto
!
interface Vlan1
description LAN
ip address 197.249.46.154 255.255.255.248 secondary
ip address 192.168.0.1 255.255.252.0
ip nat inside
ip virtual-reassembly in
!
interface Vlan2
description LAN Interface
no ip address
shutdown
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
ip nat inside source list 102 interface FastEthernet4 overload
ip nat inside source static tcp 192.168.0.252 80 197.248.217.182 80 extendable
ip nat inside source static tcp 192.168.0.252 2048 197.249.218.183 2048 extendable
ip route 0.0.0.0 0.0.0.0 197.249.218.181
!
!
route-map RANGE permit 10
match ip address log 103
!
access-list 102 permit ip 192.168.0.0 0.0.3.255 any
access-list 103 permit tcp any any range 2048 2148
!
control-plane
!
!
!
mgcp behavior rsip-range tgcp-only
mgcp behavior comedia-role none
mgcp behavior comedia-check-media-src disable
mgcp behavior comedia-sdp-force disable
!
mgcp profile default
!
!
!
!
!
line con 0
no modem enable
line aux 0
line vty 0 4
login local
transport input all
transport output all
!
scheduler allocate 20000 1000
!
end
KWU#
If you draw a diagram of your network, indicate which router interfaces are responsible for what, what subnets, vlans you have, etc. In this case, we can help you here. To study Cisco configuration - is not in this forum.
First complete the cisco exorcism. When all such demons have left, then we can be of assistance.
See apps for network diagram - https://forum.mikrotik.com/viewtopic.php?p=908118
and state your requirements clearly please in terms of needed user traffic.
@monari If you are asking if there is any automatic translation service to “import” Cisco configs into MikroTik the answer is no. And I am not aware of any third party tools to do it either.
Automatic translation of any language to another is always problematic. There is always the possibility that the target doesn’t have any good way to express (or do in the case of a router) what the original did.
I disagree with @anav about the usefulness of posting a config from a different vendor, as there may be someone that is “bilingual” and understands the syntax of both vendors, and a config is the most compact and accurate way to represent how something works (or would also include information about why it does not work).
However, you have stated absolutely nothing about your requirements. And in general when migrating from one vendor to another, it is usually best to create a new fresh config from the requirements, instead of blindly translating an old config (which probably has dead wood in it).
Where did the Cisco config come from? Did you create it? Does it work the way you intend it to work? If so, what is the reason for the migration?
As posted, you question seems more like an exam question. Or possibly a question from someone that has no idea what the requirement are, and just wants to replace a piece of equipment that is near end of lease.
If this falls into the second category, you should probably hire someone. But if the current router is doing what you want, one option is to buy out lease.
How did you determine that the RB4011 was a good replacement for the unspecified Cisco device?