ObjectiveSwitches can be accessed and configured through the Command Line Interface (CLI). Accessing the CLI allowscommands to be entered in a terminal based window. For a user who has had more experience with terminalcommands, this may be an easier alternative to navigating the web configuration utility. Certain tasks such asrecovering an administrator password can only be performed through the CLI. In order to access the CLI you mustuse an SSH client. PuTTY is a standard SSH client and can be found.
![]()
This documentassumes you are connecting to the switch using PuTTY.The objective of this document is to show you how to access the Command Line Interface (CLI) of a switch and a Secure Shell (SSH) client.Note: Cisco 200 Series Small Business Managed Switches do not support the CLI. Applicable Devices Software Version. Sx300 Series 1.2.7.76. Sx350 Series 1.2.7.76. SG350X Series 1.2.7.76. Sx500 Series 1.2.7.76. Sx550X Series 1.2.7.76 Accessing the CLI via PuTTY with a Console ConnectionStep 1.
3.) Open PuTTY and make sure the settings are as follows: Serial: NOTE â These should all be the defaults. Make sure that you have the same speeds listed as well. Session: NOTE â Enter in the serial line what ever COM port you are using via step #2. I save my session and called it âDell Switchâ so that I can easily connect again to the. So while it is not necessary to use a console cable, please keep in mind how. Dell Powerconnect 3500: Enable SSH and Disable Telnet. Most modern switches include the ability to use SSH as a remote communications protocol.
Connect the switch to the computer using a standard 9-pin serial cable.The Cisco DB9 to RJ45 Console Cable also supports console connections, but only if the switchhas an RJ45 Console port. An RJ45 Console port resembles an Ethernet port and is labeled CONSOLE on the back ofthe switch.Newer laptops donât have Serial ports on them, so in this case you have to use a USB to Serial adapter.
When plugging that into a computer it assigns a COM port number to it that is not COM1. If this is the case for you, you need to know where to look to find the correct COM port number when setting up the connection with PuTTY. Right-click on the Windows logo/Start menu and click on Device Manager to open it.In the Device Manager, you would look to see what COM port is given to the USB adapter. In this case you would need to use COM4 for the Serial line to make the connection.Step 2. Open the PuTTY application. The PuTTY Configuration window opens:Step 3.
Under the Connection Type field, click the Serial radio button.Step 4. In the Category navigation field, choose Serial.The Options controlling local serial lines page opens:Step 5. In the Serial line to connect to field, enter the COM port that your device is connected to. Thedefault COM port is COM1.Step 6.
In the Speed (baud) field, enter the digital transmission speed that is compatible with theswitch. For 300 and 500 Series Managed Switches, the speed must be set to 115200.Step 7. In the Data bits field, enter the number of data bits used for each character.
The recommendedvalue is 8.Step 8. In the Stop bits field, enter the number of bits to be sent at the end of every character. Thestop bit informs the machine that it has reached the end of a byte. The recommended value is 1.Step 9. In the Parity drop-down menu, select the method of detecting errors in transmission.
Therecommended method for detecting errors in transmission is None.Step 10. In the Flow Control drop-down menu, select the method of preventing data overflow.
Therecommended method for preventing data overflow is None.Step 11. (Optional) In order to save the connection settings for future use, go to the Categorynavigation pane and choose Session. If you do not wish to save the connection settings, skip to Step 14.Step 12.
Under the Saves Session s field, enter a name for the settings to be saved as.Step 13. Click Save.Step 14.
Click Open.The COM1 â PuTTY console window opens.Step 15. Hit Enter on the keyboard to activate the Command Line Interface (CLI).
The log in prompt isdisplayed:Step 16. Enter the User Name.
The default username is cisco.Step 14. Enter the Password.
The default password is cisco.
Configuring the Dell SonicWALL Network Security Appliance
Configuring Features using the CLI on a Serial Connection via the Console Port
Configuring Features using the CLI in an SSH Management Session via Ethernet
Configuring Features using the Management Interface (Web UI)
Attach an RJ-45 to DB-9 serial cable to the appliance port marked CONSOLE. Attach the other end of the cable to a serial port on the configuring computer.
Press Enter/Return. Initial information is displayed followed by a DEVICE NAME> prompt.
Configuring Features using the CLI in an SSH Management Session via EthernetTo configure features using the CLI in an SSH management session via Ethernet:
Attach an Ethernet cable to the interface port marked X0. Attach the other end of the Ethernet cable to an Ethernet port on the configuring computer.
In the emulation application, enter the IP destination address for the X0 interface and enter 22 as the port number.
Select SSH as the connection type and open a connection.
Configuring Features using the Management Interface (Web UI)Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2023
Categories |