Community discussions

MikroTik App
 
Ick
newbie
Topic Author
Posts: 26
Joined: Sat Mar 11, 2006 5:31 pm

Correct command line Context

Sat Oct 30, 2010 8:11 pm

I am having trouble typing in the following text at the command line that I copied off of the wiki:

[admin@MikroTik] ip firewall mangle> add src-address=10.0.0.0/24 mark-flow=p2p-out \
\... p2p=all-p2p action=passthrough
[admin@MikroTik] ip firewall mangle> add dst-address=10.0.0.0/24 mark-flow=p2p-in \
\... p2p=all-p2p action=passthrough
[admin@MikroTik] ip firewall mangle>

I can change into ip/firewall/mangle no problem.

When I type in the command I get a red block on the letter m on mark. What is the exact text I would type in at the command line? the \ and ... confuse me. (Yes I'm new at this) Also is there any guide or tips when it comes to typing at the command line?
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7199
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: Correct command line Context

Mon Nov 01, 2010 12:14 pm

There is no such parameter as "mark-flow"
List of available parameters can be found in manual
http://wiki.mikrotik.com/wiki/Manual:IP/Firewall/Mangle
 
Ick
newbie
Topic Author
Posts: 26
Joined: Sat Mar 11, 2006 5:31 pm

Re: Correct command line Context

Tue Nov 02, 2010 2:03 am

 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: Correct command line Context

Tue Nov 02, 2010 5:24 am

Look at the version number in that URL. Are you running that version?
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26981
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: Correct command line Context

Tue Nov 02, 2010 8:33 am

The manual is for RouterOS v2.8 that was released at least 5 years ago. You are probably using v4.12

Manual is here:

http://wiki.mikrotik.com/wiki/Main_Page
 
Ick
newbie
Topic Author
Posts: 26
Joined: Sat Mar 11, 2006 5:31 pm

Re: Correct command line Context

Thu Nov 04, 2010 10:41 pm

Ah, like I say, still learning. But I did get it figured out and working with your help, Thanks,

Eric
 
Feklar
Forum Guru
Forum Guru
Posts: 1724
Joined: Tue Dec 01, 2009 11:46 pm

Re: Correct command line Context

Thu Nov 04, 2010 11:13 pm

You can also hit tab twice to see all available options in your current menu. Also you can enter in a '?' to see available commands and a brief explanation.