Configuring 2 Routers (Cisco)

Basic Router Configuration
Topology
Address Table
For router connections using the console, you need a console cable and DB-9 to USB converter. The remote console process can be done with a putty or hyperterminal application for the Windows operating system. Whereas on Linux you can use Minicom -s
Configuration
To set up basic routers R1 and R2, use console access from Laptop1 and Laptop2. After that, type the basic router command below in R1 and R2

1.After the telnet login, type enable privileged EXEC mode
  • Router> enable
  • Router#
2.Enter global configuration mode
  • Router# config terminal
  • Router(config)# 
3.Provides the name of the device router
  • Router(config)# hostname R1 
4.Disable DNS lookup to prevent routers from translating typos.
  • R1(config)# no ip domain-lookup
5.Password settings are encrypted privileges (password is free)
  • R1(config)# enable secret mantap
6.Setting console password (password is free). Activate the command timeout so that for 5 minutes 0 seconds there is no activity, it will logout itself.
  • R1(config)# line console 0
  • R1(config-line)# password rahasia
  • R1(config-line)# exec-timeout 5 0 
  • R1(config-line)# login 
7.Setting vty password (password is free). Activate the command timeout so that for 5 minutes 0 seconds there is no activity, it will logout itself.
  • R1(config)# line vty 0 4
  • R1(config-line)# password 123
  • R1(config-line)# exec-timeout 5 0 
  • R1(config-line)# login 
8.Enable clear text password encryption
  • R1(config)# service password-encryption
9.Create a banner that provides information to users who do not have authorization forbidden to log in to the router.
  • R1(config)# banner motd #Unauthorized access prohibited!#
10.IP address and interface description settings. Activate the router interface with the no-shutdown sub-command.
  • R1(config)# int fa1/0 
  • R1(config-if)# description Connection to R2 
  • R1(config-if)# ip address 12.12.12.1 255.255.255.0
  • R1(config-if)# no shutdown
  • R1(config-if)# exit 
  • R1(config)# exit 
  • R1# 
11.Setting the clock on the router; example as below
  • R1# clock set 10:00:00 9 Jan 2018 
12.Save the configuration configuration file running-configuration to startup-configuration.
  • R1# copy running-config startup-config
  • R1# 
Note: repeat the same steps above to set up basic router R2 and the router's IP interface settings that have not been set at R1 or R2

When we set up the router, the configuration will be stored temporarily in the file running configuration (RAM), therefore an important save process is to be carried out so that when the router reboots or shuts down the router configuration file is still stored in startupconfiguration (NVRAM).
Verification
After setting up the basic routers R1 and R2, the next step is to verify that the configuration we input is correct with the show command running-config and show ip interface brief.
Perform the Ping test:
  • from Laptop1 to Fa0 / 0 R1
  • from Laptop to Fa0 / 0 R2
  • from Fa1 / 0 R1 to Fa1 / 0 R2
Make sure the Ping test above works all. Use CMD on the Laptop for the Ping test, how to click LaptopX -> select the Desktop tab -> select Command Prompt -> type ping IP_Tujuan (Enter).
Displays full information about router configuration
  • R1# show running-config
  • Use the Enter key to display per line
  • Use the q button to exit the router configuration view
Check the configuration that has been entered whether there is something wrong or not.
Display interface information
  • R1# show ip interface brief 
From the interface information display, check whether the configured IP matches the addressing table or not
Connectivity tests between routers R1 and R2
Perform the Ping test from R1 to R2 and vice versa. The first ping success rate is still 80%.
  • R1#ping 12.12.12.2
Repeat the Ping test to a 100% success rate.

0 Response to "Configuring 2 Routers (Cisco)"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel