Ceci est une ancienne révision du document !


Les commandes SSH sur un USG d'UNIFI

La commande help nous dit ceci :

thierrylinfo@Routeur:~$ help
UniFi Command Line Interface - Ubiquiti Networks

   info                      display device information
   set-default               restore to factory default
   set-inform <inform_url>   attempt inform URL (e.g. set-inform http://192.168.0.8:8080/inform)
   upgrade <firmware_url>    upgrade firmware (e.g. upgrade http://192.168.0.8/unifi_fw.bin)
   fwupdate --url <firmware_url|firmware_name> [--dl-only] [--md5sum <sum_of_fw>]
            [--keep-firmware] [--keep-running] [--reboot-sys]
                                   new firmware update command
   reboot                    reboot the device

curl :

dpkg :

info : display device information

set-default : restore to factory default

set-inform <inform_url> : attempt inform URL (e.g. set-inform http://192.168.0.8:8080/inform)

upgrade <firmware_url> : upgrade firmware (e.g. upgrade http://192.168.0.8/unifi_fw.bin)

fwupdate –url <firmware_url|firmware_name> [–dl-only] [–md5sum <sum_of_fw>] [–keep-firmware] [–keep-running] [–reboot-sys] : new firmware update command

reboot : reboot the device

sudo su : Passe en Super User.

host google.com : Info sur l'adresse <google.com>

ping 192.168.1.15 : ping…

whois : whois de linux

show : voir des trucs comme

arp              hardware         ntp              ubnt
bridge           history          openvpn          update
configuration    host             pppoe-client     upnp2
conntrack        incoming         pppoe-server     users
date             interfaces       queueing         version
debugging        ip               reboot           vpn
dhcp             ipv6             route-map        vrrp
dhcpv6           lldp             shutdown         webproxy
dhcpv6-pd        load-balance     snmp             zebra
dns              log              system
firewall         login            table
flow-accounting  nat              tech-support

Commande Show

  • show
    • arp
    • show hardware
      • show hardware cpu
      • show hardware fan
      • show hardware mem
      • show hardware power
      • show hardware temperature
    • ntp
    • ubnt
    • bridge
    • history
    • openvpn
    • update
    • configuration
    • host
    • pppoe-client
    • upnp2
    • conntrack
    • incoming
    • pppoe-server
    • users
    • date
    • interfaces
    • queueing
    • version
    • debugging
    • ip
    • reboot
    • vpn
    • dhcp
    • ipv6
    • route-map
    • vrrp
    • dhcpv6
    • lldp
    • shutdown
    • webproxy
    • dhcpv6-pd
    • load-balance
    • snmp
    • zebra
    • dns
    • log
    • system
    • firewall
    • login
    • table
    • flow-accounting
    • nat
    • show tech-support → genere le fichier pour le support technique
Vous pourriez laisser un commentaire si vous étiez connecté.