Script:
#R1
/ip firewall export file=ip-firewall
:log info "Firewall Export success"
---------------------------------
#R2
/tool fetch mode=ftp address=192.168.120.135 src-path=ip-firewall.rsc user=admin password=123
delay 5s
:log info "Downloaded"
/ip firewall filter remove [/ip firewall filter find]
/ip firewall nat remove [/ip firewall nat find]
/ip firewall mangle remove [/ip firewall mangle find]
/ip firewall address-list remove [/ip firewall address-list find]
/ip firewall layer7-protocol remove [/ip firewall layer7-protocol find]
/import ip-firewall.rsc
:log info "Firewall Import success"
EmoticonEmoticon