Ubiquiti UDM-PRO CLI Commands

~ 0 min
2022-09-27 20:03

To enter the non UniFi OS shell and use the full Debian command set:

unifi-os shell

Reboot the UniFi OS without interrupting the network:

unifi-os restart

Other handy commands from this Reddit thread:

Cisco/EdgeOS/VyOs Command/Best description UDM/UDM-P SSH Command
show version info
show system hardware and installed software ubnt-device-info summary
show cpu tempeture ubnt-systool cputemp
show fan speed ubnt-fan-speed
show uptime uptime
show ip route netstat -rt -n
show tech-support (dump a file for tech support) ubnt-make-support-file <file.tar.gz>
show ppp summary pppstats
show current user whoami
show log cat /var/log/messages
show interface summary ifstat
show interfaces ifconfig
show other Ubiquiti devices on local LAN segment (ubnt-discovery) ubnt-tools ubnt-discover
show config (wireless) cat /mnt/data/udapi-config/unifi
show DHCP leases (to NSname) cat /mnt/data/udapi-config/dnsmasq.lease
packet capture tcpdump
shutdown poweroff
reload reboot
show ipsec sa ipsec statusall
factory reset factory-reset.sh
show system burnt in MAC address ubnt-tools hwaddr
Unifi Server commands (logs files)  
show unifi server logs cat /mnt/data/unifi-os/unifi/logs/server.log
show unifi server setttings cat /mnt/data/unifi-os/unifi-core/config/settings.yaml
show unifi server http logs cat /mnt/data/unifi-os/unifi-core/logs/http.log
show unifi server http logs (errors) cat /mnt/data/unifi-os/unifi-core/logs/errors.log
show unifi server discovery log cat /mnt/data/unifi-os/unifi-core/logs/discovery.log
show unifi system logs cat /mnt/data/unifi-os/unifi-core/logs/system.log

 

Tags: CLI, UDM
Average rating 0 (0 Votes)

You cannot comment on this entry