Configuring the Router Chapter 7 Connecting People To Information.

Slides:



Advertisements
Similar presentations
© 2007 Cisco Systems, Inc. All rights reserved.ICND1 v1.0—2-1 Ethernet LANs Starting a Switch.
Advertisements

© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—5-1 Establishing Serial Point-To-Point Connections Configuring Serial Point-To-Point Encapsulation.
Cisco Router. Overview Understanding and configuring the Cisco Internetwork Operating System (IOS) Connecting to a router Bringing up a router Logging.
1 CCNA 2 v3.1 Module 3. 2 CCNA 2 Module 3 Configuring a Router.
Router Startup and Setup & Router Configuration 1
Introduction to the Cisco IOS
CCNA 2 v3.1 Module 5.
CCNA Guide to Cisco Networking Fundamentals Fourth Edition
CCNA 2 v3.1 Module 2.
Chapter 9 Managing a Cisco Internetwork Cisco Router Components Bootstrap - Brings up the router during initialization POST - Checks basic functionality;
© 2004 Cisco Systems, Inc. All rights reserved. Operating and Configuring Cisco IOS Devices Configuring a Router INTRO v2.0—8-1.
Advance Configuration IOS Commands. Overview of Router Modes Router(config)# Router>enable Router#config term Exit Ctrl-Z (end) User EXEC Mode Privileged.
IST 228\Ch4\Cisco IOS1 What we will be able to do?
Sybex CCNA Chapter 7: Managing a Cisco Internetwork Instructor & Todd Lammle.
Cisco 2 - Routers Perrine & modified by Brierley Page 18/18/2015 Chapter 5 IOS Internet Operating System (IOS)
© 2007 Cisco Systems, Inc. All rights reserved.ICND1 v1.0—4-1 WAN Connections Configuring Serial Encapsulation.
Introduction to OSPF Campus Networking Workshop These materials are licensed under the Creative Commons Attribution-Noncommercial 3.0 Unported license.
Routers A router is a computer Computers have four basic components:
1 Chapter 2 ROUTER FUNDAMENTALS By: Tassos Tassou.
1 Semester 2 Module 3 Configuring a Router Yuda college of business James Chen
Cisco Router MODES Configuration Prompt Interface Router(config-if)#
© Wiley Inc All Rights Reserved. CCNA: Cisco Certified Network Associate Study Guide CHAPTER 9: Managing a Cisco Internetwork.
Chapter 6 Router Configuration Sem 2V2. Configuration files can come from the console NVRAM TFTP server. The router has several modes:  privileged mode.
Console Connectivity RJ-45 Connector Console Port Computer Rollover Cable RJ-45 to DB-9 Converter.
Instructor & Todd Lammle
CCNA Guide to Cisco Networking
1. 2 Console Connectivity RJ-45 Connector Console Port Computer Rollover Cable RJ-45 to DB-9 Converter.
Ch.3 – Configuring a Router CCNA 1 version 3.0. Overview Students completing this module should be able to: Name a router Set passwords Examine show commands.
–System startup routines initiate router software –Router falls back to startup alternatives if needed Check hardware Find and load Cisco IOS software.
Chap 5 Startup and Setup Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology
Instructor & Todd Lammle
© 2002, Cisco Systems, Inc. All rights reserved..
Page 110/19/2015 Chapter 5 CCNA2 Chapter 5 Managing Cisco IOS Software.
Basic Router Configuration 1.1 Global configuration Cisco allows us to configure the router to support various protocols and interfaces. The router stores.
1 Router Internal Components Console Auxiliary Interfaces RAMNVRAMFlashROM RAM - Packet buffers, running configurations, running IOS ROM - Rom Monitor,
Ch.2 – Introduction to Routers
Configuring a Router. Router user interface The Cisco IOS software uses a command-line interface (CLI) as the traditional console environment. This environment.
Release 16/07/2009Jetking Infotrain Ltd. Basic Router Configuration Chapter 5.
IOS Backup & Password Breaking Technique of Routers & Switches Chapter 17 powered by DJ 1.
Module 3 Configuring a Router.
Router Fundamentals PJC CCNA Semester 2 Ver. 3.0 by William Kelly.
© 2007 Cisco Systems, Inc. All rights reserved.ICND1 v1.0—4-1 LAN Connections Configuring a Cisco Router.
© 1999, Cisco Systems, Inc. 5-1 Chapter 5 Managing Your Network Environment.
Chapter 5 Managing a Cisco Internetwork
Router Basics Chapter 6 Connecting People To Information.
Will learn to use router modes and configuration methods to update a router's configuration file with current and prior versions of Cisco Internetwork.
Ch.2 – Introduction to Routers CCNA 2 version 3.0 Rick Graziani Cabrillo College.
Introduction to Routers
Router Configuration. CISCO 2500 series router.
Point to Point Protocol Open Standard Protocol (works with same and different company Routers i.e. Cisco– Nortel, Cisco–Multicom. Supports Authentication.
Configuration Modes and TFTP Honolulu Community College Cisco Academy Training Center Semester 2 Version 2.1.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Router Initialization steps.
Configuring a Router MM Clements. Copyright This Week Command line interface Router configuration Modes for configuration Interface.
Router Startup and Setup & Router Configuration 1 Semester 2 Chapter 5/6 By: William Widulski.
Cisco S2 C6 Router Configuration 1. Router Boot Up Router uses following from config-startup when it boots –Cisco IOS software version –Router identification.
Chapter 4 Internetworking Operating System )IOS) and Security Device Manager (SDM)
Cisco 2 - Routers Perrine. J Page 13/7/2016 Chapter 3 Cisco Router Modes ConfigurationPrompt InterfaceRouter(config-if)# LineRouter(config-line)# RouterRouter(config-router)#
Console Connectivity RJ-45 Connector Console Port Computer Rollover Cable RJ-45 to DB-9 Converter.
Configuring a Router Module 3 Semester 2. Router Configuration Tasks Name a router Set passwords Examine show commands Configure a serial interface Configure.
CHAPTER 3 Router CLI Command Line Interface. Router User Interface User and privileged modes User mode --Typical tasks include those that check the router.
Introduction to networking (Yarnfield) Configure a router.
© 2002, Cisco Systems, Inc. All rights reserved..
Router Components & Configuration. Router Components & Configurations Topics Physical components Memory components Configuration modes Keystroke shortcuts.
Managing a Cisco Devices Internetwork
INITIAL CONFIGURATION.
Introduction to Cisco IOS -(Internetwork Operating System)
Semester 2 5/6 JEOPARDY CHAPTERS 5 & 6 REVIEW S2C06 Jeopardy Review.
Configuring a Cisco Router
Presentation transcript:

