Discovering Devices
You use device discovery to automatically discover and synchronize Junos devices in Junos Space. Device discovery is a three step process in which you specify target devices, a probe method (Ping and/or SNMP), and credentials to connect to each device.
To add a device using device discovery, the following conditions must be met:
- The device is configured with a static management IP address that is reachable from the Junos Space server.
- A user with full administrative privileges is created on the device for the Junos Space administrator.
- If you plan to use SNMP to probe devices as part of device discovery, SNMP should be enabled on the device with appropriate read-only V1/V2C/V3 credentials.
![]() | Note: To perform discovery on a device with dual Routing Engines, always specify the IP address of the current master RE. When the current master IP address is specified, Junos Space will manage the device and will manage the redundancy as well. If the master RE fails, the backup RE takes over and Junos Space manages the transition automatically without bringing down the device. |
![]() | Note: Junos Space does not support SRX device clusters. |
To discover and synchronize devices, complete the following tasks:
Specifying Device Targets
To specify the device targets that you want Junos Space to discover:
- From the task ribbon, select the Devices workspace.
- From the task ribbon, click the Discover Devices icon.
Junos Space displays discovery status for discovery targets that are already processed.
- From the task ribbon, click the Discover Targets icon.
Junos Space displays the Discover Targets window.

- Click
the Add icon.
The Add Device Target dialog box is displayed.

Choose one of the following options to specify device targets:
- Select the IP radio button and enter the IP address of the device.
- Select the IP Range radio button and enter a
range of IP addresses for the devices.

Note: The maximum number of IP addresses for an IP range target is 1024.
- Select the IP Subnet radio button and enter an IP subnet for the devices.
- Select the Host Name radio button and enter the host name of the device.
- Click Add to save the target devices
that you specified, or click Add More to add additional device
targets. When you have added all device targets that you want Junos
Space to discover, click Add.
The Discover Targets window displays the addresses of the configured device targets.
- Click Discover from the Discover Targets
window.
In the next task, you specify a probe method to connect to and discover the device targets.
Specifying Probes
To configure the method Junos Space will use to discover the device targets:
- From the task ribbon, select the Devices workspace, and then click the Discover Devices icon.
- From the task ribbon, click the Specify Probes icon.
The Specify Probes window is displayed.

Select a probe method (or SSH) to discover target devices:
- If SNMP is configured for the device, select Use SNMP , and clear the check box Use Ping.
Junos Space will use the SNMP GET command to discover target devices.
- If SNMP is not configured for the device, select the
check box Use Ping , and clear the check box Use SNMP.
Junos Space will use Juniper Network’s Device Management Interface (DMI) to directly connect to and discover devices. DMI is an extension to the NETCONF network management protocol.
- When both the Use Ping and Use SNMP check boxes are selected (the default), Junos Space can more quickly discover the target device, if the device is pingable and SNMP is enabled on the device.
- If SNMP is configured for the device, select Use SNMP , and clear the check box Use Ping.
- Click the Add icon (+).
The Add SNMP Settings dialog box is displayed.

- For
SNMPv1 or SNMPv2:
- Select SNMP V1/V2C (the default).
- In the community field, specify the community string, which can be “public”, “private”, or a predefined string.
- Click Add to save the SNMP settings, or click Add More to specify another community string. When you have
finished adding community strings, click Add.
The Specify Probes window displays the configured SNMP settings.
- For SNMPv3:
- Select SNMP V3.
The SNMP V3 dialog box is displayed.

- Enter the username.
- Select the privacy type (AES 128, DES, or none)
- Enter the privacy password (if AES 128 or DES). If you specify ’none’ for the privacy type, the privacy function is disabled.
- Select the authentication type (MD5, SHA, or none).
- Enter the authentication password (if MD5 or SHA). If you specify ’none’ for the authentication type, the authentication function is disabled.
- Click Add to save the SNMP V3 settings, or click Add More to specify additional SNMP settings. When you have
finished adding SNMP settings, click Add.
The Specify Probes window displays the configured SNMP settings.
- Select SNMP V3.
- Click Discover in
the Specify Probes window.
In the next task, you specify credentials to establish the SSH connection for the target devices.
Specifying Credentials
Specify an administrator name and password to establish the SSH connection for each target device that you configured:
- From the task ribbon, select the Devices workspace, and then click the Discover Devices icon.
- From the task ribbon, select the Specify Credentials icon.
The Specify Credentials window is displayed.

- Click
the Add icon.
The Add Device Login Credential dialog box is displayed.

- Specify the administrator user name and password, and confirm the password. The name and password must match the name and password configured on the device
- To save the user name and password that you specified,
click Add or click Add More to add another user
name and password. When you have finished adding login credentials,
click Add.
The Credential window displays the administrator user names that you configured.
Schedule the device discovery operation:
- Clear the Schedule at a later time check box (the default) to initiate the discovery operation when you complete Step 7 in this procedure.
- Select the Schedule at a later time check box to specify a later start date and time for the discovery operation.

Note: The selected time in the scheduler corresponds to Junos Space server time but is mapped to the local time zone of the client computer.
- In the Specify Credentials window, click Discover to discover and synchronize the device targets in Junos Space.

Note:
The Discovery Status window, shown in the following illustration, displays the progress of discovery in real-time. Click on any bar in the chart to view information about devices currently managed, discovered, or for which discovery failed.

For information about device discovery results you can view the Detailed Reports and view job status from the Jobs workspace:
- To view device discovery details, click View Detailed Report in the Discovery Status window.
The Detailed Report displays the IP address, host name, and discovery status for discovered devices, as shown in the following example.


Note: If the discovery operation fails, the Description field in the Detailed Report table indicates the cause of failure.
- To view device discovery from the Jobs workspace:
- From the task ribbon, select the Jobs workspace.
- From the task ribbon, select the Manage Jobs icon.
- From the Job Manager inventory panel, enter “Discover
Network Elements” in the search field to view only device discovery
jobs. The following example shows a table view of Discover Network
Elements jobs.

- To view device discovery details, click View Detailed Report in the Discovery Status window.

