Skip to content

Instantly share code, notes, and snippets.

@trilom
Last active May 15, 2020 19:39
Show Gist options
  • Save trilom/b59adedf7878e0e967864f9b50a940e2 to your computer and use it in GitHub Desktop.
Save trilom/b59adedf7878e0e967864f9b50a940e2 to your computer and use it in GitHub Desktop.
unifi poe
Device TOP: Connected
BusyBox v1.23.2 (2020-01-11 23:36:54 UTC) built-in shell (ash)
___ ___ .__________.__
| | |____ |__\_ ____/__|
| | / \| || __) | | (c) 2010-2019
| | | | \ || \ | | Ubiquiti Networks, Inc.
|______|___| /__||__/ |__|
|_/ https://www.ui.com/
Welcome to UniFi USW-24P-500!
TOP-US.v4.0.80# telnet 127.0.0.1 2222
Warning!
The changes may break controller settings and only be effective until reboot.
(UBNT) >enable
enable
(UBNT) #show ?
show ?
aaa Display IAS users.
access-lists Display access list information.
accounting Display ordered methods for accounting lists
application Displays information about installed applications.
arp Display Address Resolution Protocol cache.
authentication Display ordered methods for authentication lists
authorization Display ordered methods for authorization lists.
auto-voip Display Auto VoIP parameters.
backup-config Display the backup-config.
bootvar Shows the boot images on the node.
capture Show RPCAP options.
class-map Display DiffServ class information.
classofservice Display class of service information.
clibanner Display banner configuration.
clock Display the time and date from the system clock.
debugging Display debugging configuration.
dhcp Display DHCP parameters.
diffserv Display DiffServ information.
domain-name Display the current status of the AutoInstall process.
dos-control Display Denial of Service Configuration.
dot1x Display dot1x information.
environment Display vital environment status data.
eventlog Display event log entries.
factory-defaults Display factory defaults.
fiber-ports Fiber Ports.
flowcontrol Enable/Disable 802.3x flow control.
forwardingdb Display Forwarding Database aging time.
garp Display Generic Attribute Registration Protocol
information.
gmrp Display GMRP interface information.
gvrp Display GARP VLAN Registration Protocol parameters.
hardware Display vital product data.
hosts To display the default domain name, a list of name
server hosts, the static and the cached list of host
names and addresses.
--More-- or (q)uitm
igmpsnooping Display IGMP Snooping information.
interface Display IP interface information.
interfaces Display Interfaces Information.
ip Display IP information.
ipv6 Display IPv6 information.
keepalive Display keepalive information.
lacp Display LACP configuration.
link Display link dependency group configuration.
lldp Display LLDP configuration.
logging Display logging parameters.
loginsession Display login session info.
mac Display MAC Address-table behavior and entries.
mac-addr-table Display forwarding database information.
mac-address-table Display MAC Address Table information.
mail-server Display mail server config.
mbuf Display Mbuf information
mldsnooping Display MLD Snooping information.
monitor Display port monitor settings.
msg-queue Display Message Queue
mvr Display MVR configuration and status.
network Display configuration for inband connectivity.
passwords Display information about passwords.
platform Display information of the switch.
poe Display information about PoE.
policy-map Display DiffServ policy information.
port Display Port Mode and settings
port-channel Display port-channel information.
port-security Display port-security (port MAC locking) information
for system.
process Display process information.
radius Display RADIUS configuration information.
rmon Display RMON alarms, events, history or statistics.
running-config Display the running config.
serial Display EIA-232 parameters and serial port inactivity
timeout.
service-policy Display DiffServ service statistical information.
--More-- or (q)uitm
snmp Display SNMP configuration.
snmp-server Display SNMP server parameters.
sntp Display SNTP Information.
spanning-tree Display spanning tree information.
startup-config Display the startup-config.
stats Display the time range based statistics collection.
storm-control Display Storm-Control information.
switchport Display Switchport Mode.
sysinfo Display system information including system up time.
tacacs Display TACACS+ configuration.
tech-support Display switch information needed for
trouble-shooting.
telnetcon Display Telnet configuration information.
terminal Display terminal line information.
time-range Display time-range information.
trapflags Display the value of trap flags that apply to the
switch.
users Display Users and User Accounts information.
version Display switch description and hardware information.
vlan Display VLAN configuration and configure VLANs.
voice Display the voice VLAN configuration.
(UBNT) #show
Command not found / Incomplete command. Use ? to list commands.
(UBNT) #show interfaces all
show interfaces all
^
% Invalid input detected at '^' marker.
(UBNT) #show interfaces ^C
Console escape. Commands are:
l go to line mode
c go to character mode
z suspend telnet
e exit telnet
Entering character mode
Escape character is '^]'.
(UBNT) #show interfaces all?
(UBNT) #show interfaces al?
(UBNT) #show interfaces ?
cos-queue Display COS queue information.
description Display the description of interfaces
status Display the status of interfaces
switchport Display the switchport mode information of interfaces.
(UBNT) #show interfaces status ?
<slot/port> Enter an interface in slot/port format.
all Enter 'all' for all interfaces.
lag Enter an interface in lag format.
(UBNT) #show interfaces status all
Link Physical Physical Media Flow Control
Port Name State Mode Status Type Status
--------- ---------------------------- ------ ---------- ---------- ------------------ ------------
0/1 Port 1 Down Auto Unknown Inactive
0/2 Port 2 Down Auto Unknown Inactive
0/3 Port 3 Down Auto Unknown Inactive
0/4 Port 4 Down Auto Unknown Inactive
0/5 Port 5 Down Auto Unknown Inactive
0/6 Port 6 Down Auto Unknown Inactive
0/7 Port 7 Down Auto Unknown Inactive
0/8 Port 8 Down Auto Unknown Inactive
0/9 Port 9 Down Auto Unknown Inactive
0/10 Port 10 Down Auto Unknown Inactive
0/11 Port 11 Down Auto Unknown Inactive
0/12 Port 12 Down Auto Unknown Inactive
0/13 Port 13 Down Auto Unknown Inactive
0/14 Port 14 Down Auto Unknown Inactive
0/15 Port 15 Down Auto Unknown Inactive
0/16 Port 16 Down Auto Unknown Inactive
0/17 Port 17 Down Auto Unknown Inactive
0/18 Port 18 Down Auto Unknown Inactive
0/19 Port 19 Down Auto Unknown Inactive
0/20 Port 20 Down Auto Unknown Inactive
0/21 Port 21 Down Auto Unknown Inactive
0/22 Port 22 Down Auto Unknown Inactive
0/23 Port 23 Up Auto 1000 Full Unknown Inactive
0/24 Port 24 Up Auto 1000 Full Unknown Inactive
0/25 SFP 1 Down Auto D Unknown Inactive
0/26 SFP 2 Down Auto D Unknown Inactive
3/1 Down
3/2 Down
3/3 Down
3/4 Down
3/5 Down
3/6 Down
Flow Control:Disabled
(UBNT) #show interfaces ?
cos-queue Display COS queue information.
description Display the description of interfaces
status Display the status of interfaces
switchport Display the switchport mode information of interfaces.
(UBNT) #show poe ?
counters Display PoE counters.
port Display configuration of PoE ports.
status Display status of PoE ports.
(UBNT) #show poe status ?
<intf-range> Enter interface(s) in slot/port format, use comma for
a list and hyphen for ranges.
all Enter 'all' for all PoE interfaces.
(UBNT) #show poe status all
Intf Detection Class Consumed(W) Voltage(V) Current(mA) Temperature(C)
--------- -------------- ------- ----------- ---------- ----------- --------------
0/1 Open Circuit Unknown 0.00 0.00 0.00 35
0/2 Open Circuit Unknown 0.00 0.00 0.00 35
0/3 Open Circuit Unknown 0.00 0.00 0.00 35
0/4 Open Circuit Unknown 0.00 0.00 0.00 35
0/5 Open Circuit Unknown 0.00 0.00 0.00 35
0/6 Open Circuit Unknown 0.00 0.00 0.00 35
0/7 Open Circuit Unknown 0.00 0.00 0.00 35
0/8 Open Circuit Unknown 0.00 0.00 0.00 35
0/9 Open Circuit Unknown 0.00 0.00 0.00 39
0/10 Open Circuit Unknown 0.00 0.00 0.00 39
0/11 Open Circuit Unknown 0.00 0.00 0.00 39
0/12 Open Circuit Unknown 0.00 0.00 0.00 39
0/13 Open Circuit Unknown 0.00 0.00 0.00 41
0/14 Open Circuit Unknown 0.00 0.00 0.00 41
0/15 Open Circuit Unknown 0.00 0.00 0.00 41
0/16 Open Circuit Unknown 0.00 0.00 0.00 41
0/17 Open Circuit Unknown 0.00 0.00 0.00 35
0/18 Open Circuit Unknown 0.00 0.00 0.00 35
0/19 Open Circuit Unknown 0.00 0.00 0.00 35
0/20 Open Circuit Unknown 0.00 0.00 0.00 35
0/21 Open Circuit Unknown 0.00 0.00 0.00 31
0/22 Open Circuit Unknown 0.00 0.00 0.00 31
0/23 Open Circuit Unknown 0.00 0.00 0.00 31
0/24 Open Circuit Unknown 0.00 0.00 0.00 31
(UBNT) #
Device UniFi Switch 24 POE-500W: Connected
BusyBox v1.23.2 (2020-01-11 23:36:54 UTC) built-in shell (ash)
___ ___ .__________.__
| | |____ |__\_ ____/__|
| | / \| || __) | | (c) 2010-2019
| | | | \ || \ | | Ubiquiti Networks, Inc.
|______|___| /__||__/ |__|
|_/ https://www.ui.com/
Welcome to UniFi USW-24P-500!
UBNT-US.v4.0.80# ssh 127.0.0.1 2222
ssh: Connection to admin@127.0.0.1:22 exited: Connect failed: Connection refused
UBNT-US.v4.0.80# enable
/bin/sh: enable: not found
UBNT-US.v4.0.80# telnet 127.0.0.1 2222
Warning!
The changes may break controller settings and only be effective until reboot.
(UBNT) >enable
enable
(UBNT) #show interfaces status all
show interfaces status all
Link Physical Physical Media Flow Control
Port Name State Mode Status Type Status
--------- ---------------------------- ------ ---------- ---------- ------------------ ------------
0/1 Port 1 Down Auto Unknown Inactive
0/2 Port 2 Down Auto Unknown Inactive
0/3 Port 3 Down Auto Unknown Inactive
0/4 Port 4 Down Auto Unknown Inactive
0/5 Port 5 Down Auto Unknown Inactive
0/6 Port 6 Down Auto Unknown Inactive
0/7 Port 7 Down Auto Unknown Inactive
0/8 Port 8 Down Auto Unknown Inactive
0/9 Port 9 Down Auto Unknown Inactive
0/10 Port 10 Down Auto Unknown Inactive
0/11 Port 11 Down Auto Unknown Inactive
0/12 Port 12 Down Auto Unknown Inactive
0/13 Port 13 Down Auto Unknown Inactive
0/14 Port 14 Down Auto Unknown Inactive
0/15 Port 15 Down Auto Unknown Inactive
0/16 Port 16 Down Auto Unknown Inactive
0/17 Port 17 Down Auto Unknown Inactive
0/18 Port 18 Down Auto Unknown Inactive
0/19 Port 19 Down Auto Unknown Inactive
0/20 Port 20 Down Auto Unknown Inactive
0/21 Port 21 Down Auto Unknown Inactive
0/22 Port 22 Down Auto Unknown Inactive
0/23 Port 23 Down Auto Unknown Inactive
0/24 Port 24 Up Auto 1000 Full Unknown Inactive
0/25 SFP 1 Down Auto D Unknown Inactive
0/26 SFP 2 Down Auto D Unknown Inactive
3/1 Down
3/2 Down
3/3 Down
3/4 Down
3/5 Down
--More-- or (q)uitm
3/6 Down
Flow Control:Disabled
(UBNT) #
(UBNT) #show poe status all
show poe status all
Intf Detection Class Consumed(W) Voltage(V) Current(mA) Temperature(C)
--------- -------------- ------- ----------- ---------- ----------- --------------
0/1 Open Circuit Unknown 0.00 0.00 0.00 33
0/2 Open Circuit Unknown 0.00 0.00 0.00 33
0/3 Open Circuit Unknown 0.00 0.00 0.00 33
0/4 Open Circuit Unknown 0.00 0.00 0.00 33
0/5 Open Circuit Unknown 0.00 0.00 0.00 35
0/6 Open Circuit Unknown 0.00 0.00 0.00 35
0/7 Open Circuit Unknown 0.00 0.00 0.00 35
0/8 Open Circuit Unknown 0.00 0.00 0.00 35
0/9 CPD Too High Unknown 0.00 0.00 0.00 39
0/10 CPD Too High Unknown 0.00 0.00 0.00 39
0/11 Short Unknown 0.00 0.00 0.00 39
0/12 Unknown Unknown 0.00 0.00 0.00 39
0/13 Unknown Unknown 0.00 0.00 0.00 37
0/14 CPD Too High Unknown 0.00 0.00 0.00 37
0/15 CPD Too High Unknown 0.00 0.00 0.00 37
0/16 CPD Too High Unknown 0.00 0.00 0.00 37
0/17 Open Circuit Unknown 0.00 0.00 0.00 35
0/18 Open Circuit Unknown 0.00 0.00 0.00 35
0/19 Open Circuit Unknown 0.00 0.00 0.00 35
0/20 Open Circuit Unknown 0.00 0.00 0.00 35
0/21 Open Circuit Unknown 0.00 0.00 0.00 37
0/22 Open Circuit Unknown 0.00 0.00 0.00 37
0/23 Open Circuit Unknown 0.00 0.00 0.00 37
0/24 Open Circuit Unknown 0.00 0.00 0.00 37
(UBNT) #
@trilom
Copy link
Author

trilom commented May 15, 2020

Screen Shot 2020-05-15 at 3 33 34 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment