Command Line Interface - RouterOS (2023)

The console is used for accessing the MikroTik Router's configuration and management features using text terminals, either remotely using a serial port, telnet, SSH, console screen within WinBox, or directly using monitor and keyboard. The console is also used for writing scripts. This manual describes the general console operation principles. Please consult the Scripting Manual on some advanced console commands and on how to write scripts.

Console login options enable or disable various console features like color, terminal detection, and many other.

Additional login parameters can be appended to the login name after the '+' sign.

 login_name ::= user_name [ '+' parameters ] parameters ::= parameter [ parameters ] parameter ::= [ number ] 'a'..'z' number ::= '0'..'9' [ number ] 

If the parameter is not present, then the default value is used. If the number is not present then the implicit value of the parameter is used.

Example: admin+c80w - will disable console colors and set terminal width to 80.

ParamDefaultImplicitDescription
"w"autoautoSet terminal width
"h"autoautoSet terminal height
"c"onoffdisable/enable console colors
"t"onoffDo auto-detection of terminal capabilities
"e"onoffEnables "dumb" terminal mode

The login process will display the MikroTik banner and short help after validating the user name and password.

 MMM MMM KKK TTTTTTTTTTT KKK MMMM MMMM KKK TTTTTTTTTTT KKK MMM MMMM MMM III KKK KKK RRRRRR OOOOOO TTT III KKK KKK MMM MM MMM III KKKKK RRR RRR OOO OOO TTT III KKKKK MMM MMM III KKK KKK RRRRRR OOO OOO TTT III KKK KKK MMM MMM III KKK KKK RRR RRR OOOOOO TTT III KKK KKK MikroTik RouterOS 6.22 (c) 1999-2014 https://www.mikrotik.com/[?] Gives the list of available commandscommand [?] Gives help on the command and list of arguments[Tab] Completes the command/word. If the input is ambiguous, a second [Tab] gives possible options/ Move up to base level.. Move up one level/command Use command at the base level

After the banner can be printed other important information, like system note set by another admin, the last few critical log messages, demo version upgrade reminder, and default configuration description.

For example, the demo license prompt and last critical messages are printed

UPGRADE NOW FOR FULL SUPPORT----------------------------FULL SUPPORT benefits:- receive technical support- one year feature support- one year online upgrades (avoid re-installation and re-configuring your router)To upgrade, register your license "software ID"on our account server www.mikrotik.comCurrent installation "software ID": ABCD-456Please press "Enter" to continue!dec/10/2007 10:40:06 system,error,critical login failure for user root from 10.0.0.1 via telnetdec/10/2007 10:40:07 system,error,critical login failure for user root from 10.0.0.1 via telnetdec/10/2007 10:40:09 system,error,critical login failure for user test from 10.0.0.1 via telnet

At the end of the successful login sequence, the login process prints a banner that shows the command prompt, and hands over control to the user.

(Video) RouterOS CLI features everyone should know

Default command prompt consists of user name, system identity, and current command path />

For example, change the current path from the root to the interface then go back to the root

 [admin@MikroTik] > interface [enter] [admin@MikroTik] /interface> / [enter] [admin@MikroTik] >

Use up arrow to recall previous commands from command history (commands that added sensitive data, like passwords, will not be available in the history), TAB key to automatically complete words in the command you are typing, ENTER key to execute the command, Control-C to interrupt currently running command and return to prompt and ? to display built-in help, in RouterOS v7, F1 has to be used instead.

The easiest way to log out of the console is to press Control-D at the command prompt while the command line is empty (You can cancel the current command and get an empty line with Control-C, so Control-C followed by Control-D will log you out in most cases).

