Configuring Routers - PowerPoint PPT Presentation

1 / 34
About This Presentation
Title:

Configuring Routers

Description:

Configuring Routers – PowerPoint PPT presentation

Number of Views:109
Avg rating:3.0/5.0
Slides: 35
Provided by: delv8
Category:

less

Transcript and Presenter's Notes

Title: Configuring Routers


1
Configuring Routers
2
Oh No! Ive got to program a router!
What do I have to do
3
Log on to the router
Routergt Routergtenable Router Routerconfig t
Config t is the place to be!
4
Name the router!
Step One
Router(config)hostname Lab-A
Lab-A
5
Password protect the Privilege Mode
Step Two
Lab-A(config)enable secret class
Password
Commands
Results in
  enable secret 5 1emBKWxqLahy7YOAf0nifub.hU
6
Configure the Interfaces
Step Three
Lab-A(config)interface serial0 Lab-A(config-if)
(Note prompt change)
7
Address the Interface(S0)
Lab-A(config-if)ip address 201.100.11.1
255.255.255.0
Ip address
Subnet mask
S0
S0201.100.11.1
8
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.
9
We use Serial0
  • Lab-A(config-if)clock rate 56000

10
Address the next Interface (E0)
Lab-A(config-if)interface ethernet0
(This changes to program interface e0)
Lab-A(config-if)ip address 192.5.5.1
255.255.255.0
E0192.5.5.1
E0
S0
S0201.100.11.1
11
Address the next Interface (e1)
Lab-A(config-if)interface ethernet1
(This changes to program interface e1)
Lab-A(config-if)ip address 205.7.5.1
255.255.255.0
E0192.5.5.1
S1No address
E0
E1
S0
S0201.100.11.1
E1205.7.5.1
12
Control z
Lab-A Lab-Ashow running-config
13
Results
  • version 12.0
  • service timestamps debug uptime
  • service timestamps log uptime
  • no service password-encryption
  • service udp-small-servers
  • service tcp-small-servers
  • !
  • hostname Lab-A
  • !
  • enable secret 5 1emBKWxqLahy7YOAf0nifub.hU.
  • !
  • ip subnet-zero

--More--
14
interface Ethernet0 ip address 192.5.5.1
255.255.255.0 no ip directed-broadcast shutdown !
interface Ethernet1 ip address 205.7.5.1
255.255.255.0 no ip directed-broadcast shutdown
--More--
15
interface Serial0 ip address 201.100.11.1
255.255.255.0 no ip directed-broadcast no ip
mroute-cache clockrate 56000 shutdown ! interface
Serial1 no ip address no ip directed-broadcast
shutdown
16
Like people, routers have to talk to one another!
17
Like people, routers have to talk to one another!
Step Four
Set up routing protocols
18
Routing Protocols
RIP RIPv2 IGRP EIGRP OSPF
19
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
207.7.5.0 Lab-A(config-router)network
201.100.11.0
(Note prompt change)
20
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

21
Lab-Ashow run
(router portion of show run)
! router rip version 2 network 192.5.5.0
network 201.100.11.0 network 205.7.5.0 !

22
Control Access
Control and secure access from CONSOLE VTY
(telnet) AUX (modem)
23
Control Access
Step Five
Lab-A(config)line console 0 Lab-A(config-line)pa
ssword cisco
(Note prompt change)
Lab-A(config-line)login
24
Continue
Lab-A(config)line vty 0 4 Lab-A(config-line)pass
word cisco Lab-A(config-line)login
25
Control Z(typing the word exit at the prompt
takes you up one level)
Lab-Ashow run will give the following
results line con 0 password cisco login
transport input none line aux 0 line vty 0 4
password cisco login
26
Want to save time and move fast between routers?
Step Six
27
A REAL time Saver!
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)ip host
Lab-E 210.93.105.2 Lab-A(config)control z
28
Turn on the interfaces
Step Seven
  • Lab-A(config)interface s0
  • Lab-A(config-if)no shutdown
  • Lab-A(config-if)interface e0
  • Lab-A(config-if)no shutdown
  • Lab-A(config-if)interface e1
  • Lab-A(config-if)no shutdown

29
For Lab-A router, you are through!
30
Program the other routers the same way, BUT
  • Use the interfaces in use on each particular
    router
  • Use the correct ip address/network address for
    each port on that router
  • Check and save your configuration!
  • Routershow run (Check)
  • Routercopy run start (Save)

31
Lets 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)

32
  • Step 4 Set the routing protocols
  • Router rip
  • Step 5 Set who and where access comes from
  • Line console (vty)
  • Step 6 Save Time
  • Ip host xxx.xxx.xxx yyy.yyy.yyy
  • Step 7 Turn on interfaces
  • Router(config-if)no shutdown

33
Check and Save your work!
  • Check your config
  • Routershow run
  • Save your configuration from RAM to NVRAM
  • Routercopy run start

34
Youre Through!
Write a Comment
User Comments (0)
About PowerShow.com