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


3 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?

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.