Connecting to the Router/Switch using Console Port
Hi, Today I am going to tell you How to Connect to Cisco Router/Switch using Console with Putty. Well, Routers and Switches are the Networking devices that are used to create a wide variety of Networks. While the Router is mainly used for Connecting and Creating subnets, Switch connects a large number of Computers/ Servers within a Local Area Network. To know more about How to Connect to Cisco Router/Switch using Console with Putty keep reading this article till the end to boost up your knowledge.
To harness the functionalities they provide, these Networking Devices (Routers and Switches) needs to be configured according to the requirements and situations.
To configure the device, you need to connect to it first. There are various methods of Connecting to the Routers/Switches such as using Telnet, SSH, HTTP, Auxiliary Port, Console Port or VPN. In the situations of first-time device use, and some other operational conditions you may fail to have Network Connectivity to the Routers/ Switches, in Such Cases Auxiliary port and Console Ports are always the methods you would use to Connect to the Routers/ Switching for Configuring them as per your requirements.
Here We would discuss in detail how you connect to the Routers/ Switches using its Console Port.
Step 1: Identify Console Port on the Router/ Switch
Have a look at the below figure of the Cisco 2960 Catalyst Switch and identify the Console Port on it as marked in the figure.
Step 2: Identify COM Port (Serial RS 232) on Your Computer
Identify the COM Port (DB9 RS232,) on your Computer as marked inside the red rectangle in the below figure.
Step 3: Identify your Console Cable
The Console Cable which you would be used for connecting your computer to the Router/ Switch would look something like the below figure. It has RJ45 Connector at one end and at another end, it has 9 PIN RS232 Female Adapter.
Step 4: Connect Your Computer to The Router using Serial Cable
Now Connect RJ45 Port of the Serial Cable to the Console Port of the Router/ Switch, and Other 9 PIN adapter to the Serial Port of the Computer, to complete the Physical Connectivity Part.
Note: If you don’t have the serial port on your Computer, kindly refer to our article.
Step 5: Connect to Router/ Switch
Once you have completed the Physical Connectivity as per the instructions, you are good to go connecting to your Router/ Switch.
You may use your favorite tool for connecting to Router/ Switch. If you are in Windows you may use, hyper-terminal If you are in Linux you can use Minicom, screen or any other tool.
Connecting in Linux
If you are in Linux first identify the path used by the device. You can use the “dmesg” command to identify the port used by the Console Cable.
dmesg |grep tty
if you did not get anything, remove Console Cable from Computer and again reinsert it, and observe the output of the above command again.
Now assuming the path you get is dev/ttyACM0 and you have already installed screen tool, you can issue below command to connect to the Router/ Switch.
If you do not have screen installed you can easily install it using the default package manager of most of the Linux Distributions.
dmesg -c To clear the dmesg content
dmesg To display the kernel related messages
(used to get info of attached devices)
yum install screen Installing software “screen”
in RHEL/ Fedora/ CentOS
apt-get install screen Installing Software “screen”
in Debian/ Ubuntu/ Raspbian
Connecting in Windows Operating Systems
We would be using Putty Software in Windows as Hyperterminal is no more available in latest versions of Windows. Putty is a freely available Software from “https://www.putty.org/”.
In order to Connect, here also we need to identify the correct Port. In Windows Operating Systems we could locate this using Device Manager.
Once the Serial port has been located, Open the Putty Software and Select Serial among the Methods Raw/ Telnet/ Rlogin/ SsH/ Serial available on the Putty Interface. Enter the interface name which you Identified in the “Serial line” field, leave the speed as default.
Click on the Open Button and you have got a Console Connection to your Router/ Switch.
- Different Types of Router Memory: FLASH, NVRAM, DRAM, ROM
- Types of cables Used in Networking
To Download How to Connect to Cisco Router/Switch using Console with Putty in PDF – Click here