EdgeRouter - UBNT Device Discovery


Overview


Readers will learn how to use the Ubiquiti Device Discovery feature on an EdgeRouter. 

NOTES & REQUIREMENTS:
Applicable to the latest EdgeOS firmware on all EdgeRouter models. Please see the Related Articles below for more information.
 
Device used in this article:

UBNT Device Discovery


The UBNT Device Discovery feature consists of two services:

  • ubnt-discover Control whether the EdgeRouter is able to discover nearby devices.
  • ubnt-discover-server 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. The UBNT Device Discovery tool can be used on workstations to find Ubiquiti devices on the network.

 

Both discovery services are enabled by default. Follow the steps below to disable the services:

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-discover 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-discover-server service globally.

configure
set service ubnt-discover-server disable
commit ; save

 

You can verify the service status using the following commands from operational mode:

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]
Scanning...
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.

Related Articles


Intro to Networking - How to Establish a Connection Using SSH

EdgeRouter - Beginners Guide to EdgeRouter

EdgeRouter - Configuration and Operational Mode