ubiquiti:cli:cheat_sheet
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ubiquiti:cli:cheat_sheet [2022/10/11 08:45] – peter | ubiquiti:cli:cheat_sheet [2022/10/11 10:07] (current) – peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Ubiquiti - CLI - Cheat Sheet ====== | ====== Ubiquiti - CLI - Cheat Sheet ====== | ||
- | ^Command^Description^Comment^Example^ | + | Unifi devices are running on a form of Linux, so most Linux commands will work on the devices. |
- | |info|Display AP information.| |info| | + | |
- | |reboot|Reboot the AP| | | | + | * Pressing **Tab** twice will give you a list of all available SSH commands. |
- | |set-default|Restore to factory default.| |set-default| | + | |
- | |set-inform < | + | Commands that can be run on Unifi devices from the command line. |
- | |:::|:::|:::|set-inform http://192.168.1.10: | + | |
- | |upgrade < | + | ^Command^Description^Example^ |
+ | |info|Display AP information.|info| | ||
+ | |fwupdate|Update firmware.|< | ||
+ | |poweroff|Shutdown the device.|poweroff| | ||
+ | |reboot|Reboot the device.|reboot| | ||
+ | |set-default|Restore to factory default.|set-default| | ||
+ | |set-inform < | ||
+ | |:::|The Set-Inform URL tells the Unifi Access Point where the controller is located. By default, the access point will search the network for the controller, using the default DNS name **unifi**. This does not always work, so we need to tell the access point the correct address of the Unifi Controller.|set-inform http://192.168.1.10: | ||
+ | |syswrapper.sh|Similar to set-default. Older firmware versions like v2.2.x do not support the **set-default** command.|syswrapper.sh restore-default.| | ||
+ | |upgrade < | ||
+ | |uptime|Displays the device uptime.|uptime| | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Unifi OS SSH Commands ===== | ||
+ | |||
+ | Commands that can be run for Controllers running Unifi OS. | ||
+ | |||
+ | ^Command^Description^Example^ | ||
+ | |ubnt-device-info summary|Show system information.|ubnt-device-info summary| | ||
+ | |ubnt-systool cputemp|Show CPU Temp.|ubnt-systool cputemp| | ||
+ | |ubnt-systool cpuload|Show CPU load.|ubnt-systool cpuload| | ||
+ | |ubnt-systool hostname|Set new hostname.|ubnt-systool hostname < | ||
+ | |ubnt-systool portstatus|Show port status.|ubnt-systool portstatus| | ||
+ | |ubnt-systool poweroff|Shutdown device.|ubnt-systool poweroff| | ||
+ | |ubnt-systool reboot|Reboot device.|ubnt-systool reboot| | ||
+ | |ubnt-systool reset2defaults|Factory reset device.|ubnt-systool reset2defaults| | ||
+ | |ubnt-tools ubnt-discover|Show Unifi devices in the network.|ubnt-tools ubnt-discover| | ||
+ | |cat / | ||
+ | |cat / | ||
+ | |/ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Unifi Log files ===== | ||
+ | |||
+ | |||
+ | There are a lot of log files that you can access to help you debug any Unifi related problem: | ||
+ | |||
+ | ^Command^Description^ | ||
+ | |cat / | ||
+ | |tail -f / | ||
+ | |cat / | ||
+ | |cat / | ||
+ | |cat / | ||
+ | |cat / | ||
+ | |cat / | ||
+ | |||
+ | ---- | ||
+ |
ubiquiti/cli/cheat_sheet.1665477952.txt.gz · Last modified: 2022/10/11 08:45 by peter