Skip to content

Instantly share code, notes, and snippets.

@taqinasiri
Created December 9, 2023 19:00
Show Gist options
  • Save taqinasiri/c8495d74598843bc0ccef82c0c32bb31 to your computer and use it in GitHub Desktop.
Save taqinasiri/c8495d74598843bc0ccef82c0c32bb31 to your computer and use it in GitHub Desktop.
Mikrotik Most Used Commands

Mikrotik Most Used Commands

IP

Add IP Address

ip address add address=192.168.10.5/24 interface=ether4

Print All IP Addresses

ip address print

Remove IP

ip address remove 1

Print Available Servers And Ports

ip service print
  • or remove by ip address
ip address remove 192.168.10.5

Print ARPs

ip arp print

System

Change Mikrotik Name

system identity set name=Taqi

Print Cloack

system clock print

Print History

system history print

Print Routerboard Information

system routerboard print

User

Add User

user add name=TaqiNasiri password=P@assw0rd group=full

groups : full write read

Change Password

user set TaqiNasiri password=NewP@assw0rd

Print Users List

user print

Remove User

user remove TaqiNasiri

⚠️ Be careful not to delete the admin user

Connect to Mikrotik By Telnet

ℹ️ first Turn on Telnet Client from Control Panel\Programs\Programs and Features ➡️ Turn Windows features on or off

telnet 192.168.10.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment