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

Mikrotik to Cisco Configuration

Qudama Khalil
Level 1
Level 1

Hello,

i have a mikrotik routeros config and i want to replace it with cisco 4948 please help in config.

 

thanks.

 

/interface ethernet
set [ find default-name=sfp-sfpplus1 ] auto-negotiation=no comment=WAN
set [ find default-name=sfp-sfpplus2 ] auto-negotiation=no comment=LAN


/interface vlan
add comment="Local Vlan" interface=sfp-sfpplus1 name=vlan740 vlan-id=74
add comment="BGP iQ" interface=sfp-sfpplus1 name=vlan1306 vlan-id=1306


/interface pptp-client
add connect-to=server2.com name=pptp-out1 password=server2
profile=default user=userserver2



/routing bgp instance
set default as=1234567

 

/interface l2tp-server server
set authentication=pap,chap ipsec-secret=vpn use-ipsec=yes


/interface pptp-server server
set authentication=pap,chap,mschap1,mschap2 default-profile=default


/ip address
add address=1.1.1.2/29 comment=iQ interface=vlan1306
add address=192.168.40.2/30 comment=BGP-CNC interface=vlan1306
add address=10.12.60.2/24 comment="PUBG NEWROZ" interface=ether3

 

/ip dns
set cache-size=4096KiB max-concurrent-queries=999999999 max-concurrent-tcp-sessions=999999999 servers=8.8.8.8


/ip firewall address-list
add address=8.0.0.0/9 disabled=yes list=Google
add address=49.51.0.0/19 disabled=yes list=PUBG

/ip firewall mangle
add action=mark-routing chain=prerouting comment=PUBG dst-address-list=PUBG new-routing-mark=PUBG passthrough=no

 

/ip firewall nat
add action=src-nat chain=srcnat comment=PUBG dst-address-list=PUBG to-addresses=10.12.60.2
add action=src-nat chain=srcnat comment=GGC src-address=10.66.12.0/24 to-addresses=10.12.60.2


/ip route
add comment=PUBG distance=1 gateway=10.12.60.1 routing-mark=PUBG
add comment="Default GT" distance=1 gateway=1.1.1.1


/ppp secret
add local-address=192.168.100.100 name=vpn@vpn password=vpnqqq remote-address=192.168.100.101
add local-address=192.168.50.100 name=vpniq@vpn password=vpnqqq remote-address=192.168.50.101 service=pptp


/routing bgp network
add network=185.2222.2222.0/24 synchronize=no

/routing bgp peer
add in-filter=iq-in name=Peer-iQ out-filter=prepend remote-address=1.1.1.1 remote-as=41000 ttl=default update-source=1.1.1.2
add name=Peer-CNC remote-address=192.168.40.1 remote-as=42000 ttl=default


/routing filter
add action=accept chain=prepend prefix=185.2222.2222.0/24 set-bgp-prepend=4
add action=discard chain=prepend


add action=accept chain=iq-in prefix=0.0.0.0/0
add action=discard chain=iq-in

/system clock
set time-zone-name=Asia/Baghdad


/system identity
set name="BGP"

0 Replies 0