The Locate Device is a feature that allows you to easily locate a specific switch on your network physically, either single or stacked. This feature enables the flashing of all network port LEDs on a specific switch or stacked switches which is useful for locating a device within a room with many interconnected devices. When this feature is activated, all network port LEDs on the device flash for a configured amount of time. In a stacked device, a specific unit or all units in the stack can be specified.
This article provides instructions on how to locate a specific device or devices on your network through the Command Line Interface (CLI) of the switch.
Note: For instructions on how to use the locate device feature on your switch through the web-based utility or the Smart Network Application (SNA), click here.
Step 1. Log in to the switch console. The default username and password is cisco/cisco. If you have configured a new username or password, enter the credentials instead.
Note: To learn how to access an SMB switch CLI through SSH or Telnet, click here.
Note: The commands may vary depending on the exact model of your switch. In this example, the SG350X switch is accessed through Telnet.
Step 2. In the Privileged EXEC context of the switch, enter the following command to light up the network port LEDs of a specific unit in a stack:
The options are:
In the example below, the Unit 2 switch can be easily identified as all the LEDs are flashing that will last for 10 seconds.
Step 3. (Optional) In the Privileged EXEC context of the switch, enter the following command to light up the network port LEDs stacked switches:
In the example below, stacked SG350X switches are both flashing that will last for 30 seconds.
Step 4. (Optional) Once you found the device that you are trying to locate, you can stop the LEDs from flashing by entering the following:
You should now have successfully located a specific switch or stack of switches on your network through the CLI of the switch.