Readers will learn how to enable, disable and run the UBNT discovery feature on an Edgerouter.
The UBNT device discovery feature is made up of two services (both services are enabled by default):
- UBNT discovery service - Control whether the EdgeRouter is able to discover nearby devices.
- UBNT discovery-server service - Control whether the EdgeRouter is discoverable by other nearby devices.
The UBNT device discovery feature works by sending IPv4 broadcast (255.255.255.255) messages on UDP port 10001. There is support for IPv6.
The UBNT device discovery tool can be used on workstations to find Ubiquiti devices on the network.
NOTES & REQUIREMENTS:
CLI: Access the command line interface (CLI). You can do this using the CLI button in the GUI or by using a program such as PuTTY.
Disable the UBNT discovery service globally or on a single interface.
configure set service ubnt-discover disable
set service ubnt-discover interface <interface-name> disable commit ; save
Disable the UBNT discovery-server service globally.
configure set service ubnt-discover-server disable commit ; save
Verify the status of the UBNT discovery-server service.
show ubnt discover-server
UBNT discover server is running
sudo netstat -ano | grep 10001
Proto Recv-Q Send-Q Local Address Foreign Address State Timer
udp 0 0 0.0.0.0:10001 0.0.0.0:* off (0.00/0/0)
Discover other nearby devices.
show ubnt discover <detail>
Local Hardware Address IP address Name
eth0 04:18:D6:A0:A4:8F 192.168.1.1 ER-6P 'ER-6P'
eth1 78:8A:20:46:61:A1 172.16.1.1 ER-4 'ER-4'
eth2 F0:9F:C2:09:9A:E3 10.0.1.1 ES-16-150W 'ES-16'
Total: 3 devices.