Accessing the CLI through the console port

You can access the CLI on a configured or unconfigured switch by connecting the RJ-45 console port or USB console port of the switch to your PC or workstation and accessing the switch through a terminal emulation program.

 Note

If you have stacked your switches, connect to the console port of one of the switches in the stack. You can initially configure the entire stack from any member switch.

Connecting the RJ45 console port


Step 1

Connect the RJ45 port adapter to the serial port on the terminal server or your PC using the optional RJ45-to-DB9 adapter cable. Connect the other end of the cable to the switch console port.

Step 2

Start the terminal-emulation program on the PC or the terminal. The program, frequently a PC application such as Putty or TeraTerm, makes communication between the switch and your PC or terminal possible.

Step 3

Configure the baud rate and character format of the PC or terminal to match the console port default characteristics:

  • 9600 baud (default)
  • 8 data bits
  • 1 stop bit
  • No parity
  • None (flow control)

Step 4

Power on the switch.

Step 5

The PC or terminal displays the bootloader sequence.


Connecting the USB console port

Before you begin

The Cisco 9350 series switches will either have a Cisco USB Device or Silicon Labs USB Device (CP2102N). To identify which USB device is available,

  • connect a USB cable from the Windows-based PC or Mac-based PC to the USB console port.
 Note

On a Windows-based device, we recommend using the default Windows driver.


Step 1

To install the USB driver to a Windows-based PC or Mac-based PC for the first time, do the following:.

Windows-based PC

We recommend using the default Windows driver.

Mac-based PC

  • For Cisco USB Device, no driver installation is required.
  • For Silicon Labs USB Device. you can download the USB driver from the Silicon Labs website. Once the installation is completed, a virtual COM port session, "tty.SLAB_USBtoUART", will be started.
     Note

    Do not use the generic USB serial driver available on the Mac-based PC.

Step 2

On a Mac-based PC: Before connecting the USB cable to the MAC, run the “ls -lrt /dev/tty.usb*” command from the terminal application on MAC.

Step 3

Connect a USB cable to the PC USB port. Connect the other end of the cable to the switch Type C USB console port.

Step 4

Start the terminal-emulation program on the PC or the terminal. The program, frequently a PC application such as Putty or TeraTerm, makes communication between the switch and your PC or terminal possible.

Step 5

On a MAC-based PC: After connecting the USB cable, run the “ls -lrt /dev/tty.usb*” command from the terminal application to identify the device.

The new device is identified as “/dev/tty.usbserial-XXXXX”.

Step 6

Configure the baud rate and character format of the PC or terminal to match the console port default characteristics.

  • 9600 baud (default)
  • 8 data bits
  • 1 stop bit
  • No parity
  • None (flow control)
  1. To configure the baud rate on a Mac-based PC, run the “screen /dev/tty.usbserial-XXXXX <baud-rate>” command.

Step 7

Power on the switch as described in the switch getting started guide.

Step 8

The PC or terminal displays the bootloader sequence.