It is possible to write commands that consist of multiple lines. When the entered line is not a complete command and more input is expected, the console shows a continuation prompt that lists all open parentheses, braces, brackets, and quotes, and also trailing backslash if the previous line ended with backslash-white-space.

 [admin@MikroTik] > { {... :put (\ {(\... 1+2)} 3

When you are editing such multiple line entries, the prompt shows the number of current lines and total line count instead of the usual username and system name.

line 2 of 3> :put (\

Sometimes commands ask for additional input from the user. For example, the command '/password' asks for old and new passwords. In such cases, the prompt shows the name of the requested value, followed by colon and space.

 [admin@MikroTik] > /password old password: ****** new password: ********** retype new password: **********

The console allows the configuration of the router's settings using text commands. Since there is a lot of available commands, they are split into groups organized in a way of hierarchical menu levels. The name of a menu level reflects the configuration information accessible in the relevant section.

(Video) Mikrotik Basic Command Line Step by Step_Part-01

For example, you can issue the /ip route print command:

[admin@MikroTik] > /ip route print Flags: D - dynamic; X - disabled, I - inactive, A - active; C - connect, S - static, r - rip, b - bgp, o - ospf, d - dhcp, v - vpn # DST-ADDRESS GATEWAY DISTANCE 0 XS 4.4.4.4 10.155.101.1 D o 0.0.0.0/0 10.155.101.1 110 1 AS 0.0.0.0/0 10.155.101.1 1 D b 1.0.4.0/24 10.155.101.1 20 D b 1.0.4.0/24 10.155.101.1 20 DAb 1.0.4.0/24 10.155.101.1 20[admin@MikroTik] >

Instead of typing `/ip route` path before each command, the path can be typed only once to move into this particular branch of the menu hierarchy. Thus, the example above could also be executed like this:

[admin@MikroTik] > /ip route[admin@MikroTik] /ip/route> print Flags: D - dynamic; X - disabled, I - inactive, A - active; C - connect, S - static, r - rip, b - bgp, o - ospf, d - dhcp, v - vpn # DST-ADDRESS GATEWAY DISTANCE 0 XS 4.4.4.4 10.155.101.1 D o 0.0.0.0/0 10.155.101.1 110 1 AS 0.0.0.0/0 10.155.101.1 1 D b 1.0.4.0/24 10.155.101.1 20 D b 1.0.4.0/24 10.155.101.1 20 DAb 1.0.4.0/24 10.155.101.1 20[admin@MikroTik] >

Each word in the path can be separated by space (as in the example above) or by "/"

[admin@MikroTik] > /ip/route/[admin@MikroTik] /ip/route> print Flags: D - dynamic; X - disabled, I - inactive, A - active; C - connect, S - static, r - rip, b - bgp, o - ospf, d - dhcp, v - vpn # DST-ADDRESS GATEWAY DISTANCE 0 XS 4.4.4.4 10.155.101.1 D o 0.0.0.0/0 10.155.101.1 110 1 AS 0.0.0.0/0 10.155.101.1 1 D b 1.0.4.0/24 10.155.101.1 20 D b 1.0.4.0/24 10.155.101.1 20 DAb 1.0.4.0/24 10.155.101.1 20[admin@MikroTik] >

Notice that the prompt changes in order to reflect where you are located in the menu hierarchy at the moment. To move to the top level again, type " / "

[admin@MikroTik] > ip route[admin@MikroTik] /ip/route> /[admin@MikroTik] >

To move up one command level, type " .. "

[admin@MikroTik] /ip/route> ..[admin@MikroTik] /ip>
(Video) MikroTik CLI: A Basic Introduction to It for New Users

You can also use / and .. to execute commands from other menu levels without changing the current level:

[admin@MikroTik] /ip/route> /ping 10.0.0.110.0.0.1 ping timeout2 packets transmitted, 0 packets received, 100% packet loss[admin@MikroTik] /ip/firewall/nat> .. service-port printFlags: X - disabled, I - invalid# NAME PORTS0 ftp 211 tftp 692 irc 66673 h3234 sip5 pptp[admin@MikroTik] /ip/firewall/nat>

Many of the command levels operate with arrays of items: interfaces, routes, users, etc. Such arrays are displayed in similarly-looking lists. All items in the list have an item number followed by flags and parameter values.

To change the properties of an item, you have to use the set command and specify the name or number of the item.

Item Names

Some lists have items with specific names assigned to each of them. Examples are interface or user levels. There you can use item names instead of item numbers.

You do not have to use the print command before accessing items by their names, which, as opposed to numbers, are not assigned by the console internally, but are properties of the items. Thus, they would not change on their own. However, there are all kinds of obscure situations possible when several users are changing the router's configuration at the same time. Generally, item names are more "stable" than the numbers, and also more informative, so you should prefer them to numbers when writing console scripts.

Item Numbers

Item numbers are assigned by the print command and are not constant - it is possible that two successive print commands will order items differently. But the results of the last print commands are memorized and, thus, once assigned, item numbers can be used even after add, remove and move operations (since version 3, move operation does not renumber items). Item numbers are assigned on a per session basis, they will remain the same until you quit the console or until the next print command is executed. Also, numbers are assigned separately for every item list, so ip address print will not change the numbering of the interface list.

You can specify multiple items as targets to some commands. Almost everywhere, where you can write the number of items, you can also write a list of numbers.

[admin@MikroTik] > interface printFlags: X - disabled, D - dynamic, R - running # NAME TYPE MTU 0 R ether1 ether 1500 1 R ether2 ether 1500 2 R ether3 ether 1500 3 R ether4 ether 1500[admin@MikroTik] > interface set 0,1,2 mtu=1460[admin@MikroTik] > interface printFlags: X - disabled, D - dynamic, R - running # NAME TYPE MTU 0 R ether1 ether 1460 1 R ether2 ether 1460 2 R ether3 ether 1460 3 R ether4 ether 1500[admin@MikroTik] >

There are some commands that are common to nearly all menu levels, namely: print, set, remove, add, find, get, export, enable, disable, comment, move. These commands have similar behavior throughout different menu levels.

PropertyDescription
addThis command usually has all the same arguments as a set, except the item number argument. It adds a new item with the values you have specified, usually at the end of the item list, in places where the order of items is relevant. There are some required properties that you have to supply, such as the interface for a new address, while other properties are set to defaults unless you explicitly specify them.

Common Parameters

  • copy-from - Copies an existing item. It takes default values of a new item's properties from another item. If you do not want to make an exact copy, you can specify new values for some properties. When copying items that have names, you will usually have to give a new name to a copy
  • place-before - places a new item before an existing item with a specified position. Thus, you do not need to use the move command after adding an item to the list
  • disabled - controls disabled/enabled state of the newly added item(-s)
  • comment - holds the description of a newly created item

Return Values

  • add command returns the internal number of items it has added
editThis command is associated with the set command. It can be used to edit values of properties that contain a large amount of text, such as scripts, but it works with all editable properties. Depending on the capabilities of the terminal, either a full-screen editor or a single line editor is launched to edit the value of the specified property.
findThe find command has the same arguments as a set, plus the flag arguments like disabled or active that take values yes or no depending on the value of the respective flag. To see all flags and their names, look at the top of the print command's output. The find command returns internal numbers of all items that have the same values of arguments as specified.
moveChanges the order of items in the list. Parameters:
  • the first argument specifies the item(-s) being moved.
  • the second argument specifies the item before which to place all items being moved (they are placed at the end of the list if the second argument is omitted).
printShows all information that's accessible from a particular command level. Thus, /system clock print shows the system date and time, /ip route print shows all routes etc. If there\'s a list of items in the current level and they are not read-only, i.e. you can change/remove them (example of read-only item list is /system history, which shows a history of executed actions), then print command also assigns numbers that are used by all commands that operate with items in this list.

Common Parameters:

  • append -
  • brief - forces the print command to use tabular output form
  • count-only - shows the number of items
  • detail - forces the print command to use property=value output form
  • file - prints the contents of the specific sub-menu into a file on the router.
  • follow -
  • follow-only -
  • follow-strict -
  • from - show only specified items, in the same order in which they are given.
  • interval - updates the output from the print command for every interval of seconds.
  • oid - prints the OID value for properties that are accessible from SNMP
  • proplist -
  • show-ids -
  • where - show only items that match specified criteria. The syntax of where the property is similar to the find command.
  • without-paging - prints the output without stopping after each screenful.
removeRemoves specified item(-s) from a list.
setAllows you to change values of general parameters or item parameters. The set command has arguments with names corresponding to values you can change. Use ? or double Tab to see a list of all arguments. If there is a list of items in this command level, then the set has one action argument that accepts the number of items (or list of numbers) you wish to set up. This command does not return anything.
(Video) #Mikrotik basic configs with CLI(SSH/TERMINAL)

It is possible to switch between several input modes:

  • Normal mode - indicated by normal command prompt.
  • Safe mode - safe mode is indicated by the word SAFE after the command prompt. In this mode, the configuration is saved to disk only after the safe mode is turned off. Safe mode can be turned on/off with Ctrl+X or F4. Read more >>
  • Hot-lock mode - indicated by additional yellow >. Hot-lock mode autocompletes commands and can be turned on/off with F7

There are two features in the console that help entering commands much quicker and easier - the [Tab] key completions, and abbreviations of command names. Completions work similarly to the bash shell in UNIX. If you press the [Tab] key after a part of a word, the console tries to find the command within the current context that begins with this word. If there is only one match, it is automatically appended, followed by a space:

/inte[Tab]_ becomes /interface _

If there is more than one match, but they all have a common beginning, which is longer than that what you have typed, then the word is completed to this common part, and no space is appended:

/interface set e[Tab]_ becomes /interface set ether_

If you've typed just the common part, pressing the tab key once has no effect. However, pressing it for the second time shows all possible completions in compact form:

[admin@MikroTik] > interface set e[Tab]_[admin@MikroTik] > interface set ether[Tab]_[admin@MikroTik] > interface set ether[Tab]_ether1 ether5[admin@MikroTik] > interface set ether_

The [Tab] key can be used almost in any context where the console might have a clue about possible values - command names, argument names, arguments that have only several possible values (like names of items in some lists or name of the protocol in firewall and NAT rules). You cannot complete numbers, IP addresses, and similar values.

Another way to press fewer keys while typing is to abbreviate command and argument names. You can type only the beginning of the command name, and, if it is not ambiguous, the console will accept it as a full name. So typing:

[admin@MikroTik] > pi 10.1 c 3 si 100

equals to:

[admin@MikroTik] > ping 10.0.0.1 count 3 size 100

It is possible to complete not only the beginning, but also any distinctive sub-string of a name: if there is no exact match, the console starts looking for words that have string being completed as first letters of a multiple word name, or that simply contain letters of this string in the same order. If a single such word is found, it is completed at the cursor position. For example:

[admin@MikroTik] > interface x[TAB]_[admin@MikroTik] > interface export _[admin@MikroTik] > interface mt[TAB]_[admin@MikroTik] > interface monitor-traffic _

Console search allows performing keyword search through the list of RouterOS menus and the history. The search prompt is accessible with the[Ctrl+r] shortcut.

RouterOS console has a built-in internal chat system. This allows remotely located admins to talk to each other directly in RouterOS CLI. To start the conversation prefix the intended message with the # symbol, anyone who is logged in at the time of sending the message will see it.

[admin@MikroTik] > # ready to break internet?[admin@MikroTik] > fake_admin: i was born ready[admin@MikroTik] > 
(Video) First Mikrotik Setup for access internet Via CLI(Command Line Interface)
[fake_admin@MikroTik] > admin: ready to break internet?[fake_admin@MikroTik] > # i was born ready[fake_admin@MikroTik] > 
KeyDescription
Control-Ckeyboard interrupt
Control-Dlog out (if an input line is empty)
Control-Kclear from the cursor to the end of the line
Control-Uclear from the cursor to the beginning of the line
Control-X or F4toggle safe mode
F7toggle hot lock mode mode
Control-R or F3toggle console search
F6toggle cellar
F1show context-sensitive help.
Tabperform line completion. When pressed a second time, show possible completions.
#Send a message to an internal chat system
Deleteremove character at the cursor
Control-H or Backspaceremoves character before cursor and moves the cursor back one position.
Control-\split line at cursor. Insert newline at the cursor position. Display second of the two resulting lines.
Control-B or Leftmove cursor backward one character
Control-F or Rightmove cursor forward one character
Control-P or Upgo to the previous line. If this is the first line of input then recall previous input from history.
Control-N or Downgo to the next line. If this is the last line of input then recall the next input from the history
Control-A or Homemove the cursor to the beginning of the line. If the cursor is already at the beginning of the line, then go to the beginning of the first line of the current input
Control-E or Endmove the cursor to the end of the line. If the cursor is already at the end of the line, then move it to the end of the last line of the current input
Control-L or F5reset terminal and repaint screen

FAQs

What are the basic commands in RouterOS? ›

General Commands. There are some commands that are common to nearly all menu levels, namely: print, set, remove, add, find, get, export, enable, disable, comment, move.

How do I clear the terminal in RouterOS? ›

How to clear the screen? We can clear current screen (in the terminal mode) in the same way as we can perform it in most Linux systems. Press simultaneously keys [ CTRL ] + [ L ] and you will erase the contents of your screen. We have a clear screen and we can continue with our work.

What is the default password for MikroTik? ›

The default username is admin with no password (or, for some models with password, check it on the sticker). After you log in for the first time, please create a new user with a password in the "full" group, re-login and delete the default admin user.

What is the default password for Webfig RouterOS? ›

As we already know from the First Time Configuration section, the device by default has username admin and no password configured.

How to list all Linux commands? ›

Syntax
  1. -c − used to list all the commands you could run.
  2. -a − used to list all the aliases you could run.
  3. -k − used to list all the keywords you could run.
  4. -b − used to list all the built-ins you could run.
  5. -A function − used to list all the functions you could run.
Jul 30, 2021

How do I run basic commands in Linux? ›

Linux terminal is a user-friendly terminal as it provides various support options. To open the Linux terminal, press "CTRL + ALT + T" keys together, and execute a command by pressing the 'ENTER' key.

How do I clear my terminal full? ›

Clear Terminal via Ctrl+L / Ctrl+Shift+K Shortcut

Keyboard shortcuts also work for clearing the terminal, depending on the terminal emulator. An alternative in some terminal emulators is Ctrl + Shift + K . The command provides the same output as Ctrl + L .

How to clear data command line? ›

Clear Command Prompt with CLS Command

Enter multiple standard commands into the blank cmd screen. Next type CLS and press Enter button. This will clear all the previously entered commands from the CMD screen in Windows.

How to reset MikroTik command line? ›

If you still have access to your router and want to recover its default configuration, then you can: ) run the command "/system reset-configuration" from command line interface.

What is the default admin IP for MikroTik? ›

All MikroTik routers are preconfigured with the following IP address, as well as default username and password: IP address: 192.168. 88.1/24 (ether1 port) Username: admin.

How do I access MikroTik RouterOS? ›

To connect to the router enter the IP or MAC address of the router, specify username and password (if any) and click on the Connect button. You can also enter the port number after the IP address, separating them with a colon, like this 192.168. 88.1:9999. The port can be changed in the RouterOS services menu.

How do I access the web interface of MikroTik? ›

When home page is successfully loaded, choose webfig from the list of available icons as illustrated in screenshot. After clicking on webfig icon, login prompt will ask you to enter username and password. Enter login information and click connect. Now you should be able to see webfig in action.

How do you list all available CLI commands? ›

List of CLI commands
  1. ls - List directory contents. ls -a - List all the content, including hidden files. ls -l - List the content and its information.
  2. cd foldername – Change the working directory to foldername. cd - Return to $HOME directory. ...
  3. cat file – Print contents of file on the screen. less file - View and paginate file.

What is the command to find all text files in Linux? ›

The most common way to find text in a Linux system is using the command-line utility grep . This utility was originally developed for the Unix operating system in the early 1970s.

How do I see all command history in Linux? ›

Type “history” (without options) to see the the entire history list. You can also type ! n to execute command number n. Use !! to execute the last command you typed.

What is the first command to run on Linux? ›

ls is probably the first command every Linux user typed in their terminal. It allows you to list the contents of the directory you want (the current directory by default), including files and other nested directories.

How can I practice Linux commands? ›

Best Online Linux Terminals to Practice Linux Commands
  1. Try JSLinux Terminal. Copy.sh. ...
  2. Try Copy.sh Terminal. Webminal. ...
  3. Try Webminal Terminal. JS/UIX. ...
  4. Try JS/UIX Terminal. Linux Containers. ...
  5. Try Linux LXD. OnWorks. ...
  6. LeetCode Playground. Tutorialspoint Bash Compiler. ...
  7. Try Tutorialspoint Bash Compiler. ...
  8. Try JDOODLE Bash Script Online Tester.
May 25, 2023

How do I access commands in Linux? ›

If you can't find a launcher, or if you just want a faster way to bring up the terminal, most Linux systems use the same default keyboard shortcut to start it: Ctrl-Alt-T.

How do you reset the terminal in Linux? ›

GUI Solution to reset the Linux terminal

Ctrl+C in default Ubuntu will clear out the terminal of any text it might have. Similarly, the “reset and clear” option under the “edit” flag on the GUI of the Gnome-terminal will clear out and reset the terminal efficiently.

How do I reset terminal settings? ›

How to Reset Windows Terminal Settings by Clearing JSON Files
  1. Right click on Start and select Terminal from the menu list.
  2. Next, click the down-arrow icon and select Settings.
  3. From the left pane of the Settings page, click Open JSON file.
  4. If you're asked which app to use to open the file, then double-click on Notepad.
Dec 17, 2022

How to clear command history in Linux? ›

Removing history

If you want to delete a particular command, enter history -d <line number> . To clear the entire contents of the history file, execute history -c . The history file is stored in a file that you can modify, as well.

How to clear cache in command? ›

In most computer-based web browsers, to open menus used to clear your cache, cookies, and history, you can press Ctrl-Shift-Delete (Windows) or Command-Shift-Delete (Mac).

How to clear terminal cache in CMD? ›

Open Command Prompt. Type the "ipconfig/flushdns" command in command prompt and press enter the enter key. Note: The user can also check the DNS Cache by typing the following command in Command Prompt (CMD)," ipconfig/displaydns".

What does clear command do in terminal? ›

The clear command clears your screen, if possible. The clear command first checks the TERM environment variable for the terminal type. Next, the /usr/share/lib/terminfo directory, which contains terminal definition files, is checked to determine how to clear the screen.

How do I restart RouterOS? ›

Reboot loop
  1. Press and hold the reset button;
  2. Plug the device into the power source;
  3. You need to hold reset button just for 1-2 seconds and the backup bootloader will be loaded;
  4. When the device has loaded open the CLI and execute the command to upgrade your bootloader "/system routerboard upgrade"

How to reboot mikrotik router with command? ›

How to Remotely Reboot a Mikrotik via the Dashboard
  1. In the dashboard click on Hotspot.
  2. In the Hotspot drop down list, select Gateways.
  3. Select the Mikrotik in that needs to be restarted.
  4. scroll down to the Run Script, type in “/system reboot”, and click the Run button.
Oct 22, 2020

How to reset Cisco router by command? ›

1. Power ON the router. 2. Press the break sequence (ctrl-Break) while the router is initializing to break into ROMMON prompt.

What is default route command in MikroTik? ›

To configure a default route on Mikrotik, click on IP>> route>> enter gateway to destination 0.0. 0.0/0.

How to check MikroTik admin password? ›

Mikrotik Password Recovery How
  1. First of all you have to visit the Mikrotik Password Recovery Tool site by MRT.
  2. Select Choose File, your Mikrotik Backup File.
  3. Click submit, this tool will read the Mikrotik username and password from the backup file.
  4. Then you will see a list of Mikrotik users and passwords.
  5. Done.

What is the command to check IP from MikroTik? ›

To open it, enter " ipconfig " in the command prompt. There are also a variety of additional functions for ipconfig. To obtain a list of additional options, enter " ipconfig /? " or “ ipconfig -? ”.

How to find router admin username and password without resetting? ›

The easiest way of how to find routers password is by checking the sticker at the back of the router box. The sticker will show you the password along with other details such as serial number, mac address and other details that you will need to access the router interface.

Is it possible to reset router admin password? ›

Press and hold the reset button for between 10 and 15 seconds. This will restore the router to its original factory settings and reset the password in the process. Log into your router using the default username and password. In most cases, the default password will be “admin,” “password,” or left blank.

What is the mode button on mikrotik router? ›

Some RouterBOARD devices have a mode button that allows you to run any script when the button it pushed.

How to clear MikroTik log? ›

This is how I usually do it:
  1. Go to system > logging > actions.
  2. double click the ones you want to change (e.g: disk), change the "Lines" value to 1. It will delete all previous entries.
  3. Change it back to the desired number of lines.
  4. All done. ^^
Oct 24, 2008

How to hard reset MikroTik ccr1009? ›

Reset button

Press the button and apply the power, then: Release the button when the green LED starts flashing, to reset RouterOS configuration to defaults. Release the button when the LED turns solid green to clear all configuration and defaults.

How can I see all devices in mikrotik? ›

The device list can be accessed by double clicking on Devices in the left hand Menu pane, or selecting Devices from the pane dropdown menu in any of the open panes. This section lists all devices that this server has knowledge about.

How to manage mikrotik router remotely? ›

If your Mikrotik-Router has a direct connection to the Internet (no NAT), It is possible to connect to your device from anywhere via the MikroTik app. The default Config from Mikrotik , doesn`t allow this, because of Security concerns. But if you modify the Firewall, you can allow management Access via the Internet.

How do I access Openwrt web interface? ›

To access an HTTPS page is just typing https://openwrt.lan/ instead of http://openwrt.lan/ . It's simple. Just make sure that luci-ssl and its dependencies are installed.

How do I enable Web interface? ›

Enabling Web and Secure Web Modes

Choose Configuration > Switch > Management > Protocol Management > HTTP-HTTPS. The HTTP-HTTPS Configuration page appears. To enable web mode, which allows users to access the switch GUI using “http://ip-address,” choose Enabled from the HTTP Access drop-down list.

How do I connect to a Web interface? ›

The device's web interface can be accessed from any web browser within the same network by entering the device's IP address into the URL field of the web browser. Networking Basics: Each Ethernet devices on a network requires an unique identifier (IP Address).

How to configure public IP address on MikroTik? ›

How to Assign Public IP Subnet on Mikrotik Router without NAT
  1. Step1: Ask your ISP for a Subnet of Public IP Addresses. ...
  2. Step 2: Assign IP Addresses to Mikrotik Interface. ...
  3. Step 3: Create Firewall Rule to Allow Connections from Subnet. ...
  4. Step 4: Assign IP Address to Device.

How to install RouterOS on MikroTik router? ›

Manual upgrade process
  1. First step - visit www.mikrotik.com and head to the Software/download page, there choose the type of system you have the RouterOS installed on;
  2. Download the routeros (main) and extra packages that are installed on a device;
  3. Upload packages to a device using one oh methods:

What are the show commands in Cisco router? ›

Cisco show command cheat sheet
Show optionMeaning
show startup-configDisplays configuration saved in NVRAM
show running-configDisplays configuration currently running in RAM
show spanning-treeDisplays information about the spanning tree state
show vlanDisplays VLAN information
36 more rows

What are the main Linux commands? ›

Top 50 Linux Commands You Must Know as a Regular User
  • ls - The most frequently used command in Linux to list directories.
  • pwd - Print working directory command in Linux.
  • cd - Linux command to navigate through directories.
  • mkdir - Command used to create directories in Linux.
  • mv - Move or rename files in Linux.
Aug 3, 2022

What are the default packages in RouterOS? ›

By default includes system, hotspot, wireless, ppp, security, mpls, advanced-tools, dhcp, routerboard, ipv6, routing.

How to learn mikrotik step by step? ›

II. Basic Mikrotik configuration steps
  1. Step 1: Create a bridge for the local area network (LAN) ...
  2. Step 2: Set the IP for the newly created bridge. ...
  3. Step 3: Setup DHCP Server for bridge-LAN. ...
  4. Step 4: Configure WAN for Mikrotik. ...
  5. Step 5: NAT LAN traffic to the Internet – Allow internet access. ...
  6. Set final parameters.
Sep 9, 2022

What are the 3 primary command modes Cisco router? ›

There are five command modes: global configuration mode, interface configuration mode, subinterface configuration mode, router configuration mode, and line configuration mode. After an EXEC session is established, commands within Cisco IOS Software are hierarchically structured.

How to check router command line? ›

Click the Windows start button on the bottom left.
  1. Type in "cmd" to display the Command Prompt App.
  2. On the Command Prompt window, type in ipconfig and press [Enter].
  3. The numbers indicated on the Default Gateway is your router's IP address.
  4. Click the Windows start button on the bottom left.

Which commands turns on a router interface? ›

To enable an interface, it must be activated using the no shutdown command. (This is similar to powering on the interface.) The interface must also be connected to another device (a hub, a switch, or another router) for the physical layer to be active.

What is the 11 command in Linux? ›

Command 11: cat

Cat is also one of the most widely used Linux commands. It lets us see the contents without having to open the file, which comes in handy when you need to see contents that are susceptible to change.

What are the four types of commands in Linux? ›

These commands are entered into the terminal, which is a command-line interface that allows users to enter and execute commands.
  • Types of Linux Commands.
  • System Commands.
  • File Management Commands.
  • Networking Commands.
  • Process Management Commands.
  • Shell Built-in Commands.
  • Advanced Linux Commands.

What is RouterOS based on? ›

RouterOS is an operating system based on the Linux kernel, which implements functionalities normally used by ISPs, such as BGP, IPv6, OSPF or MPLS.

What is the uses of RouterOS? ›

RouterOS supports installation on IDE, SATA and USB storage devices, this includes HDDs, CF and SD cards, SDD disks and more. You need at least 64MB of space to install RouterOS, which will format your partition and become the default operating system of the device it's in.

What is policy routing in RouterOS? ›

Policy routing is the method to steer traffic matching certain criteria to a certain gateway. This can be used to force some customers or specific protocols from the servers (for example HTTP traffic) to always be routed to a certain gateway.

What is the basic IP of MikroTik router? ›

All MikroTik routers are preconfigured with the following IP address, as well as default username and password: IP address: 192.168. 88.1/24 (ether1 port) Username: admin.

How do I access my MikroTik RouterOS? ›

To connect to the router enter the IP or MAC address of the router, specify username and password (if any) and click on the Connect button. You can also enter the port number after the IP address, separating them with a colon, like this 192.168. 88.1:9999. The port can be changed in the RouterOS services menu.

Videos

1. Networking With MikroTik - RouterOS CLI principles
(Networking With Ahmad)
2. MikroTik using command line interface
(Michael Collada)
3. MIKROTIK | CLI - Command Line interface
(The Networking Guy)
4. 📗MikroTik MTCNA - Navigating the CLI
(The Network Berg)
5. How to configure Mikrotik Router OS Basic Command line step by step Configuration
(Sursdey Sok)
6. How can you Remove an IP or IPs in MikroTik VPS by CLI(Command Line Interface)?(MH)
(ded9 com)

References

Top Articles
Latest Posts
Article information

Author: Lidia Grady

Last Updated: 21/10/2023

Views: 6472

Rating: 4.4 / 5 (45 voted)

Reviews: 84% of readers found this page helpful

Author information

Name: Lidia Grady

Birthday: 1992-01-22

Address: Suite 493 356 Dale Fall, New Wanda, RI 52485

Phone: +29914464387516

Job: Customer Engineer

Hobby: Cryptography, Writing, Dowsing, Stand-up comedy, Calligraphy, Web surfing, Ghost hunting

Introduction: My name is Lidia Grady, I am a thankful, fine, glamorous, lucky, lively, pleasant, shiny person who loves writing and wants to share my knowledge and understanding with you.