configuring a router harold hernandez, ms, ccni. 3.1 configuring a router name a router set...

26
Configuring a Configuring a Router Router Harold Hernandez, MS, CCNI Harold Hernandez, MS, CCNI

Upload: chloe-holloway

Post on 26-Mar-2015

262 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Configuring a Router Harold Hernandez, MS, CCNI. 3.1 Configuring a Router Name a router Set passwords Examine show commands Configure a serial interface

Configuring a RouterConfiguring a RouterConfiguring a RouterConfiguring a Router

Harold Hernandez, MS, CCNIHarold Hernandez, MS, CCNI

Page 2: Configuring a Router Harold Hernandez, MS, CCNI. 3.1 Configuring a Router Name a router Set passwords Examine show commands Configure a serial interface

3.1 Configuring a Router

• Name a router • Set passwords • Examine show commands • Configure a serial interface • Configure an Ethernet interface • Execute changes to a router • Save changes to a router

Page 3: Configuring a Router Harold Hernandez, MS, CCNI. 3.1 Configuring a Router Name a router Set passwords Examine show commands Configure a serial interface

CLI Command Modes

Page 4: Configuring a Router Harold Hernandez, MS, CCNI. 3.1 Configuring a Router Name a router Set passwords Examine show commands Configure a serial interface

Configuration Modes

Page 5: Configuring a Router Harold Hernandez, MS, CCNI. 3.1 Configuring a Router Name a router Set passwords Examine show commands Configure a serial interface

Let’s PlayLet’s PlayLet’s PlayLet’s Play

What does it do?What does it do?

Page 6: Configuring a Router Harold Hernandez, MS, CCNI. 3.1 Configuring a Router Name a router Set passwords Examine show commands Configure a serial interface

Changes the name of the router

• Router(config)#hostname Tokyo

Page 7: Configuring a Router Harold Hernandez, MS, CCNI. 3.1 Configuring a Router Name a router Set passwords Examine show commands Configure a serial interface

Identifies the console port for configuration.

• Router(config)#line console 0

Page 8: Configuring a Router Harold Hernandez, MS, CCNI. 3.1 Configuring a Router Name a router Set passwords Examine show commands Configure a serial interface

Tells the router to prompt the user for a password

• Router(config-line)#login

Page 9: Configuring a Router Harold Hernandez, MS, CCNI. 3.1 Configuring a Router Name a router Set passwords Examine show commands Configure a serial interface

Sets the password to access the line as cisco• Router(config-line)#password

cisco

Page 10: Configuring a Router Harold Hernandez, MS, CCNI. 3.1 Configuring a Router Name a router Set passwords Examine show commands Configure a serial interface

Identifies telnet sessions 0 to 4 for configuration.

• Router(config)#line vty 0 4

Page 11: Configuring a Router Harold Hernandez, MS, CCNI. 3.1 Configuring a Router Name a router Set passwords Examine show commands Configure a serial interface

Restricts access to privilaged exec to those who know the password

• Router(config)#enable password class

Page 12: Configuring a Router Harold Hernandez, MS, CCNI. 3.1 Configuring a Router Name a router Set passwords Examine show commands Configure a serial interface

Restricts access to priv. exec and doesn’t show password in clear text

when displaying running-config

• Router(config)#enable secret class

Page 13: Configuring a Router Harold Hernandez, MS, CCNI. 3.1 Configuring a Router Name a router Set passwords Examine show commands Configure a serial interface

Encrypts all passwords so they aren’t in clear

text.• Router(config)#service

password-encryption

Page 14: Configuring a Router Harold Hernandez, MS, CCNI. 3.1 Configuring a Router Name a router Set passwords Examine show commands Configure a serial interface

Gives info about s0/1 including DCE/DTE end of

serial cable

• Router#show controllers serial 0/1

Page 15: Configuring a Router Harold Hernandez, MS, CCNI. 3.1 Configuring a Router Name a router Set passwords Examine show commands Configure a serial interface

Displays config stored in NVRAM

• show startup-config

Page 16: Configuring a Router Harold Hernandez, MS, CCNI. 3.1 Configuring a Router Name a router Set passwords Examine show commands Configure a serial interface

Displays configuration in RAM

• show running-config

Page 17: Configuring a Router Harold Hernandez, MS, CCNI. 3.1 Configuring a Router Name a router Set passwords Examine show commands Configure a serial interface

Specifies interface to be configured.

• Router(config)#interface serial 0/0

Page 18: Configuring a Router Harold Hernandez, MS, CCNI. 3.1 Configuring a Router Name a router Set passwords Examine show commands Configure a serial interface

Attaches an IP address to an interface

• Router(config-if)#ip address <ip address > <netmask >

Page 19: Configuring a Router Harold Hernandez, MS, CCNI. 3.1 Configuring a Router Name a router Set passwords Examine show commands Configure a serial interface

Establishes a timing mechanism for lab

routers• Router(config-if)#clock rate

56000 How do you know which router should use this command?

It’s the router with the DCE cable attached to its serial port!

Page 20: Configuring a Router Harold Hernandez, MS, CCNI. 3.1 Configuring a Router Name a router Set passwords Examine show commands Configure a serial interface

Brings an interface back up after it’s been

configured.• Router(config-if)#no shutdown

Page 21: Configuring a Router Harold Hernandez, MS, CCNI. 3.1 Configuring a Router Name a router Set passwords Examine show commands Configure a serial interface

Removes configuration from NVRAM.

• erase startup-config

Page 22: Configuring a Router Harold Hernandez, MS, CCNI. 3.1 Configuring a Router Name a router Set passwords Examine show commands Configure a serial interface

Copies configuration from RAM to NVRAM

• Router#copy running-config startup-config

Page 23: Configuring a Router Harold Hernandez, MS, CCNI. 3.1 Configuring a Router Name a router Set passwords Examine show commands Configure a serial interface

3.2 Finishing the Configuration

• Configure an interface description • Configure a message-of-the-day

banner • Configure host tables • Understand the importance of

backups and documentation

Page 24: Configuring a Router Harold Hernandez, MS, CCNI. 3.1 Configuring a Router Name a router Set passwords Examine show commands Configure a serial interface

Documentation• The _________ command allows

administrators to add comments about a particular interface.

• Login banners can be used to convey messages that affect all network users, such as scheduled system shutdowns.

• banner motd # <message of the day > # sends a message to any attached terminal.

description

Page 25: Configuring a Router Harold Hernandez, MS, CCNI. 3.1 Configuring a Router Name a router Set passwords Examine show commands Configure a serial interface

Ease of Use• _________ are short-cuts that aid

administrators when testing routes. • By assigning an IP address a name, the

admin can ping the name instead of the 32-bit dotted decimal IP address.

• IP host BW 192.168.1.1 is an example of one such short-cut.

Host tables

Page 26: Configuring a Router Harold Hernandez, MS, CCNI. 3.1 Configuring a Router Name a router Set passwords Examine show commands Configure a serial interface

Life is beautiful