department of information technology chapter 2: basic router configuration : presenter: dr. patrick...

25
Department of Information Technology Chapter 2: Basic Router Configuration : Presenter: Dr. Patrick D. Cerna Asst. Professor ITEC588 – Network Device Configuration 1

Upload: ashley-butler

Post on 28-Dec-2015

217 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Department of Information Technology Chapter 2: Basic Router Configuration : Presenter: Dr. Patrick D. Cerna Asst. Professor ITEC588 – Network Device Configuration

1

Department of Information Technology

Chapter 2: Basic Router Configuration

:

Presenter: Dr. Patrick D. CernaAsst. Professor

ITEC588 – Network Device Configuration

Page 2: Department of Information Technology Chapter 2: Basic Router Configuration : Presenter: Dr. Patrick D. Cerna Asst. Professor ITEC588 – Network Device Configuration

2

Chapter 2 Objectives

• Connecting to a Cisco Router• Command Line Interface (CLI)• Administrative functions

– Hostnames– Banners– Passwords– Interface descriptions

• Verifying your configuration

2

Page 3: Department of Information Technology Chapter 2: Basic Router Configuration : Presenter: Dr. Patrick D. Cerna Asst. Professor ITEC588 – Network Device Configuration

3

Router Access (Connecting to a Cisco Router - 173)

• Console port (console)– Rollover cable (each end is a mirror-image o/t other)• RJ-45 to DB-9• RJ-45 to DB-25

• Auxiliary port (AUX)– Can function like a console port– Or, can accept modem commands, i.e., from sources

