Most useful MikroTik commands for beginner

Most useful MikroTik commands for beginner

Here’s a list of useful MikroTik commands:

  1. Print all IP addresses:
/ip address print
  1. Print all interfaces:
/interface print
  1. Set a static IP address:
   /ip address add address=[IP Address]/[Subnet Mask] interface=[Interface Name]
  1. Disable all firewall rules:
   /ip firewall filter disable [find]
  1. Enable the Web GUI (WebFig):
/ip service enable www
/ip service enable www-ssl
  1. Enable an interface:
/interface enable [Interface Name]
  1. Reset configuration:
/system reset-configuration
  1. Set a WAN IP address:
/ip address add address=[WAN_IP]/[Subnet_Mask] interface=[WAN_Interface]
/ip route add gateway=[Gateway_IP]
/ip dns set servers=[DNS_IP]
  1. Reset admin password:
/user set [find name=admin] password=[new_password]
  1. Get CPU usage:
/system resource print

Feel free to copy and use this list as needed!

Related Post