Configuring a Router. Router user interface The Cisco IOS software uses a command-line interface (CLI) as the traditional console environment. This environment.

Slides:



Advertisements
Similar presentations
Configuring a Router Harold Hernandez, MS, CCNI. 3.1 Configuring a Router Name a router Set passwords Examine show commands Configure a serial interface.
Advertisements

CCNA2-1 Chapter 1 Introduction to Routing and Packet Forwarding CLI Configuration and Addressing.
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.
Introduction to the Cisco IOS
WXES2106 Network Technology Semester /2005 Chapter 5 Routers CCNA2: Module 1 and 2.
CCNA Guide to Cisco Networking Fundamentals Fourth Edition
CCNA 2 v3.1 Module 2.
Chapter 1 Introduction to Routing and Packet Forwarding
1 16-Aug-15 S Ward Abingdon and Witney College Routing CCNA Exploration Semester 2 Chapter 1.
1 Semester 2 Module 2 Introduction to Routers Yuda college of business James Chen
IST 228\Ch4\Cisco IOS1 What we will be able to do?
1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 5 WANs and Routers/ Introduction to Routers.
Introduction to OSPF Campus Networking Workshop These materials are licensed under the Creative Commons Attribution-Noncommercial 3.0 Unported license.
1 Chapter 2 ROUTER FUNDAMENTALS By: Tassos Tassou.
1 Semester 2 Module 3 Configuring a Router Yuda college of business James Chen
Basic Router Configuration Warren Toomey GCIT. Introduction A Cisco router is simply a computer that receives packets and forwards them on based on what.
CISCO router introduction for Labs WAN/ OSPF-RIP
Cisco Router MODES Configuration Prompt Interface Router(config-if)#
CISCO ROUTER.  The Cisco router IOS  Enhanced editing  Administrative functions  Hostnames  Banners  Passwords  Interface descriptions  Verifying.
Routing CCNA Exploration Semester 2 Chapter 1
Chapter 6 Router Configuration Sem 2V2. Configuration files can come from the console NVRAM TFTP server. The router has several modes:  privileged mode.
Ch.2 – Introduction to Routers
M. Dahshan - TCOM52721 TCOM 5272 Telecomm Lab Dr. Mostafa Dahshan OU-Tulsa 4W 2 nd floor
Chapter 2: Basic Router Configuration
© Wiley Inc All Rights Reserved. CHAPTER 4: Introduction to the Cisco IOS CCNA: Cisco Certified Network Associate Study Guide.
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.
Introduction to Cisco Routers and Switches Willis Kim 8 October 2005.
1 Data Forwarding Basic Router Configuration. Overview In this session, we sill be looking at  Review : router backplane Ethernet, console and serial.
E /24 LAN /24LAN – / /8 S0 S /8 Head Office Branch Office E /16.
1 Pertemuan 26 Integrating Network using Routing Protocol.
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
By Joe Elkins Password Recovery for Cisco Routers (aka Breaking a Cisco Router)
Configuring Routers I’ve got to program a router! What do I have to do.
SW REVERSE JEOPARDY Chapter 1 CCNA2 SW Start-up Routing table Routing table Router parts Router parts Choosing a path Choosing a path Addressing Pot.
Module 3 Configuring a Router.
Router Fundamentals PJC CCNA Semester 2 Ver. 3.0 by William Kelly.
Sybex CCNA Chapter 6: Cisco’s IOS Instructor & Todd Lammle.
1 Identifying Static and Dynamic Routes Static Route Uses a route that a network administrator enters into the router manually Dynamic Route Uses a route.
Routers and Routing Basics CCNA 2 Chapter 3 1.
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.
Router Configuration. CISCO 2500 series router.
CCNA2 Chapter 2 Cisco IOS Software. Cisco’s operating system is called Cisco Internetwork Operating System (IOS) IOS provides the following network services:
1 Pertemuan 5 Configuring a Router. Discussion Topics CLI command modes Configuring a router name Configuring router passwords Examining the show commands.
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.
2016/2/211 資訊網路專題 Router & Practice. 2016/2/212 Router Basics Computers have four basic components: a CPU, memory, interfaces, and a bus. –A router also.
Cisco router configuration basics. overview router configuration controls the operation of the router: interface address and netmask routing information.
Cisco S2 C6 Router Configuration 1. Router Boot Up Router uses following from config-startup when it boots –Cisco IOS software version –Router identification.
Cisco 2 - Routers Perrine. J Page 13/7/2016 Chapter 3 Cisco Router Modes ConfigurationPrompt InterfaceRouter(config-if)# LineRouter(config-line)# RouterRouter(config-router)#
Configuring a Router Module 3 Semester 2. Router Configuration Tasks Name a router Set passwords Examine show commands Configure a serial interface Configure.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 2 Introduction to Routers.
Router Components & Configuration. Router Components & Configurations Topics Physical components Memory components Configuration modes Keystroke shortcuts.
CISCO CERTIFIED NETWORK ASSOCIATE
Introduction to Cisco IOS -(Internetwork Operating System)
Semester 2 5/6 JEOPARDY CHAPTERS 5 & 6 REVIEW S2C06 Jeopardy Review.
Routers & Cisco IOS.
Introduction to Cisco IOS -(Internetwork Operating System)
Lecture9: Embedded Network Operating System: cisco IOS
資訊網路專題 Router & Practice
Routers and Routing Basics Review
Lecture9: Embedded Network Operating System: cisco IOS
Presentation transcript:

Configuring a Router

Router user interface The Cisco IOS software uses a command-line interface (CLI) as the traditional console environment. This environment is accessible through several methods: –Console –AUX port (modem) –Telnet

Establishing a HyperTerminal session Take the following steps to connect a terminal to the console port on the router: Connect the terminal using the RJ-45 to RJ-45 rollover cable and an RJ-45 to DB-9 or RJ-45 to DB-25 adapter. Configure the terminal or PC terminal emulation software for 9600 baud, 8 data bits, no parity, 1 stop bit, and no flow control. Rollover cable Console port Com1 or Com2 serial port Terminal or a PC with terminal emulation software Router

Establishing a HyperTerminal session Important: A console connection is not the same as a network connection! =

Logging into the router Two commands can be used to set a password used to access privileged EXEC mode: enable password and enable secret The following are specific modes that can also be accessed from the global configuration mode: –Interface –Subinterface –Line –Router –Route-map

CLI command modes Router>enable Router#configure terminal Router(config)# interface fa 0/0 Router(config-if)# The command Exit will take you up one level

Configuring a router name Router#config t Router(config)#hostname Tokyo Tokyo(config)#

Configuring a serial interface Router(config)#interface serial 0/0 Router(config-if)#ip address Configuring an IP Address on an interface…

show ip interface command A serial interface will not show “up” and “up” unless both ends are properly configured (mostly) and the no shutdown command is used. If one router’s configuration looks okay, check the other router’s configuration. Router# show ip interface brief Interface IP-Address OK? Method Status Protocol Ethernet YES manual up up Serial YES manual administratively down down What is wrong here? The administrator has either done a “shutdown” on the interface or has forgotten to do a “no shutdown”.

Lab Real world On serial links that are directly interconnected, as in a lab environment, one side must be considered a DCE and provide a clocking signal. The clock is enabled and speed is specified with the clock rate command. Router(config)#interface serial 0/0 Router(config-if)#clock rate (on DCE end Only) Router(config-if)#no shutdown Configuring a serial interface DCEDTE

Configuring an Ethernet Interface

First, RIP is enabled on each router. From global configuration you will enter the command (the default is RIPv1): Router(config)#router rip Second, Once you are in the Router RIP configuration sub- mode, all you need to do is enter the classful network address for each directly connected network, using the network command. Router(config-router)#network directly- connected-classful-network-address Configuring a Dynamic Routing Protocol: Configuring RIPv1

