Alternatively, you can use a rollover cable (which is similar to an Ethernet cable, except the pins are reversed on the other end), and connect it to a female DB9-to-RJ45 adapter. Warning: Do NOT connect a rollover cable from the Ethernet port on your computer to the Console port on your router or switch. This will blow out the Console port on the router or switch.

Windows: Right-click the Windows Start menu and click Device Manager. Expand “Ports (COM & LPT)” in the list of devices. Note the port number your router is connected to (i. e, “COM1”) Mac: Open the Terminal and type cd /dev and press Enter. Then type ls -ltr /dev/usb and press Enter. The port number will be listed after “/dev/tty. usbmodem” or " /dev/tty. usbserial". Linux: Open the Terminal and type cd /dev and press Enter. Then type ls -ltr ACM and press Enter. The port number will be listed after “/dev/ttyUSB” or “/dev/ttyACM”. [1] X Research source

Windows: Open PuTTY. Select Sessions in the Category menu to the left. Select Serial under “Connection type”. Enter the port number the switch is connected to in the box labeled “Serial line. " Leave the speed as “9600”. Then click Open. [3] X Research source Mac: Open the Terminal and type screen /dev/tty. usbmodem[port number] 9600 and press Enter. Replace “[port number]” with the port number you retrieved from the previous step. Linux: Open the Terminal and type screen /dev/ttyACM[port number] 9600 and press Enter. Replace “[port number]” with the port number you retrieved from the previous step.

If you want to exit Global Configuration mode, type end and press Enter.

If you want to view statistics for all the VLAN interfaces on your router or switch, type show interfaces vlan [vlan id] and press enter Replace [vlan id] with the actual VLAN ID number.