Configuring the Router Chapter 7 Connecting People To Information

Loading Configuration Files

Connecting People To Information Router Configuration Overview Load configuration parameters into RAM Personalize router identification Assign access passwords Configure interfaces Save configuration parameters to NVRAM

Connecting People To Information Loading Configuration Files (Release 10.3+) Console or Terminal RAM TFTP Server NVRAM configure terminal copy startup-config running-config copy tftp running-config copy tftp startup-config copy tftp startup-config

Connecting People To Information Loading from a TFTP Server Router#copy tftp running-config Host or network configuration file [host]? IP address of remote host [ ]? Name of configuration file [Router-confg]? P1R1.2 Configure using P1R1.2 from ? [confirm] y Booting P1R1.2 from :!! [OK - 874/16000 bytes] P1R1# TFTP Server RAM

Router Modes

Connecting People To Information Router(config)# Router> Router# Other configuration modes Exit Ctrl-Z (end) Overview of Router Modes User EXEC mode Privileged EXEC mode Global configuration mode Configuration Mode Prompt Interface Router(config-if)# Subinterface Router(config-subif)# Controller Router(config-controller)# Line Router(config-line)# Router Router(config-router)# IPX-router Router(config-ipx-router)# Route-map Router(config-route-map)#

Connecting People To Information Configuring Router Identification Sets local identity or message for the accessed router or interface Router Name Router(config)#hostname P1R1 P1R1# Message of the Day Banner P1R1(config)#banner motd # Accounting Department You have entered a secured system. Authorized access only! # Interface Description P1R1(config)#interface ethernet 0 P1R1(config-if)#description Engineering LAN, Bldg. 18

Connecting People To Information Password Configuration Router(config)#line console 0 Router(config-line)#login Router(config-line)#password cisco Console Password Virtual Terminal Password Router(config)#line vty 0 4 Router(config-line)#login Router(config-line)#password sanjose Enable Password Router(config)#enable password cisco Secret Password Router(config)#enable secret sanfran

Connecting People To Information Router(config)#interface type number Router(config-if)# Configuring an Interface type includes serial, ethernet, token ring, fddi, hssi, loopback, dialer, null, async, atm, bri, and tunnel number is used to identify individual interfaces

