Common RouterOS Soft Router Commands

This article lists some common commands, hoping they will be helpful to everyone:

1. After booting and logging in, a commonly used command is ? 鈥?this is the help command, which lists available commands and brief descriptions.

2. Some English commands are very long, but you can abbreviate them. For example, for interface, just type “in” and press Enter, and it will automatically complete to “interface”. Or you can press the Tab key to help you finish typing long English commands.

3. Some commands have many parameters. When you are unsure, you can type the command followed by a space and then ? 鈥?such as print ? 鈥?to display the parameters for that command.

4. setup 鈥?This is a command everyone must remember, because after first installing RouterOS, you must use it to assign IP addresses to network cards.

5. ip route add gate=211.12.*.14,220.163.*.12 鈥?This command is used to add multiple gateways for multi-line access.

6. ip firewall add action=nat protocol=tcp dst-address=212.12.*.*/32:80 to-dst-address=192.168.0.198 鈥?This command is used to map port 80 to the local address 192.168.0.198.

7. print 鈥?This command is somewhat used to list all items.

8. interface monitor-traffic e0,1,2 鈥?Allows you to monitor the current activity status of network cards 0, 1, and 2.

9. ip firewall connection print 鈥?Displays all current connections.

10. ip arp print 鈥?Displays the corresponding list of all IP addresses and MAC addresses known by RouterOS.

11. user active print 鈥?Displays all active RouterOS users.

12. system reboot, system shutdown 鈥?These are for restarting and shutting down the system, respectively.

13. system reset 鈥?Removes all existing configurations and restarts RouterOS.

14. system resource monitor 鈥?Allows you to monitor the current CPU and memory usage.

15. log print 鈥?Displays the RouterOS logs.

16. tool ping speed 210.13.14.* 鈥?Displays the ping speed.

17. tool sniffer start, and tool sniffer stop 鈥?Start and stop the sniffer, respectively.

18. tool sniffer packet print 鈥?Lists the sniffed packets.

19. system backup name=2004107.bak 鈥?Backs up the system configuration to the file 2004107.bak, which you can see using file print.

As for other common commands like enable, disable, remove, and set,

Leave a Comment

Your email address will not be published.