Call Us: (+62).817.410.4747
Log in Register

Login to your account

Username *
Password *
Remember Me

Create an account

Fields marked with an asterisk (*) are required.
Name *
Username *
Password *
Verify password *
Email *
Verify email *
Captcha *

Cara export list tertentu di mikrotik

Terkadang kita ingin export list tertentu di /ip firewall address-list. Secara default mikrotik tidak menyediakan fitur ini. Oleh karena itu dibutuhkan script tersendiri. Berikut scriptnya (tested di versi 6.17)

/system script
add name=scr-export-addr-list policy=\
    ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive,api source=":lo\
    cal nama \"ganti dengan list yang ingin diekspor\"\r\
    \n/ip firewall address-list ;export file=all-addr ;remove [find list!=\"\$nama\"]\
    \_;export file=\"\$nama-addr\" ;remove [find] ;/import all-addr.rsc ;/file remove\
    \_all-addr.rsc" 

Setelah itu cari nama file dengan nama [nama file]-addr.src

Read 8777 times Last modified on 21 Jan 2014, 1:53 PM
Tidar Tanjung

I'm a routing engineer. Trust me, I will show the best path for you.

Leave a comment

Make sure you enter all the required information, indicated by an asterisk (*). HTML code is not allowed.

Positive SSL