Community discussions

MikroTik App
 
User avatar
larmaid
Member Candidate
Member Candidate
Topic Author
Posts: 177
Joined: Tue Aug 30, 2005 3:06 pm

how to upload rule,ip,arp,etc....???

Tue Jan 23, 2007 3:31 pm

is there any way to upload rule,ip,arp,etc from notepad to mikrotik....????
i like it
 
User avatar
tgrand
Long time Member
Long time Member
Posts: 671
Joined: Mon Aug 21, 2006 2:57 am
Location: Winnipeg, Manitoba, Canada

Tue Jan 23, 2007 5:42 pm

Yes

Open up a terminal window.
Copy Text from notepad, then paste into terminal window.
 
User avatar
JJCinAZ
Member
Member
Posts: 474
Joined: Fri Oct 22, 2004 8:03 am
Location: Tucson, AZ
Contact:

Wed Jan 24, 2007 5:47 pm

To explain a little further, you can from a terminal prompt (whether a terminal in Winbox, a telnet session or a SSH session) you can use the export command to get a textual configration command(s). You can modify that (or create your own) and then you can paste that into any terminal session. If you have any commands in the text, you should always have them from the root command tree, e.g.

/ip firewall filter add .....

instead of:

filter add ...
 
User avatar
mneumark
Member
Member
Posts: 375
Joined: Thu Jun 08, 2006 7:20 am
Location: Escalon, CA
Contact:

Thu Jan 25, 2007 10:25 am

If you have another router already configured just goto for example /ip address and type export. Then just copy and paste it into the new box.
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6283
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Thu Jan 25, 2007 10:35 am

i would recommend careful examination of export file and only after needed changes are made - to import it into new router
 
User avatar
larmaid
Member Candidate
Member Candidate
Topic Author
Posts: 177
Joined: Tue Aug 30, 2005 3:06 pm

Mon Jan 29, 2007 6:17 pm

thx for all the answers, but i just want to export /ip arp list.....how to export it from one mikrotik to other mikrotik....??? i've try the export thing, but when i open the file type is script....!!! :(
i like it
 
User avatar
larmaid
Member Candidate
Member Candidate
Topic Author
Posts: 177
Joined: Tue Aug 30, 2005 3:06 pm

Wed Jan 31, 2007 7:34 pm

help... :cry:
i like it
 
cmit
Forum Guru
Forum Guru
Posts: 1552
Joined: Fri May 28, 2004 12:49 pm
Location: Germany

Thu Feb 01, 2007 1:09 pm

Simple!

Do an "/ip arp export file=myarptable" on the first router. This will create a file "myarptable.rsc" on the router.

Copy that file (yes, it is a script!) to the second router (via, SCP, FTP, ...) and do a "/import myarptable.rsc" on the second router.

Voila - you have copied your arp list.
Please beware that the export command only exports static ARP entries, but I suppose that is what you are only interested in, right?

Best regards,
Christian Meis
 
User avatar
larmaid
Member Candidate
Member Candidate
Topic Author
Posts: 177
Joined: Tue Aug 30, 2005 3:06 pm

Thu Feb 01, 2007 7:17 pm

thx cmit but when i import it says :

" Script file loaded and executed successfully
input does not match any value of interface "

and when i open the /ip arp nothing added...... :(

note : my first router have a diffrent configuration & device with my second router........!!!
i like it
 
User avatar
larmaid
Member Candidate
Member Candidate
Topic Author
Posts: 177
Joined: Tue Aug 30, 2005 3:06 pm

Thu Feb 01, 2007 7:36 pm

wew problem solve....thx again cmit.....!!!
one more question cmit, can mikrotik print the ip arp/address list into the printer..???
i like it
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6283
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Thu Feb 01, 2007 8:13 pm

you can export it then simply by ftp download it and then print it from your PC
 
User avatar
larmaid
Member Candidate
Member Candidate
Topic Author
Posts: 177
Joined: Tue Aug 30, 2005 3:06 pm

Fri Feb 02, 2007 12:34 am

with what kind of program can i open it....?????
i like it
 
cmit
Forum Guru
Forum Guru
Posts: 1552
Joined: Fri May 28, 2004 12:49 pm
Location: Germany

Fri Feb 02, 2007 10:05 am

The MikroTik scripts (.rsc files) are just simple text files.
So you can use Notepad, Word, EditPad, UltraEdit, Internet Explorer - just about everything ;)

Best regards,
Christian Meis
 
User avatar
larmaid
Member Candidate
Member Candidate
Topic Author
Posts: 177
Joined: Tue Aug 30, 2005 3:06 pm

Sat Feb 03, 2007 7:38 pm

wew thats simple..... :shock:
thx a lot again cmit.... :D
i like it
 
User avatar
larmaid
Member Candidate
Member Candidate
Topic Author
Posts: 177
Joined: Tue Aug 30, 2005 3:06 pm

Sat Feb 03, 2007 7:42 pm

one more question cmit.... :)

i've read about ppp manual,but i dont find about "call back server"....where or how can i create the call back server...???
i like it

Who is online

Users browsing this forum: Google [Bot], Lifz, saltynomad and 59 guests