Tuesday, June 18, 2013

Console to Cisco Router/Switch from Mac

Most of the time I use a Windows or Linux-based PC to access my Cisco Routers via management console. At home, I have a Laptop running Mac OSX and wanted to do the same. The steps below show how to set up a Console session to a Cisco Router using a Mac with a USB-to-Serial Converter.

Step 1. Make sure to download and install the latest driver from the manufacturer's website.
I am using a USB-to-Serial connector made by Aluratek.  It has been working great for me.

Step 2. Open Terminal. If you've never used it before, it's under Applications/Utilities/Terminal.  Or type "Terminal" in your search window.

Step 3. In the Terminal Window, enter the following:   ls /dev/tty.*

This should display a list of available serial connections on your computer like shown here:


/dev/tty.Bluetooth-Modem /dev/tty.usbserial
/dev/tty.Bluetooth-PDA-Sync

My USB-to-Serial connector is highlighted above.


Step 4. Next, type the following command: screen /dev/tty.usbserial 9600

Be sure to rename the actual connection (usbserial) to whatever it may be listed as on your computer.


This command will create a virtual session using your selected serial port, with a baud rate setting of 9600. If successful, you should be granted access to console into your router!
Good luck!


No comments:

Post a Comment