Connecting People To Information Router(config)#interface type number Router(config-if)# Configuring an Interface type includes serial, ethernet, token ring, fddi, hssi, loopback, dialer, null, async, atm, bri, and tunnel number is used to identify individual interfaces Router(config)#interface type slot/port Router(config-if)# For the Cisco 7000 and 7200 series routers

Connecting People To Information Router(config)#interface type number Router(config-if)# Configuring an Interface type includes serial, ethernet, token ring, fddi, hssi, loopback, dialer, null, async, atm, bri, and tunnel number is used to identify individual interfaces Router(config-if)#exit Quit from current interface configuration mode Router(config)#interface type slot/port Router(config-if)# For the Cisco 7000 and 7200 series routers

Connecting People To Information Router#show interfaces Ethernet0 is up, line protocol is up Hardware is Lance, address is c2b6 (bia c2b6) MTU 1500 bytes, BW Kbit, DLY 1000 usec, rely 255/255, load 1/255 Encapsulation ARPA, loopback not set, keepalive set (10 sec) ARP type: ARPA, ARP Timeout 04:00:00 Serial1 is up, line protocol is down Hardware is MK5025 MTU 1500 bytes, BW 1544 Kbit, DLY usec, rely 255/255, load 9/255 Encapsulation HDLC, loopback not set, keepalive set (10 sec) show interfaces Command

Connecting People To Information Router#show interface serial 1 Serial1 is up, line protocol is up Hardware is cxBus Serial Description: 56Kb Line San Jose - MP :: :: :: :: :: :: :: :: :: :: Operational Connection Problem... Interface Problem Disabled Serial1 is up, line protocol is up Serial1 is up, line protocol is down Serial1 is down, line protocol is down Serial1 is administratively down, line protocol is down KeepalivesCarrier Detect Interpreting Interface Status

Connecting People To Information Configuring a Serial Line Enter global configuration mode Router(config-if)#clock rate Router(config-if)# Router(config)#interface serial 1 Router(config-if)# Router#configure term Router(config)# Router(config-if)#bandwidth 56 Router(config-if)#exit Router(config)#exit Router# Specify interface Set DCE clock rate (optional) Set bandwidth (optional)

Connecting People To Information Determining DCE/DTE Status Router#show controllers serial 1 HD unit 1, idb = 0xBFD3C, driver structure at 0xC39A0 buffer size 1524 HD unit 1, V.35 DCE cable, clockrate cpb = 0x83, eda = 0x800, cda = 0x814 RX ring with 16 entries at 0x bd_ptr=0x0800 pak=0x0C54F0 ds=0x status=80 pak_size=22 01 bd_ptr=0x0814 pak=0x0C5158 ds=0x835BC8 status=80 pak_size=22 02 bd_ptr=0x0828 pak=0x0C4F8C ds=0x status=80 pak_size= bd_ptr=0x083C pak=0x0C4DC0 ds=0x834E58 status=80 pak_size=22 04 bd_ptr=0x0850 pak=0x0C6184 ds=0x status=80 pak_size=22 05 bd_ptr=0x0864 pak=0x0C4BF4 ds=0x8347A0 status=80 pak_size=

Connecting People To Information Verifying Your Changes Router#show interfaces serial 1 Serial1 is up, line protocol is up Hardware is MK5025 MTU 1500 bytes, BW 56 Kbit, DLY usec, rely 255/255, load 9/255 Encapsulation HDLC, loopback not set, keepalive set (10 sec) Last input 0:00:00, output 0:00:01, output hang never Last clearing of "show interface" counters never Output queue 0/40, 0 drops; input queue 0/75, 0 drops Five minute input rate 1000 bits/sec, 0 packets/sec Five minute output rate 2000 bits/sec, 0 packets/sec packets input, bytes, 0 no buffer Received broadcasts, 0 runts, 0 giants 3 input errors, 3 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort packets output, bytes, 0 underruns 0 output errors, 0 collisions, 8 interface resets, 0 restarts 45 carrier transitions

Connecting People To Information Other Interface Configuration Examples Specify the ring speed for Token Ring Router(config)#interface tokenring 2/0 Router(config-if)#early-token release Router(config-if)#ring-speed 16

