•
8 data bits
•
1 stop bit
•
No flow control
Pin Assignments
You can connect to the console using a RJ-45 to RJ-45 rollover cable and a RJ-45 to DB-9 female DTE adapter to a terminal server
(for example, a PC).
The pin assignments between the console and a DTE terminal server are as follows:
Table 2. Pin Assignments Between the Console and a DTE Terminal Server
Console Port
Signal
RTS
NC
TxD
GND
GND
RxD
NC
CTS
Accessing the CLI Interface and Running Scripts Using SSH
In addition to the capability to access a device using a console connection or a Telnet session, you can also use SSH for secure,
protected communication with the device. You can open an SSH session and run commands or script files. This method of
connectivity is supported with S4810, S4048–ON, S3048–ON, S4820T, and Z9000 switches and provides a reliable, safe
communication mechanism.
Entering CLI commands Using an SSH Connection
You can run CLI commands by entering any one of the following syntax to connect to a switch using the preconfigured user
credentials using SSH:
ssh username@hostname <CLI Command>
or
echo <CLI Command> | ssh admin@hostname
The SSH server transmits the terminal commands to the CLI shell and the results are displayed on the screen non-interactively.
Executing Local CLI Scripts Using an SSH Connection
You can execute CLI commands by entering a CLI script in one of the following ways:
ssh username@hostname <CLIscript.file>
or
cat < CLIscript.file > | ssh admin@hostname
The script is run and the actions contained in the script are performed.
RJ-45 to RJ-45
Rollover Cable
RJ-45 Pinout
1
2
3
4
5
6
7
8
RJ-45 to RJ-45
Rollover Cable
RJ-45 Pinout
8
7
6
5
4
3
2
1
RJ-45 to DB-9 Adapter Terminal Server Device
DB-9 Pin
8
6
2
5
5
3
4
7
Signal
CTS
DSR
RxD
GND
GND
TxD
DTR
RTS
45
Getting Started