PDF(502.6 KB) View with Adobe Reader on a variety of devices
ePub(602.9 KB) View in various apps on iPhone, iPad, Android, Sony Reader, or Windows Phone
Mobi (Kindle)(755.9 KB) View on Kindle device or Kindle app on multiple devices
Updated:July 15, 2020
The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
Access an SMB Switch CLI using SSH or Telnet
The Cisco Business Managed Switches can be remotely accessed and configured
through the Command Line Interface (CLI). Accessing the CLI allows commands to be entered in a terminal-based
window. If you prefer to configure using terminal commands on your switch through the CLI rather than the
web-based utility, this would be an easier alternative. Certain tasks such as Layer 3 mode enabling can only be
performed through the CLI.
In order to remotely access the CLI of your switch, you must use an SSH or Telnet
client. You must also enable the Telnet and SSH service on your switch first before you can access it remotely.
Note: For instructions on how to configure the Transmission Control Protocol
(TCP) and User Datagram Protocol (UDP) settings on your switch, click here.
This article provides instructions on how to access the CLI of your switch through SSH
or Telnet using the following clients:
PuTTY - A standard Telnet and SSH client. You can download an installer here and install in your Windows computer.
Terminal - An application that is pre-installed in every Mac OS X computer. It is also known as the shell or
Important: Before you make an SSH or Telnet connection to the switch, you must
set the IP address for the switch. For instructions, click here.
Note: The images may vary according to the version of the Windows operating
system you are using. In this example, the Windows 7 Ultimate is used and the PuTTY version is 0.63.
Step 1. Launch the PuTTY client on your computer.
Step 2. Enter the hostname or IP address of the switch that you want to remotely access
in the Host Name (or IP address) field.
Note: In this example, 192.168.100.105 IP address is used.
Step 3. Enter 22 as the port number to be used for the SSH session in the
Step 4. In the Connection type area, click the SSH radio button to choose SSH as
your method of connection with the switch.
Step 5. (Optional) To save the session, enter the session name in the Saved
Note: In this example, SSH Sessions is used.
Step 6. (Optional) Click Save to save the session.
Step 7. (Optional) In the Close window on exit area, click the radio button to choose
the behavior of the SSH window upon exit.
Note: In this example, Only on clean exit is chosen.
Step 8. Click Open to start the session.
Step 9. If this is your first time using SSH to connect to the switch, you may receive
a Security Breach Warning. This warning lets you know that it is possible that you are connecting to another
computer pretending to be the switch. Once you have ensured you entered the correct IP address in the Host Name
field in Step 4, click Yes to update the Rivest Shamir Adleman 2 (RSA2) key to include the new switch.
Step 10. Enter the username and password of the switch in the login as, User
Name and Password fields accordingly.
You should now have successfully remotely accessed the CLI of your switch through SSH