Connecting People To Information Other Interface Configuration Examples Specify the ring speed for Token Ring Router(config)#interface tokenring 2/0 Router(config-if)#early-token release Router(config-if)#ring-speed 16 Router(config)#interface ethernet 2 Router(config-if)#media-type 10baseT Select the media-type connector for the Ethernet interface

Connecting People To Information Router#configure term Router(config)#interface serial 1 Router(config-if)#shutdown %LINEPROTO-5-UPDOWN: Line Protocol on Interface Serial1, changed state to down %LINK-5-CHANGED: Interface Serial, changed state to administratively down Shutting Down an Interface Use this command to administratively turn off an interface without altering its other configuration entries

Connecting People To Information Use this command to administratively turn on an interface that has been shut down Router#configure term Router(config)#interface serial 1 Router(config-if)#shutdown %LINEPROTO-5-UPDOWN: Line Protocol on Interface Serial1, changed state to down %LINK-5-CHANGED: Interface Serial, changed state to administratively down Shutting Down an Interface Use this command to administratively turn off an interface without altering its other configuration entries Router#configure term Router(config)#interface serial 1 Router(config-if)#no shutdown %LINK-3-UPTOWN: Interface Serial, changed state to up %LINEPROTO-5-UPDOWN: Line Protocol on Interface Serial1, changed state to up

Connecting People To Information Verifying the Changes (Release 10.3+) Yes Make changes in configuration modes Make changes in configuration modes Examine results Router#show running-config Examine results Router#show running-config Intended results? Intended results? Save changes to backup Router#copy running-config startup-config Router#copy running-config tftp Save changes to backup Router#copy running-config startup-config Router#copy running-config tftp Examine backup file Router#show startup-config Examine backup file Router#show startup-config No Remove changes Noninvasive changes: Router(config)#no.... Router#copy start run Router#copy TFTP run Router#reload Router#copy TFTP start Router#reload Invasive changes: Last resort changes: Router#erase start Router#reload

Connecting People To Information Saving Configuration Changes (Release 10.3+) Router#copy running-config startup-config Router# RAM NVRAM Router#copy running-config tftp Remote host [ ]? RAM TFTP or rcp server

Managing the Configuration Environment

Connecting People To Information ROM monitor Locating the Cisco IOS Software Configuration Registers Registers in NVRAM for modifying fundamental Cisco IOS software Identifies where to boot Cisco IOS image (for example, use config-mode commands) Configuration Registers Registers in NVRAM for modifying fundamental Cisco IOS software Identifies where to boot Cisco IOS image (for example, use config-mode commands) Router#configure terminal Router(config)#boot system flash IOS_filename Router(config)#boot system tftp IOS_filename tftp_address Router(config)#boot system rom [Ctrl-Z] Router#copy running-config startup-config Router#configure terminal Router(config)#boot system flash IOS_filename Router(config)#boot system tftp IOS_filename tftp_address Router(config)#boot system rom [Ctrl-Z] Router#copy running-config startup-config Boot system commands not found In NVRAM Get default Cisco IOS software from Flash Flash memory empty Get default Cisco IOS software from TFTP server

Connecting People To Information Router#show version IOS (tm) 2500 Software (C2500-JS-L), Version 11.2 (6), RELEASE SOFTWARE (fc1) Copyright (c) by cisco Systems, Inc. Compiled Tue 06-May-97 16:17 by kuong Image text-base: 0x0303ED8C, data-base: 0x ROM: System Bootstrap, Version 5.2(8a), RELEASE SOFTWARE ROM: 3000 Bootstrap Software (IGS-RXBOOT), version 10.2 (8a), RELEASE SOFTWARE (fc1) Router uptime is 21 hours, 13 minutes System restarted by reload System image file is "flash:c2500-js-l bin", booted via flash Configuration register is 0x2102 Determining the Current Configuration Register Value......

Connecting People To Information Configuration Register bits 3, 2, 1, and 0 set boot option Check Configuration Register setting with show version Configuration Register Values Configuration-Register Value 0x0 0x2 to 0xF 0x1 Meaning Use ROM monitor mode (Manually boot using the b command) Examine NVRAM for boot system commands (0x2 default if router has Flash) Automatically boot from ROM (Provides IOS subset) Router#configure terminal Router(config)#config-register 0x2102 [Ctrl-Z] Router#reload

Connecting People To Information Router#configure terminal Router(config)#boot system flash c2500-js-l [Ctrl-Z] Router#copy running-config startup-config Flash Network Router#configure terminal Router(config)#boot system tftp test.exe [Ctrl-Z] Router#copy running-config startup-config ROM Router#configure terminal Router(config)#boot system rom [Ctrl-Z] Router#copy running-config startup-config Multiple boot system commands select bootstrap fallback sequence Boot System Options in Software

