Useful Mikrotik Incantations


  • Tue 09 August 2016
  • misc

Previously I undermined my credibility by admitting that I sometimes find a cheap-and-cheerful Mikrotik router to be the right technology to deploy. Why not complete the deed with the cheat sheet of useful-but-potentially-hard-to-find commands for same?

{% raw %} /queue tree print rate interval=5 {% endraw %} prints queues at 5 second interval, just showing bits/second in each queue

{% raw %} /queue tree print stats interval=5 {% endraw %} more detailed info, again updated every 5 seconds

{% raw %} /interface pppoe-client monitor 0 {% endraw %} info about the PPTP concentrator (mac address, name, uptime, etc)

{% raw %} /ip arp print {% endraw %} prints out the ARP table

{% raw %} /interface ethernet switch host print {% endraw %} prints SOC switch CAM table

{% raw %} /ip dhcp-server lease print {% endraw %} DHCP leases with hostnames from the built-in DHCP server

{% raw %} /tool torch Verizon-PPPOE {% endraw %} show interface utilization in real time. can also be used to isolate a particular ip address, etc.

{% raw %} /interface monitor-traffic Verizon-PPPOE {% endraw %} show interface utilization with more detail in real time.

{% raw %} /tool torch src-address=0.0.0.0/0 interface=Verizon-PPPOE freeze-frame-interval=5 {% endraw %} find out who's bogarting the b/w.