Your Blog

Included page "clone:modemfriendly" does not exist (create it now)

How to Configure Cisco Router Step-by-Step - 21 Dec 2018 18:09

Tags:

Routing, in simple terms, is the process by which a particular path is selected to move data packets across one, or multiple networks. The definition and more about the router can be found on the website modemfriendly.com, where everything about a router has been explained in a detailed yet, and layman manner.

One of the most famous names in the routing industry is Cisco. Cisco routers are the most widely used routers, and find applications in places ranging from a small house to big industries. If you’ve bought a Cisco Router and want to now start working with it, you will first need to configure the router right. Now, you can either configure the router using CLI (Command Line Interface) or using the Cisco CP (Configuration Professional).

Cisco CP is a licensed product and has to be bought separately. Hence, we’ll use CLI to configure the Cisco router. Before we see how to configure the Cisco router, let’s first see the basic CLI modes that we will be using. CLI Config Modes:

  • Router-Name> (User’s EXEC. Default mode)
  • Router-Name# (Privileged EXEC. nable’ command in UEM)
  • Router-Name(config)# (Global config mode. onfigure terminal’ command in PEM )
  • Router-Name(config-if)# (Interface config mode. nterface type interface-number’ command in GCM)
  • Router-Name(config-line)# (Line config mode)

Now that we’re a bit familiar with the various CLI config modes, let’s see how to configure Cisco router step by step using CLI:

  • Step 1 – Configuring the Password First we’ll need to configure the passwords. For global password, we’ll need to go to Global Config mode. Router# configureterminal (From this, we go to Privileged EXEC) Router(config)# enablesecretour-password’ Also, VTY (Telnet) password should also be set so that your device is secure even over Telnet. Router(config)# linevty04 Router(config-line)# passwordelnet-password’ Router(config-line)# login
  • Step 2 – Configuring the hostname for Router Give a proper hostname to the router so that you can uniquely identify the router on a network. Router(config)# hostnameRouter1 Router(config)# Now, we’ll use outer1’ as the router name for further configuration.
  • Step 3 – Configuring the IP Addresses Depending on the kind of network you’re on, you will need to configure the particular range of IP addresses. Here, we see the most basic configuration which works in most networks. Router1(config)# interfaceserial1/1 Router1(config-if)# ipaddress100.100.100.1255.255.255.252 Router1(config-if)# noshutdown Router1(config-if)# exit Router1(config)# interfacefastethernet0/1 Router1(config-if)# ipaddress192.168.10.1255.255.255.0 Router1(config-if)# noshutdown Router1(config-if)# exit If you want to know your own router’s IP address, the steps for them are mentioned in modemfriendly.com-192-168-1-1.
  • Step 4 – Configuring the Routing Since routing is basically sending data packets along a particular path, the path may be manually assigned or the router can dynamically assign the best path. Manual assignment of path by network administrator is called Static Routing. Dynamic assignment of path is called Dynamic Routing. Generally, the simple networks use static routing instead of dynamic routing. If you want to configure the same, you can perform the following commands based on the path you want to setup. Router1(config)# iproute For example, the below command tells router to reach network 255.255.200.0 via the gateway 101.101.101.1. Router1(config)# iproute 255.255.200.0 255.255.255.0 101.101.101.1
  • Step 5 – Saving these configurations To keep these configurations, we should save them to NVRAM (Non-Volatile RAM) so that the router doesn’t forget the configuration when switched off. Router1(config)# exit Router1# copyrunning-configstartup-config And to finally verify if all the configurations have been successfully saved, run the following command. Router1# showrunning-config That’s it.

Congratulations! You’ve successfully configured the Cisco Router. - Comments: 0


Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License