Readers will learn how to use the Ubiquiti Device Discovery feature or disable it 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:
Table of Contents
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.
This feature consists of two services and both are enabled by default. Follow the steps below to disable the services:
- ubnt-discover: Controls whether the EdgeRouter is able to discover nearby devices.
- ubnt-discover-server: Controls whether the EdgeRouter is discoverable by other nearby devices.
Steps: Device Discovery Configuration
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 Discovery Services
To disable the
ubnt-discover service globally or on a single interface type in these commands:
configure set service ubnt-discover disable
set service ubnt-discover interface <interface-name> disable commit ; save
To disable the
ubnt-discover-server service globally use these commands:
configure set service ubnt-discover-server disable commit ; save
Discover other nearby devices with the following command:
show ubnt discover [detail]You should see something like this:
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.
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)