configuring routers
DESCRIPTION
Configuring Routers. I’ve got to program a router! . What do I have to do. Log on to the router. Router> Router>enable Router# Router#config t. Config t is the place to be!. Name the router!. Step One. Router(config)#hostname Lab-A. Lab-A. - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Configuring Routers](https://reader036.vdocuments.mx/reader036/viewer/2022062309/56815371550346895dc17775/html5/thumbnails/1.jpg)
Configuring Routers
![Page 2: Configuring Routers](https://reader036.vdocuments.mx/reader036/viewer/2022062309/56815371550346895dc17775/html5/thumbnails/2.jpg)
I’ve got to program a router!
What do I have to do
![Page 3: Configuring Routers](https://reader036.vdocuments.mx/reader036/viewer/2022062309/56815371550346895dc17775/html5/thumbnails/3.jpg)
Router>
Router>enable
Router#
Router#config t
Config t is the place to be!
Log on to the router
![Page 4: Configuring Routers](https://reader036.vdocuments.mx/reader036/viewer/2022062309/56815371550346895dc17775/html5/thumbnails/4.jpg)
Name the router!
Router(config)#hostname Lab-A
Step One
Lab-A
![Page 5: Configuring Routers](https://reader036.vdocuments.mx/reader036/viewer/2022062309/56815371550346895dc17775/html5/thumbnails/5.jpg)
Password protect the Privilege Mode
Step Two
Lab-A(config)#enable secret class
enable secret 5 $1$emBK$WxqLahy7YOAf0nifub
Results in:PasswordCommands
![Page 6: Configuring Routers](https://reader036.vdocuments.mx/reader036/viewer/2022062309/56815371550346895dc17775/html5/thumbnails/6.jpg)
Configure the Interfaces
Step Three
Lab-A(config)#interface serial0
Lab-A(config-if)#
(Note prompt change)
![Page 7: Configuring Routers](https://reader036.vdocuments.mx/reader036/viewer/2022062309/56815371550346895dc17775/html5/thumbnails/7.jpg)
Address the Interface(S0)
Lab-A(config-if)#ip address 201.100.11.1 255.255.255.0
Ip address Subnet mask
S0=201.100.11.1
![Page 8: Configuring Routers](https://reader036.vdocuments.mx/reader036/viewer/2022062309/56815371550346895dc17775/html5/thumbnails/8.jpg)
Clock ticks MUST be set between routers on the interface with the serial cable DCE end.
Serial0 is where the DCE connects in our
lab.
![Page 9: Configuring Routers](https://reader036.vdocuments.mx/reader036/viewer/2022062309/56815371550346895dc17775/html5/thumbnails/9.jpg)
We use Serial0Lab-A(config-if)#clock rate
56000
![Page 10: Configuring Routers](https://reader036.vdocuments.mx/reader036/viewer/2022062309/56815371550346895dc17775/html5/thumbnails/10.jpg)
Address the next Interface (E0)
Lab-A(config-if)#ip address 192.5.5.1 255.255.255.0
Lab-A(config-if)#interface ethernet0
(This changes to program interface e0)
S0=201.100.11.1
E0=192.5.5.1
![Page 11: Configuring Routers](https://reader036.vdocuments.mx/reader036/viewer/2022062309/56815371550346895dc17775/html5/thumbnails/11.jpg)
Control z
Lab-A#
Lab-A#show running-config
![Page 12: Configuring Routers](https://reader036.vdocuments.mx/reader036/viewer/2022062309/56815371550346895dc17775/html5/thumbnails/12.jpg)
Like people, routers have to talk to one another!
![Page 13: Configuring Routers](https://reader036.vdocuments.mx/reader036/viewer/2022062309/56815371550346895dc17775/html5/thumbnails/13.jpg)
Like people, routers have to talk to one another!
Step Four
Set up routing protocols
![Page 14: Configuring Routers](https://reader036.vdocuments.mx/reader036/viewer/2022062309/56815371550346895dc17775/html5/thumbnails/14.jpg)
Routing Protocols:
RIP RIPv2
IGRP EIGRP
OSPF
![Page 15: Configuring Routers](https://reader036.vdocuments.mx/reader036/viewer/2022062309/56815371550346895dc17775/html5/thumbnails/15.jpg)
Set up the routing protocol
Lab-A(config)#router rip
Lab-A(config-router)# version 2
Lab-A(config-router)#network 192.5.5.0
Lab-A(config-router)#network 201.100.11.0
(Note prompt change)
![Page 16: Configuring Routers](https://reader036.vdocuments.mx/reader036/viewer/2022062309/56815371550346895dc17775/html5/thumbnails/16.jpg)
Note! You have to configure for EACH network (remember network # is the “wire” #) Each network is on a separate line Hit Control z to activate and return to:
Lab-A#
![Page 17: Configuring Routers](https://reader036.vdocuments.mx/reader036/viewer/2022062309/56815371550346895dc17775/html5/thumbnails/17.jpg)
Control Access
Control and secure access from:
CONSOLE
VTY (telnet)
AUX (modem)
![Page 18: Configuring Routers](https://reader036.vdocuments.mx/reader036/viewer/2022062309/56815371550346895dc17775/html5/thumbnails/18.jpg)
Control Access
Step Five
Lab-A(config)#line console 0
Lab-A(config-line)#password cisco
(Note prompt change)
Lab-A(config-line)#login
![Page 19: Configuring Routers](https://reader036.vdocuments.mx/reader036/viewer/2022062309/56815371550346895dc17775/html5/thumbnails/19.jpg)
Continue
Lab-A(config)#line vty 0 4
Lab-A(config-line)#password cisco
Lab-A(config-line)#login
![Page 20: Configuring Routers](https://reader036.vdocuments.mx/reader036/viewer/2022062309/56815371550346895dc17775/html5/thumbnails/20.jpg)
Want to save time and move fast between routers?
Step Six
![Page 21: Configuring Routers](https://reader036.vdocuments.mx/reader036/viewer/2022062309/56815371550346895dc17775/html5/thumbnails/21.jpg)
Create a host file
Lab-A(config)#ip host Lab-A 192.5.5.1 205.7.5.1 201.100.11.1
Lab-A(config)#ip host Lab-B 219.17.100.1 199.6.13.1 201.100.11.2
Lab-A(config)#ip host Lab-C 223.8.151.1 204.204.7.1 199.6.13.2
Lab-A(config)#ip host Lab-D 210.93.105.1 204.204.7.2
Lab-A(config)#control z
![Page 22: Configuring Routers](https://reader036.vdocuments.mx/reader036/viewer/2022062309/56815371550346895dc17775/html5/thumbnails/22.jpg)
Turn on the interfaces:
Lab-A(config)#interface s0 Lab-A(config-if)#no shutdown Lab-A(config-if)#interface e0 Lab-A(config-if)#no shutdown
Step Seven
![Page 23: Configuring Routers](https://reader036.vdocuments.mx/reader036/viewer/2022062309/56815371550346895dc17775/html5/thumbnails/23.jpg)
Check and save your configuration (Step 8)
Router#show run (Check) Router#copy run start (Save)
![Page 24: Configuring Routers](https://reader036.vdocuments.mx/reader036/viewer/2022062309/56815371550346895dc17775/html5/thumbnails/24.jpg)
Let’s Review: Step 1 – name router Hostname xxxxx Step 2 – set “privilege” password and
encode it Enable secret xxxxx Step 3 – configure interfaces Interface sX (or eX)
![Page 25: Configuring Routers](https://reader036.vdocuments.mx/reader036/viewer/2022062309/56815371550346895dc17775/html5/thumbnails/25.jpg)
Step 4 – Set the routing protocols Router rip Step 5 – Set who and where access
comes from Line console (vty) Step 6 – Create a host file Ip host xxx.xxx.xxx yyy.yyy.yyy Step 7 – Turn on interfaces Router(config-if)#no shutdown
Let us review
![Page 26: Configuring Routers](https://reader036.vdocuments.mx/reader036/viewer/2022062309/56815371550346895dc17775/html5/thumbnails/26.jpg)
Step 8:Check and Save your work! Check your config Router#show run Save your configuration from RAM to
NVRAM Router#copy run start
![Page 27: Configuring Routers](https://reader036.vdocuments.mx/reader036/viewer/2022062309/56815371550346895dc17775/html5/thumbnails/27.jpg)
You’re Through!