outside the network (i.e., “out of band”)• Virtual terminal (VTY)– This is for telnet access– This kind of access is from within the network (i.e., “in

band”.

Page 4: Department of Information Technology Chapter 2: Basic Router Configuration : Presenter: Dr. Patrick D. Cerna Asst. Professor ITEC588 – Network Device Configuration

4

Connecting To A Cisco Router

Cisco 2811

Cisco 1841

Page 5: Department of Information Technology Chapter 2: Basic Router Configuration : Presenter: Dr. Patrick D. Cerna Asst. Professor ITEC588 – Network Device Configuration

5

Setup Mode

• Basic Management Setup• Extended Setup• Command-Line Interface

Page 6: Department of Information Technology Chapter 2: Basic Router Configuration : Presenter: Dr. Patrick D. Cerna Asst. Professor ITEC588 – Network Device Configuration

6

Command-Line Interface (CLI)

• More flexible than setup mode.• To use the CLI, just say “No” to entering the initial

configuration dialog.• Initial prompt consists of two parts– Hostname– Greater than symbol (>)

p. 179

Page 7: Department of Information Technology Chapter 2: Basic Router Configuration : Presenter: Dr. Patrick D. Cerna Asst. Professor ITEC588 – Network Device Configuration

7

Overview of Router Modes• Global changes:– config terminal or config t– Changes made to running-config (DRAM)– To change the startup-config (NVRAM)• config memory or config mem

• Note: Any configuration changes need to be placed into RAM.

• Typing “config mem” or “config net” (from a TFTP host) will append the current running-config

p. 1

Page 8: Department of Information Technology Chapter 2: Basic Router Configuration : Presenter: Dr. Patrick D. Cerna Asst. Professor ITEC588 – Network Device Configuration

8

Configuration Modes• Global configuration mode– Router(config)#

• Interface mode– Router(config–if)#

• Line configuration mode– Router(config-line)#

• Router configuration mode– Router(config-router)#

Page 9: Department of Information Technology Chapter 2: Basic Router Configuration : Presenter: Dr. Patrick D. Cerna Asst. Professor ITEC588 – Network Device Configuration

9

Configuration Modes

Page 10: Department of Information Technology Chapter 2: Basic Router Configuration : Presenter: Dr. Patrick D. Cerna Asst. Professor ITEC588 – Network Device Configuration

10

Configuration

• CLI Prompts• Interfaces• Sub-interfaces• Line Commands• Routing Protocol

Configurations

Page 11: Department of Information Technology Chapter 2: Basic Router Configuration : Presenter: Dr. Patrick D. Cerna Asst. Professor ITEC588 – Network Device Configuration

11

Administrative Functions

The administrative functions that you can configure on a router and switch are

• Hostnames• Banners• Passwords• Interface descriptions

Page 12: Department of Information Technology Chapter 2: Basic Router Configuration : Presenter: Dr. Patrick D. Cerna Asst. Professor ITEC588 – Network Device Configuration

12

Hostnames & Descriptions• Hostnames

Router(config)#hostname haramayatodd(config)#

• DescriptionsAtlanta(config)#int e0Atlanta(config-if)#description cci_lan

Page 13: Department of Information Technology Chapter 2: Basic Router Configuration : Presenter: Dr. Patrick D. Cerna Asst. Professor ITEC588 – Network Device Configuration

13

Banners• Purpose: welcome message• Types– exec: set EXEC process creation banner– incoming: set incoming terminal line banner– login: login banner– motd: set “Message of the Day” banner

• Delimiting character

Page 14: Department of Information Technology Chapter 2: Basic Router Configuration : Presenter: Dr. Patrick D. Cerna Asst. Professor ITEC588 – Network Device Configuration

14

Banners

Page 15: Department of Information Technology Chapter 2: Basic Router Configuration : Presenter: Dr. Patrick D. Cerna Asst. Professor ITEC588 – Network Device Configuration

15

Setting the Passwords• 5 passwords:– 1st two used to set your enable password

• Used to secure privileged mode; • Router>enable• Or Router>en (because no other commands at privileged

level . begin with “en”

– Other three are used to configure a password in user mode via:• console port• auxiliary port• Telnet

Page 16: Department of Information Technology Chapter 2: Basic Router Configuration : Presenter: Dr. Patrick D. Cerna Asst. Professor ITEC588 – Network Device Configuration

16

Passwords• Enable passwords– Router(config)#enable password cisco– Router(config)#enable secret cisco

Note: the secret password supersedes the enable password, i.e., if you set both passwords, you will be asked for the secret password.

• Auxiliary Password• Console Password• Telnet Password• Encrypting Your Password

Router(config)#service password-encryption

Page 17: Department of Information Technology Chapter 2: Basic Router Configuration : Presenter: Dr. Patrick D. Cerna Asst. Professor ITEC588 – Network Device Configuration

17

Passwords

Page 18: Department of Information Technology Chapter 2: Basic Router Configuration : Presenter: Dr. Patrick D. Cerna Asst. Professor ITEC588 – Network Device Configuration

18

Passwords

Page 19: Department of Information Technology Chapter 2: Basic Router Configuration : Presenter: Dr. Patrick D. Cerna Asst. Professor ITEC588 – Network Device Configuration

19

Passwords

Page 20: Department of Information Technology Chapter 2: Basic Router Configuration : Presenter: Dr. Patrick D. Cerna Asst. Professor ITEC588 – Network Device Configuration

20

Passwords

Page 21: Department of Information Technology Chapter 2: Basic Router Configuration : Presenter: Dr. Patrick D. Cerna Asst. Professor ITEC588 – Network Device Configuration

21

Passwords

Page 22: Department of Information Technology Chapter 2: Basic Router Configuration : Presenter: Dr. Patrick D. Cerna Asst. Professor ITEC588 – Network Device Configuration

22

Interface DescriptionsSetting descriptions on an interface is helpful to the administrator and, like the hostname, only locally significant. The description command is a helpful one because you can, for instance, use it to keep track of circuit numbers.

Here’s an example:Atlanta(config)#int e0Atlanta(config-if)#description Sales LanAtlanta(config-if)#int s0Atlanta(config-if)#desc Wan to Miami circuit:6fdda4321

You can view the description of an interface either with the show running-config command or the show interface command.

Page 23: Department of Information Technology Chapter 2: Basic Router Configuration : Presenter: Dr. Patrick D. Cerna Asst. Professor ITEC588 – Network Device Configuration

23

Router Interfaces

• Bringing up an Interfaceno shutdownshutdownshow interface

• Configuring an IP Address on an InterfaceRouter(config)#int e0Router(config-if)#ip address 172.16.10.2 255.255.255.0Router(config-if)#no shut

• Serial Interface Commandsclock rate & bandwidth (entered in kilobits)

Page 24: Department of Information Technology Chapter 2: Basic Router Configuration : Presenter: Dr. Patrick D. Cerna Asst. Professor ITEC588 – Network Device Configuration

24

Viewing, & Saving Configurations

• Viewing & Saving Configurations– running-config saved in DRAM– startup-config saved in NVRAM

copy run startsh runsh starterase startup-config

Page 25: Department of Information Technology Chapter 2: Basic Router Configuration : Presenter: Dr. Patrick D. Cerna Asst. Professor ITEC588 – Network Device Configuration

25

References:• Glen E. Clarke, CompTIA Network+, 4th ed.,

2009 Mc Graw Hill • CCNA Exploration, 2006, Cisco Press • Todd Lammle, CCNA Study Guide, 7th Ed.,

2009, Sybex

25