First, we Configure the interfaces on each router SanJose2 hostname SanJose2 interface ethernet 0 ip add interface serial 0 ip add SanJose1 hostname SanJose1 interface ethernet 0 ip add interface serial 0 ip add clockrate interface serial 1 ip add clockrate Baypointe hostname Baypointe interface ethernet 0 ip add interface serial 0 ip add Example When done configuring the interfaces use the command: show ip interface brief

Here are the commands for each router: SanJose2#configure terminal Enter configuration commands, one per line. End with CNTL/Z. SanJose2(config)#router rip SanJose2(config-router)#network SanJose2(config-router)#network Baypointe#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Baypointe(config)#router rip Baypointe(config-router)#network Baypointe(config-router)#network SanJose1#configure terminal Enter configuration commands, one per line. End with CNTL/Z. SanJose1(config)#router rip SanJose1(config-router)#network SanJose1(config-router)#network SanJose1(config-router)#network Second, we configure RIPv1

Third, We check on the routing table for each router SanJose2#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default U - per-user static route, o - ODR Gateway of last resort is not set R /24 [120/1] via , 00:00:10, Serial0 R /24 [120/2] via , 00:00:10, Serial0 C /24 is directly connected, Ethernet0 C /24 is directly connected, Serial0 R /24 [120/1] via , 00:00:10, Serial0 SanJose2#

SanJose1#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP Gateway of last resort is not set C /24 is directly connected, Serial1 R /24 [120/1] via , 00:00:12, Serial1 R /24 [120/1] via , 00:00:10, Serial0 C /24 is directly connected, Serial0 C /24 is directly connected, Ethernet0 Third, We check on the routing table for each router

Baypointe#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default U - per-user static route, o - ODR Gateway of last resort is not set C /24 is directly connected, Serial0 C /24 is directly connected, Ethernet0 R /24 [120/2] via , 00:00:23, Serial0 R /24 [120/1] via , 00:00:23, Serial0 R /24 [120/1] via , 00:00:23, Serial0 Third, We check on the routing table for each router

startup-config RAM running-config During bootup Changes to the router are automatically put in the running-config file. If the router loses power or reboots, everything in RAM is lost including the running- config file. To make sure the changes to the router’s configuration remain saved, you must copy the running-config from RAM into the startup-config into NVRAM: Router# copy running-config startup-config copy running-config startup-config

Router# copy running-config startup-config Or Router# copy running startup OR Router# copy run start OR Any usage of the command or parameters, so that they are still uniquely recognizable. WARNING Using an incorrect configuration file name could overwrite the router’s IOS in flash, as the router believes you are trying to copy a blank file into flash. Router#copy running-config start-up **** NOTICE **** Flash load helper v1.0 This process will accept the copy options and then terminate the current system image to use the ROM based image for the copy. Routing functionality will not be available during that time. If you are logged in via telnet, this connection will terminate. Users with console access can see the results of the copy operation ******** ---- Proceed? [confirm]^C %Copy cancelled by user request. Router# Incorrect file name! Press C copy running-config startup-config

Examining the show commands (typed from Privileged Mode) Show ip interface Brief: Shows the status of the interfaces along with their IP Addresses show startup-configuration – Displays the saved configuration located in NVRAM s how running-configuration – Displays the configuration currently running in RAM

How to Reset The Router 1. Router> enable 2. Router# erase start (Press enter to confirm): This step erases the configuration file 3. Router# Reload : This step soft-boots the router 4. After the router reloads, the following question will show: “Would you like to enter the setup mode”, Please answer “no” to that question. 5. The router should now take you to user mode: Router> Note: If asked for a password, use the password system in the next slide

Router Passwords Used in the Cisco Lab Will not be used for the VoIP Labs Privilege Password cisco Console password conpass VTY 0 4 password vtypass Auxiliary auxpass