Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Determining Device Connections with Junos Space Nodes

 

You can determine the devices connected to Junos Space from the devices or from Junos Space Network Management Platform.

To determine the connections between Junos Space Platform and managed devices, use the following commands:

  • To determine the Junos Space instances to which a device is connected by device-initiated connection, issue the show configuration system services outbound-ssh command from the cli prompt of the device:

    root@host> show configuration system services outbound-ssh

    The following is a sample output of the command:

    The output indicate that the device is connected to Junos Space nodes with IP addresses 192.0.2.100 and 192.0.2.200 through port 7804.

  • To view active connections of the device with a Junos Space node, use Show system connections as follows:

    root@host> show system connections | grep <ip address of Junos Space node>

    The following is a sample output of the command:

    where 192.0.2.51 is the IP address of the Junos Space node and 198.51.100.230 is the IP address of the device.

  • To get a list of all SSH connections on a Junos Space node, execute the netstat -na command from the shell prompt of a Junos Space node:

    [root@host] netstat -na | grep 22

    The following is a sample output of the command:

    where 198.51.100.230 is the device IP address and 192.0.2.51 is the IP address of the Junos Space node to which the device is connected.

Related Documentation