UBNT AirFiber CLI Commands (AF-5x)

UBNT AirFiber CLI Commands (AF-5x)

Here are all of the commands that you can issue on an Ubiquiti AirFiber Radio from an ssh terminal connection. I found myself always googling and digging through the ubiquiti forum to try and find the command I needed. I compiled all the known AirFiber commands here in one place. Enjoy!


af status – Prints AirFiber radio operational status.

Possible statuses are master-syncing, master-beaconing, master-operational, slave-syncing, slave-registering, slave-operational.

af af – desc

af signal – Prints radio output power, radio RX power, RSSI, and radio temperature in celcius

af log – Print RF link events

af emac – Print radio counters, statistics

af get getlist – Print list of variables that can be used with af get|set

airfiberbox stat_main

ifconfig – Print interface info including IP address

route print – Print Route Table

cat /var/log/messages – Print the Log

uname – Print linux kernel version information and hostname

7 Replies to “UBNT AirFiber CLI Commands (AF-5x)”

  1. Great list. I’m looking to factory default a unit, but I don’t yet have access to it. I’m assuming af reset will factory default the unit?

    1. Kevin,

      The default configuration file is located at /etc/default.cfg

      Revised 3/8/2018: I have tested this on a AirFiber AF-5X w/ firmware revision 4.0.3.

      Commands to restore default configuration from an ssh console

  2. Thanks a lot
    I need a script on mikrotik that ssh login to an AF and get me the txcapacity for example and print on log or send it to telegram
    any ideas?

  3. Hi,
    I found your commands for AirFiber. I have installed a licensed 11 Gig link and wonder if the commands are the same? I am opening the SSH port 22 and the reply is SSH-2.0-dropbear_0.51
    If I send a command, say “af status” there is no reply. I have password authentication turned off.

      1. I have established a connection using Winsock…If this were the equipment you use, would it be correct to just send the command in plain text as af status….

  4. I see my error, I must use Putty or similar program. However, by connecting to the TelNet server in the AF the commands you provided work for AF-11 although I only tried several of them. thanks for the information

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.