Connecting People To Information Preparing for a Network Backup Image Network Server Router Check space available on server Check naming convention Check access to the server Network Server c2500-js-l.112-6

Connecting People To Information Router#show flash System flash directory: File Length Name/status c2500-js-l bin [ bytes used, available, total] 8192K bytes of processor board System flash (Read ONLY) Verifying Available Memory Verify that Flash memory has room for the Cisco IOS image

Connecting People To Information Router#show flash System flash directory: File Length Name/status c2500-js-l bin [ bytes used, available, total] 8192K bytes of processor board System flash (Read ONLY ) Deciphering Image Filenames

Connecting People To Information Router#copy flash tftp System flash directory: File Length Name/status c2500-js-l bin [ bytes used, available, total] 8192K bytes of processor board System flash (Read ONLY) IP address of remote host [ ]? filename to write on tftp host? c2500-js-l writing c2500-js-l !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! successful tftp write. Router# Creating a Software Image Backup Back up current files prior to updating Flash Network Server FLASH copy flash tftp

Connecting People To Information Router#copy tftp flash IP address or name of remote host [ ]? Name of tftp filename to copy into flash []? c4500-js-l copy c4500-js-l from into flash memory? [confirm] xxxxxxxx bytes available for writing without erasure. erase flash before writing? [confirm] Clearing and initializing flash memory (please wait)####...## Loading from : !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!(text omitted) [OK / bytes] Verifying checksum... VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV VVVVVV(text omitted) Flash verification successful. Length = , checksum = 0xA5D3 Upgrading the Image from the Net Erase Flash occurs before loading new image Network Server FLASH

Connecting People To Information Overwriting an Existing Image Note message that image already exists Network Server FLASH Router#copy tftp flash IP address or name of remote host [ ]? Name of tftp filename to copy into flash []? c4500-js-l File c4500-js-l already exists; it will be invalidated! Copy c4500-js-l from into flash memory? [confirm] xxxxxxxx bytes available for writing without erasure. erase flash before writing? [confirm] Clearing and initializing flash memory (please wait)####...## Loading from : !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!(text omitted) [OK / bytes] Verifying checksum... VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV VVVVVV(text omitted) Flash verification successful. Length = , checksum = 0x95D9

Connecting People To Information Changing a Configuration Using Setup Mode Router#setup --- System Configuration Dialog --- At any point you may enter a question mark '?' for help. Use ctrl-c to abort configuration dialog at any prompt. Default settings are in square brackets '[ ]'. Continue with configuration dialog? [yes/no]:yes First, would you like to see the current interface summary? [yes]:no

Connecting People To Information Setup Mode Global Parameters Configuring global parameters: Enter host name [Router]:P1R1 The enable secret is a one-way cryptographic secret used instead of the enable password when it exists. Enter enable secret [ ]: Enter enable password [sanfran]: % Please choose a password that is different from the enable secret Enter enable password [sanfran]:cisco Enter virtual terminal password [sanjose]: Configure SNMP Network Management? [no]: Configure IP? [yes]: Configure IGRP routing? [yes]: Your IGRP autonomous system number [1]:......

Connecting People To Information Configuring interface parameters: Configuring interface TokenRing0: Is this interface in use? [no]: Configuring interface Serial0: Is this interface in use? [yes]: Configure IP on this interface? [yes]: Configure IP unnumbered on this interface? [no]: IP address for this interface: Number of bits in subnet field [0]: Class B network is , 0 subnet bits; mask is Configure Novell on this interface? [yes]: no Configuring interface Serial1: Is this interface in use? [yes]: no Setup Mode Interface Parameters

Connecting People To Information Setup Mode Script Review The following configuration command script was created: hostname P1R1 enable secret 5 $1$g722$dg2UVvWG6eekNRTE5LfmM/ enable password sanfran line vty 0 4 password sanfran snmp-server community ! ip routing no decnet routing no xns routing novell routing no apollo routing appletalk routing no clns routing no vines no bridge no mop enabled -- More -- interface TokenRing0 shutdown ! interface Serial0 ip address interface Serial1 shutdown ! router igrp 200 network ! end Use this configuration? [yes/no]: yes [OK] Use the enabled mode 'configure' command to modify this configuration.