How to configure Cisco Router Step by Step
This post is in no way, shape or forms a comprehensive instructional exercise about Cisco Routers and how to arrange their various highlights. It is a bit by bit direct for the most essential setup directions expected to make the switch operational.
At the point when you first catalyst another Cisco Router, you have the choice of utilizing the “arrangement” utility which enables you to make a fundamental starting design. In any case, in this post, I will tell you the best way to do this essential arrangement with the Command Line Interface (CLI).
Acing the Cisco Router CLI is basic for progressively complex setup errands and it is the most significant information you ought to gain in the event that you need to turn into a Cisco arrange executive.
CLI Configuration Modes
The fundamental CLI modes that we will allude beneath are as following:
Router> <–User EXEC Mode
Router# <–Privileged EXEC mode
Router(config)# <–Global Configuration Mode
Router(config-if)# <–Interface Configuration Mode
Router(config-line)# <–Line Configuration Mode
I expect that you as of now have some fundamental information on CLI and how to explore between various design modes (client mode, special executive mode and so on), so we should begin:
Step1: Configure Access Passwords
The initial step is to tie down your entrance to the switch by arranging a worldwide mystery secret phrase and furthermore passwords for Telnet or Console as required.
Go into Global Configuration mode from the Privileged EXEC mode:
Router# configure terminal <–Privileged EXEC mode
Router(config)# <–Global Configuration Mode
In Global Configuration Mode you arrange parameters that influence the entire switch gadget. Here we will arrange the Enable secret password that you will use from now possess to go into Privileged EXEC Mode from User EXEC Mode.
Router(config)# enable secret “somestrongpassword”
Starting now and into the foreseeable future, when you sign in from client EXEC mode you will be requested a secret key.
It is recommended likewise to arrange a secret key for the Telnet Lines (VTY lines) which will verify your entrance while interfacing by means of Telnet over the network.
Router(config)# line vty 0 4
Router(config-line)# secret key “strongTelnetPass”
Router(config-line)# login
Step2: Configure a Router Hostname
To separate your Router from different gadgets in the system, you ought to arrange a Hostname for your device.
Router(config)# hostname My-Router
My-Router(config)#
Notice that your Router brief changes to the new hostname that you have quite just set.
Step3: Configure IP addresses for Router Interfaces
This is a fundamental advance all together for your switch to have the option to advance parcels in the system. The most fundamental parameter for a Router Interface is the IP address. From Global Configuration Mode you have to go into Interface Configuration Mode:
My-Router(config)# interface serial 1/1
My-Router(config-if)# IP address 100.100.100.1 255.255.255.252
My-Router(config-if)# no shutdown
My-Router(config-if)# exit
My-Router(config)# interface fastEthernet 0/1
My-Router(config-if)# IP address 192.168.10.2 255.255.255.0
My-Router(config-if)# no shutdown
My-Router(config-if)# exit
Step4: Configure Routing (Static or Dynamic)
The Router’s principal objective is to locate the best course way towards a goal organize and forward parcels as per the best way.
There are two principal ways a switch realizes where to send parcels. The overseer can appoint static routers, or the router can learn courses by utilizing a dynamic routing protocol.
For basic system topologies, static steering is favored over powerful directing. How about we perceive how to arrange static courses from Global Configuration Mode.
My-Router(config)# ip route [destination network] [subnet mask] [gateway]
My-Router(config)# ip route 200.200.200.0 255.255.255.0 100.100.100.2
The direction above tells the switch that system 200.200.200.0/24 is reachable through entryway address 100.100.100.2.
Another prominent static course that we as a rule design on Internet Border switches is the default static course:
My-Router(config)# ip course 0.0.0.0 0.0.0.0 50.50.50.1
The default static route above trains the switch to send ALL parcels that the switch doesn’t have an increasingly explicit course section to portal address 50.50.50.1 (which may be the ISP entryway address).
Step5: Save your configuration
save your current running arrangement into NVRAM. This will overwrite the startup setup.
My-Router(config)# exit
My-Router# copy running-config startup-config
You can show your present setup to check your settings as follows:
My-Router# show running-config