Basic Configuration Tasks - MikroTik RouterOS v2.9 Reference Manual

Reference manual
Table of Contents

Advertisement

command [?]
command argument [?]
/command
"word1 word2"
You can abbreviate names of levels, commands and arguments.
For the IP address configuration, instead of using the address and netmask arguments, in most
cases you can specify the address together with the number of true bits in the network mask, i.e.,
there is no need to specify the netmask separately. Thus, the following two entries would be
equivalent:
/ip address add address 10.0.0.1/24 interface ether1
/ip address add address 10.0.0.1 netmask 255.255.255.0 interface ether1
Notes
You must specify the size of the network mask in the address argument, even if it is the 32-bit
subnet, i.e., use 10.0.0.1/32 for

Basic Configuration Tasks

Description
Interface Management
Before configuring the IP addresses and routes please check the /interface menu to see the list of
available interfaces. If you have Plug-and-Play cards installed in the router, it is most likely that the
device drivers have been loaded for them automatically, and the relevant interfaces appear on the
/interface print list, for example:
[admin@MikroTik] interface> print
Flags: X - disabled, D - dynamic, R - running
#
NAME
0
R ether1
1
R ether2
2 X
wavelan1
3 X
prism1
[admin@MikroTik] interface>
The interfaces need to be enabled, if you want to use them for communications. Use the /interface
Copyright 1999-2007, MikroTik. All rights reserved. Mikrotik, RouterOS and RouterBOARD are trademarks of Mikrotikls SIA.
Other trademarks and registred trademarks mentioned herein are properties of their respective owners.
[Tab]
/
..
""
address=10.0.0.1 netmask=255.255.255.255
TYPE
ether
ether
wavelan
wlan
Displays help on the command and the list of
arguments
Displays help on the command's argument
Completes the command/word. If the input is
ambiguous, a second [Tab] gives possible
Moves up to the base level
Executes the base level command
Moves up one level
Specifies an empty string
Specifies a string of 2 words that contain a
RX-RATE
0
0
0
0
options
space
TX-RATE
MTU
0
1500
0
1500
0
1500
0
1500
Page 33 of 695

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents