Download presentation
Presentation is loading. Please wait.
1
Chapter 2: Basic Router Configuration
Department of Information Technology ITEC588 – Network Device Configuration Chapter 2: Basic Router Configuration Presenter: Dr. Patrick D. Cerna Asst. Professor :
2
Chapter 2 Objectives Connecting to a Cisco Router
Command Line Interface (CLI) Administrative functions Hostnames Banners Passwords Interface descriptions Verifying your configuration 2
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”. 3
4
Connecting To A Cisco Router
5
Setup Mode Basic Management Setup Extended Setup
Command-Line Interface
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
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
8
Configuration Modes Global configuration mode Interface mode
Router(config)# Interface mode Router(config–if)# Line configuration mode Router(config-line)# Router configuration mode Router(config-router)# 8
9
Configuration Modes 9
10
Configuration CLI Prompts Interfaces Sub-interfaces Line Commands
Routing Protocol Configurations
11
Administrative Functions
The administrative functions that you can configure on a router and switch are Hostnames Banners Passwords Interface descriptions
12
Hostnames & Descriptions
Router(config)#hostname haramaya todd(config)# Descriptions Atlanta(config)#int e0 Atlanta(config-if)#description cci_lan
13
Banners Purpose: welcome message Types Delimiting character
exec: set EXEC process creation banner incoming: set incoming terminal line banner login: login banner motd: set “Message of the Day” banner Delimiting character
14
Banners 14
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
16
Passwords Enable passwords Auxiliary Password Console Password
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
17
Passwords 17
18
Passwords 18
19
Passwords 19
20
Passwords 20
21
Passwords 21
22
Interface Descriptions
Setting 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 e0 Atlanta(config-if)#description Sales Lan Atlanta(config-if)#int s0 Atlanta(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.
23
Router Interfaces Bringing up an Interface
no shutdown shutdown show interface Configuring an IP Address on an Interface Router(config)#int e0 Router(config-if)#ip address Router(config-if)#no shut Serial Interface Commands clock rate & bandwidth (entered in kilobits)
24
Viewing, & Saving Configurations
running-config saved in DRAM startup-config saved in NVRAM copy run start sh run sh start erase startup-config
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
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.