SlideShare una empresa de Scribd logo
1 de 131
Routers & Cisco IOS
Cisco IOS Cisco technology is built around the Cisco Internetwork Operating System (IOS), which is the software that controls the routing and switching functions of internetworking devices.  A solid understanding of the IOS is essential for a network administrator.
The Purpose of Cisco IOS As with a computer, a router or switch cannot function without an operating system. Cisco calls its operating system the Cisco Internetwork Operating System or Cisco IOS.
Introduction to Routers   A router is a special type of computer. It has the same basic components as a standard desktop PC. However, routers are designed to perform some very specific functions. Just as computers need operating systems to run software applications, routers need the Internetwork Operating System software (IOS) to run configuration files. These configuration files contain the instructions and parameters that control the flow of traffic in and out of the routers. The many parts of a router are shown below:
Router Memory Components  ROM   -   Read Only Memory – Bootstrap/POST FLASH Memory -   IOS Images are kept here - Erasable reprogrammable ROM - Contents are kept on Power down or reload RAM  -  Random Access memory - Routing Tables - Running Configuration - Contents are lost on reboot NVRAM -  Start up configuration - Configuration Register - Contents are kept on reload
ROM ,[object Object],[object Object],[object Object],[object Object],[object Object]
RAM ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
NVRAM ,[object Object],[object Object],[object Object],[object Object],[object Object]
Flash ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Interfaces ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Router Internal Components
Router Power-On/Bootup Sequence ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Boot Sequence ON OFF POST Bootstrap ROMMonitor RXBoot FLASH CR Configuration Register LOAD IOS C-File NVRAM Y N Running Setup Mode Checks All interfaces RAM 0 0 0 0 0 0 0 1 0 0 1 0 ROMMonitor RxBoot Flash 1 1 1 1 0 1 2-15 14 15 13 12 10 11 9 8 6 7 5 4 2 3 1 0 4 8 2 1 4 8 2 1 4 8 2 1 4 8 2 1
After the Post… After the POST, the following events occur as the router initializes:  Step 1 The generic bootstrap loader in ROM executes. A bootstrap is a simple set of instructions that tests hardware and initializes the IOS for operation.   Step 2 The IOS can be found in several places. The boot field of the configuration register determines the location to be used in loading the IOS.  Step 3 The operating system image is loaded.  Step 4 The configuration file saved in NVRAM is loaded into main memory and executed one line at a time. The configuration commands start routing processes, supply addresses for interfaces, and define other operating characteristics of the router.  Step 5 If no valid configuration file exists in NVRAM, the operating system searches for an available TFTP server. If no TFTP server is found, the setup dialog is initiated.  
Loading the Cisco IOS Software  From Flash Memory ,[object Object]
Loading the Configuration ,[object Object],[object Object]
External Components of a 2600 Router
Internal Components of a 2600 Router
Computer/Terminal Console Connection
Modem Connection to Console/Aux Port
HyperTerminal Session Properties
Establishing a HyperTerminal Session Take the following steps to connect a terminal to the console port on the router:  First, 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.  Then, configure the terminal or PC terminal emulation software for 9600 baud, 8 data bits, no parity, 1 stop bit, and no flow control.
Router Command Line Interface
IOS File System Overview
Router LED Indicators Cisco routers use LED indicators to provide status information. Depending upon the Cisco router model, the LED indicators will vary. An interface LED indicates the activity of the corresponding interface. If an LED is off when the interface is active and the interface is correctly connected, a problem may be indicated. If an interface is extremely busy, its LED will always be on. The green OK LED to the right of the AUX port will be on after the system initializes correctly.
Router Configuration
Router User Interface Modes The Cisco command-line interface (CLI) uses a hierarchical structure. This structure requires entry into different modes to accomplish particular tasks.  Each configuration mode is indicated with a distinctive prompt and allows only commands that are appropriate for that mode.  As a security feature the Cisco IOS software separates sessions into two access levels, user EXEC mode and privileged EXEC mode. The privileged EXEC mode is also known as enable mode .
Overview of Router Modes
Router Modes
CLI Command Modes All command-line interface (CLI) configuration changes to a Cisco router are made from the global configuration mode. Other more specific modes are entered depending upon the configuration change that is required. Global configuration mode commands are used in a router to apply configuration statements that affect the system as a whole.  The following command moves the router into global configuration mode  Router# configure terminal  (or config t) Router(config)#  When specific configuration modes are entered, the router prompt changes to indicate the current configuration mode.  Typing  exit  from one of these specific configuration modes will return the router to global configuration mode. Pressing  Ctrl-Z  returns the router to all the way back privileged EXEC mode.
Show Version Command wg_ro_a# show version Cisco Internetwork Operating System Software  IOS (tm) 2500 Software (C2500-JS-L), Version 12.0(3), RELEASE SOFTWARE (fc1) Copyright (c) 1986-1999 by cisco Systems, Inc. Compiled Mon 08-Feb-99 18:18 by phanguye Image text-base: 0x03050C84, data-base: 0x00001000 ROM: System Bootstrap, Version 11.0(10c), SOFTWARE BOOTFLASH: 3000 Bootstrap Software (IGS-BOOT-R), Version 11.0(10c), RELEASE SOFTWARE(fc1) wg_ro_a uptime is 20 minutes System restarted by reload System image file is "flash:c2500-js-l_120-3.bin" (output omitted) --More-- Configuration register is 0x2102
Viewing the Configuration
show running-config and  show startup-config Commands wg_ro_c# show startup-config Using 1359 out of 32762 bytes ! version 12.0 ! -- More -- wg_ro_c # show running-config Building configuration... Current configuration: ! version 12.0 ! -- More -- In NVRAM In RAM ,[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Saving Configurations
Command Abbreviation ,[object Object],[object Object],[object Object],[object Object]
Configuring a Router’s Name A router should be given a unique name as one of the first configuration tasks.  This task is accomplished in global configuration mode using the following commands:  Router(config)#hostname Gates Gates(config)#  As soon as the Enter key is pressed, the prompt changes from the default host name (Router) to the newly configured host name (which is Gates in the example above).
Setting the Clock with Help
Message Of The Day (MOTD) A message-of-the-day (MOTD) banner can be displayed on all connected terminals.  Enter global configuration mode by using the command  config t   Enter the command banner motd # Welcome to Gates Training # .  Save changes by issuing the command  copy run start
Privileged Mode Command ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Password ,[object Object],[object Object],[object Object]
Passwords ,[object Object],[object Object],[object Object],[object Object],[object Object]
Privileged Mode Password ,[object Object],[object Object],[object Object]
Line  Password ,[object Object],[object Object],[object Object]
Aux Port Password ,[object Object],[object Object],[object Object]
Connecting to Aux Port
Configuring a Telnet Password ,[object Object],[object Object]
Telnet Password ,[object Object],[object Object],[object Object]
Encrypting Passwords ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Disable Passwords ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
LAB – Interface Configuration S0 S0 R1 R2 E0 10.0.0.1 10.0.0.2 30.0.0.2 20.0.0.1 20.0.0.2 30.0.0.1 A S0 E0 40.0.0.2 40.0.0.1 B S1 R3
Descriptions ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Configuring Interfaces ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
DCE DTE ,[object Object],[object Object]
Viewing Configuration ,[object Object],[object Object],[object Object],[object Object]
Saving and Erasing Configurations ,[object Object],[object Object],[object Object],[object Object],[object Object]
Routing
Objectives ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Routing ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Routing ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],What is Routing? 172.16.1.0 10.120.2.0
What is Routing? (cont.) Network Protocol Destination Network Connected Learned 10.120.2.0 172.16.1.0 Exit Interface E0 S0 Routed Protocol: IP ,[object Object],172.16.1.0 10.120.2.0 E0 S0
Route Types ,[object Object],[object Object],[object Object]
IP Routing Process ,[object Object],[object Object],R1 E0 E1 10.0.0.1 10.0.0.2 A B 20.0.0.2 20.0.0.1
LAB Configuration S0 S0 R1 R2 E0 E0 10.0.0.1 10.0.0.2 30.0.0.2 20.0.0.1 20.0.0.2 30.0.0.1 A B
LAB – Interface Configuration S0 S0 R1 R2 E0 10.0.0.1 10.0.0.2 30.0.0.2 20.0.0.1 20.0.0.2 30.0.0.1 A S0 E0 40.0.0.2 40.0.0.1 B S1 R3
Test The Connection ,[object Object],[object Object]
IP Routing ,[object Object],[object Object],[object Object],[object Object]
Static Routes ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],Static Route Configuration R1(config)#ip route  network  [ mask ]  { address  |  interface }[ distance ] [permanent]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Static Route Configuration ip route [ destination_network ] [ mask ] [ next-hop_address or exitinterface ] [ administrative_distance ] [permanent   R1(config)#ip route 30.0.0.0 255.0.0.0 20.0.0.2
LAB – Static Route Configuration S0 S0 R1 R2 E0 10.0.0.1 10.0.0.2 30.0.0.2 20.0.0.1 20.0.0.2 30.0.0.1 A S0 E0 40.0.0.2 40.0.0.1 B S1 R3 R1# config t R1(config)#ip route 30.0.0.0 255.0.0.0 20.0.0.2 R1(config)#ip route 40.0.0.0 255.0.0.0 20.0.0.2 R2# config t R2(config)#ip route 10.0.0.0 255.0.0.0 20.0.0.1 R2(config)#ip route 40.0.0.0 255.0.0.0 30.0.0.2 R3# config t R3(config)#ip route 10.0.0.0 255.0.0.0 30.0.0.1 R3(config)#ip route 20.0.0.0 255.0.0.0 30.0.0.1
Verifying Static Route Configuration ,[object Object],[object Object],[object Object]
Removing IP Route S0 S0 R1 R2 E0 10.0.0.1 10.0.0.2 30.0.0.2 20.0.0.1 20.0.0.2 30.0.0.1 A S0 E0 40.0.0.2 40.0.0.1 B S1 R3 R1# config t R1(config)#no ip route 30.0.0.0 255.0.0.0 20.0.0.2 R1(config)#no ip route 40.0.0.0 255.0.0.0 20.0.0.2 R2# config t R2(config)#no ip route 10.0.0.0 255.0.0.0 20.0.0.1 R2(config)#no ip route 40.0.0.0 255.0.0.0 30.0.0.2 R3# config t R3(config)#no ip route 10.0.0.0 255.0.0.0 30.0.0.1 R3(config)#no ip route 20.0.0.0 255.0.0.0 30.0.0.1
Default Routes ,[object Object],[object Object],[object Object],S0 S0 R1 R2 E0 E0 10.0.0.1 10.0.0.2 40.0.0.2 20.0.0.1 20.0.0.2 30.0.0.1 S0 S1 30.0.0.2 40.0.0.1 R3 A B
Default Routes Stub Network ip route 0.0.0.0 0.0.0.0 172.16.2.2 172.16.2.1 SO 172.16.1.0 B 172.16.2.2 Network A B ,[object Object],10.0.0.0
Configuring Default Routes Default routes are used to route packets with destinations that do not match any of the other routes in the routing table.  A default route is actually a special static route that uses this format:  ip route 0.0.0.0 0.0.0.0 [ next-hop-address  |  outgoing interface ] This is sometimes referred to as a “Quad-Zero” route. Example using next hop address: Router(config)# ip route 0.0.0.0 0.0.0.0   172.16.4.1 Example using the exit interface: Router(config)# ip route 0.0.0.0 0.0.0.0   s0/0
LAB Configuration S0 S0 R1 R2 E0 E0 10.0.0.1 10.0.0.2 40.0.0.2 20.0.0.1 20.0.0.2 30.0.0.1 S0 S1 30.0.0.2 40.0.0.1 R3 A B
Default Route LAB Configuration S0 S0 R1 R2 E0 E0 10.0.0.1 10.0.0.2 40.0.0.2 20.0.0.1 20.0.0.2 30.0.0.1 S0 S1 30.0.0.2 40.0.0.1 R3 R1# config t R1(config)#ip route 0.0.0.0 0.0.0.0 20.0.0.2 R3# config t R3(config)#ip route 0.0.0.0 0.0.0.0 30.0.0.1 R2# config t R2(config)#ip route 10.0.0.0 255.0.0.0 20.0.0.1 R2(config)#ip route 40.0.0.0 255.0.0.0 30.0.0.2 A B
What is a Routing Protocol? ,[object Object],[object Object],Network Protocol Destination Network Connected RIP IGRP 10.120.2.0 172.16.2.0 172.17.3.0 Exit Interface E0 S0 S1 Routed Protocol: IP Routing protocol: RIP, IGRP 172.17.3.0 172.16.1.0 10.120.2.0 E0 S0
Autonomous System AS 2000 AS 3000 AS 1000 ,[object Object],[object Object],[object Object],Fig. 48 IGP and EGP (TI1332EU02TI_0004 The Network Layer, 67) All Routing protocols are categorized as IGP or EGP Routing Categories IGP Interior Gateway Protocols are used for routing decisions within an Autonomous System. Exterior Gateway Protocols are used for routing between Autonomous Systems EGP
IGP Interior Gateway Protocol (IGP) Interior Gateway Protocol (IGP) AS 1000 AS 2000 AS 3000 Fig. 49 The use of IGP and EGP protocols (TI1332EU02TI_0004 The Network Layer, 67) Routing Categories Exterior Gateway  Protocol (EGP) EGP EGP EGP
Autonomous Systems: Interior or Exterior Routing Protocols ,[object Object],[object Object],[object Object]
Types or Classes of Routing Protocols
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Types or Classes of Routing Protocols
Classful Routing Overview ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Classless Routing Overview ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],Distance Vector Routing Protocols
Distance Vector ,[object Object],[object Object],[object Object],192.168.10.1 192.168.20.1
Distance Vector ,[object Object],[object Object],[object Object],192.168.20.1 192.168.10.1
Distance Vector ,[object Object],[object Object],[object Object],[object Object],[object Object],192.168.20.1 RIP 0 1 1 2 2 3 R1 192.168.10.1
Distance Vector ,[object Object],[object Object],[object Object],[object Object],192.168.20.1 IGRP 56 kbps 1 Mbps 1 Mbps 1 Mbps 56 kbps R1 10 10 10 30 30 192.168.10.1 192.168.10.1
Routing Loops A network problem in which packets continue to be routed in an endless circle
[object Object],Sources of Information and Discovering Routes
[object Object],Inconsistent Routing Entries
[object Object],Inconsistent Routing Entries (Cont.)
Inconsistent Routing Entries (Cont.) ,[object Object]
Inconsistent Routing Entries (Cont.) ,[object Object]
[object Object],Count to Infinity
Routing Loops ,[object Object]
[object Object],Defining a Maximum
Maximum Hop Count ,[object Object],[object Object],[object Object]
[object Object],Split Horizon
Split Horizon ,[object Object],[object Object],[object Object]
Route Poisoning ,[object Object],[object Object],[object Object],[object Object]
Triggered Updates ,[object Object],[object Object],[object Object],[object Object],[object Object]
Triggered Updates Graphic
Holddowns ,[object Object],[object Object],[object Object],[object Object]
Solution: Holddown Timers
Pinhole Congestion 192.168.10.1 192.168.20.1 1Mbps 1Mbps 56kbps 56kbps
RIP Timers ,[object Object],[object Object],[object Object],[object Object]
Routing Information Protocol (RIP)  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Router Configuration The  router  command starts a routing process.  The  network  command is required because it enables the routing process to determine which interfaces participate in the sending and receiving of routing updates.  An example of a routing configuration is: Gates(config)# router rip Gates(config-router)# network 172.16.0.0 The network numbers are based on the network class addresses, not subnet addresses or individual host addresses.
RIP Configuration S0 S0 R1 R2 E0 E0 192.168.10.1 S0 S1 R3 R1# config t R1(config)# )#router rip R1(config)#network 192.168.10.0 R1(config)#network 192.168.20.0 R2# config t R2(config)#router rip R2(config)#network 192.168.20.0 R2(config)#network 192.168.30.0 192.168.10.2 192.168.20.1 192.168.20.2 192.168.30.1 192.168.30.2 192.168.40.1 192.168.40.2 R3# config t R3(config)# )#router rip R3(config)#network 192.168.30.0 R3(config)#network 192.168.40.0 A B
Verifying RIP Configuration
Displaying the  IP Routing Table
debug ip rip Command
Passive Interface ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
RIP Version 2 (RIPv2) R1# config t R1(config)# )#router rip R1(config)#network 192.168.10.0 R1(config)#network 192.168.20.0 R1(config)#version 2
Exercise - RIP Version 2 Configuration S0 S0 R1 R2 E0 E0 192.168.0.16/29 S0 S1 R3 192.168.0.4/30 192.168.0.8/30 192.168.0.32/28 1. Find out the IP Address and SNM of each interfaces A B
Exercise - RIP Version 2 Configuration S0 S0 R1 R2 E0 E0 192.168.0.18 255.255.255.248 S0 S1 R3 192.168.0.17 255.255.255.248 192.168.0.5 255.255.255.252 192.168.0.6 255.255.255.252 192.168.0.9 255.255.255.252 192.168.0.10 255.255.255.252 192.168.0.33 255.255.255.240 192.168.0.34 255.255.255.240 A B
Exercise - RIP Version 2 Configuration S0 S0 R1 R2 E0 E0 192.168.0.16/29 S0 S1 R3 192.168.0.4/30 192.168.0.8/30 192.168.0.32/28 R2# config t R2(config)#router rip R2(config)#network 192.168.0.4 R2(config)#network 192.168.0.8 R2(config)#version  2 R1# config t R1(config)# )#router rip R1(config)#network 192.168.0.4 R1(config)#network 192.168.0.16 R1(config)#version  2 R3# config t R3(config)# )#router rip R3(config)#network 192.168.0.8 R3(config)#network 192.168.0.32 R3(config)#version  2 A B
© 2002, Cisco Systems, Inc. All rights reserved. Enabling IGRP
[object Object],[object Object],[object Object],Introducing IGRP
[object Object],[object Object],[object Object],[object Object],[object Object],IGRP Composite Metric
IGRP ,[object Object],[object Object],[object Object],[object Object],[object Object]
IGRP Vs RIP
IGRP Timers ,[object Object],[object Object],[object Object],[object Object]
Configuring IGRP
IGRP Configuration S0 S0 R1 R2 E0 E0 192.168.10.1 S0 S1 R3 R1# config t R1(config)# )#router igrp 10 R1(config)#network 192.168.10.0 R1(config)#network 192.168.20.0 R2# config t R2(config)#router igrp 10 R2(config)#network 192.168.20.0 R2(config)#network 192.168.30.0 192.168.10.2 192.168.20.1 192.168.20.2 192.168.30.1 192.168.30.2 192.168.40.1 192.168.40.2 R3# config t R3(config)# )#router igrp 10 R3(config)#network 192.168.30.0 R3(config)#network 192.168.40.0 A B
Verifying the IGRP Routing Tables ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Debug Commands  ,[object Object],[object Object],[object Object],[object Object],[object Object]

Más contenido relacionado

La actualidad más candente

Cisco switch commands cheat sheet
Cisco switch commands cheat sheetCisco switch commands cheat sheet
Cisco switch commands cheat sheet3Anetwork com
 
Cisco Networking (Routing and Switching)
Cisco Networking (Routing and Switching)Cisco Networking (Routing and Switching)
Cisco Networking (Routing and Switching)Alan Mark
 
Routers and Routing Configuration
Routers and Routing ConfigurationRouters and Routing Configuration
Routers and Routing Configurationyasir1122
 
Ccna PPT2
Ccna PPT2Ccna PPT2
Ccna PPT2AIRTEL
 
CCNAv5 - S2: Chapter4 Routing Concepts
CCNAv5 - S2: Chapter4 Routing ConceptsCCNAv5 - S2: Chapter4 Routing Concepts
CCNAv5 - S2: Chapter4 Routing ConceptsVuz Dở Hơi
 
CCNAv5 - S2: Chapter 9 Access Control Lists
CCNAv5 - S2: Chapter 9 Access Control ListsCCNAv5 - S2: Chapter 9 Access Control Lists
CCNAv5 - S2: Chapter 9 Access Control ListsVuz Dở Hơi
 
network fundamentals
network fundamentalsnetwork fundamentals
network fundamentalsSithu PM
 
Router vs switch
Router vs switchRouter vs switch
Router vs switchIT Tech
 
CCNA Routing Protocols
CCNA Routing ProtocolsCCNA Routing Protocols
CCNA Routing ProtocolsDsunte Wilson
 
Troubleshooting BGP Juniper Examples
Troubleshooting BGP Juniper ExamplesTroubleshooting BGP Juniper Examples
Troubleshooting BGP Juniper ExamplesSalachudin Emir
 
CCNA Course Training Presentation
CCNA Course Training PresentationCCNA Course Training Presentation
CCNA Course Training PresentationRohit Singh
 
Cisco router basic
Cisco router basicCisco router basic
Cisco router basicTapan Khilar
 
CCNA - Routing & Switching Commands
CCNA - Routing & Switching CommandsCCNA - Routing & Switching Commands
CCNA - Routing & Switching CommandsEng. Emad Al-Atoum
 

La actualidad más candente (20)

Cisco switch commands cheat sheet
Cisco switch commands cheat sheetCisco switch commands cheat sheet
Cisco switch commands cheat sheet
 
Cisco Networking (Routing and Switching)
Cisco Networking (Routing and Switching)Cisco Networking (Routing and Switching)
Cisco Networking (Routing and Switching)
 
Routers and Routing Configuration
Routers and Routing ConfigurationRouters and Routing Configuration
Routers and Routing Configuration
 
CCNA Chapter1
CCNA Chapter1CCNA Chapter1
CCNA Chapter1
 
Switching
SwitchingSwitching
Switching
 
CCNA presentation.
CCNA presentation.CCNA presentation.
CCNA presentation.
 
Ccna PPT2
Ccna PPT2Ccna PPT2
Ccna PPT2
 
Ccna day1
Ccna day1Ccna day1
Ccna day1
 
CCNAv5 - S2: Chapter4 Routing Concepts
CCNAv5 - S2: Chapter4 Routing ConceptsCCNAv5 - S2: Chapter4 Routing Concepts
CCNAv5 - S2: Chapter4 Routing Concepts
 
CCNAv5 - S2: Chapter 9 Access Control Lists
CCNAv5 - S2: Chapter 9 Access Control ListsCCNAv5 - S2: Chapter 9 Access Control Lists
CCNAv5 - S2: Chapter 9 Access Control Lists
 
network fundamentals
network fundamentalsnetwork fundamentals
network fundamentals
 
Router vs switch
Router vs switchRouter vs switch
Router vs switch
 
CCNA Routing Protocols
CCNA Routing ProtocolsCCNA Routing Protocols
CCNA Routing Protocols
 
Troubleshooting BGP Juniper Examples
Troubleshooting BGP Juniper ExamplesTroubleshooting BGP Juniper Examples
Troubleshooting BGP Juniper Examples
 
CCNA Course Training Presentation
CCNA Course Training PresentationCCNA Course Training Presentation
CCNA Course Training Presentation
 
Ccna command
Ccna commandCcna command
Ccna command
 
Policy Based Routing
Policy Based RoutingPolicy Based Routing
Policy Based Routing
 
OSPF Basics
OSPF BasicsOSPF Basics
OSPF Basics
 
Cisco router basic
Cisco router basicCisco router basic
Cisco router basic
 
CCNA - Routing & Switching Commands
CCNA - Routing & Switching CommandsCCNA - Routing & Switching Commands
CCNA - Routing & Switching Commands
 

Destacado

Networking
NetworkingNetworking
Networkingkonnen16
 
Switch Hub
Switch HubSwitch Hub
Switch Hubcatszafi
 
Cloud computing como herramienta facilitadora para el emprendimiento en colom...
Cloud computing como herramienta facilitadora para el emprendimiento en colom...Cloud computing como herramienta facilitadora para el emprendimiento en colom...
Cloud computing como herramienta facilitadora para el emprendimiento en colom...ACORN-REDECOM
 
Laboratorio 11.5.1
Laboratorio 11.5.1Laboratorio 11.5.1
Laboratorio 11.5.1UNAD
 
Huawei Router Basic Configuration Command
Huawei Router Basic Configuration CommandHuawei Router Basic Configuration Command
Huawei Router Basic Configuration CommandHuanetwork
 
Guia básica Packet Tracer
Guia básica Packet TracerGuia básica Packet Tracer
Guia básica Packet TracerErick Calderin
 
CCNA Router and IOS Basics
CCNA Router and IOS BasicsCCNA Router and IOS Basics
CCNA Router and IOS BasicsDsunte Wilson
 
CCNA Based routing protocols
CCNA Based routing protocolsCCNA Based routing protocols
CCNA Based routing protocolsGaurav Rawat
 
Comandos de configuracion de dispositivos cisco
Comandos de configuracion de dispositivos ciscoComandos de configuracion de dispositivos cisco
Comandos de configuracion de dispositivos ciscoCISCO NETWORKING
 
CCNA Basic Switching and Switch Configuration
CCNA Basic Switching and Switch ConfigurationCCNA Basic Switching and Switch Configuration
CCNA Basic Switching and Switch ConfigurationDsunte Wilson
 

Destacado (14)

Switch y Hub
Switch y HubSwitch y Hub
Switch y Hub
 
Networking
NetworkingNetworking
Networking
 
Switch Hub
Switch HubSwitch Hub
Switch Hub
 
Switch,hub
Switch,hubSwitch,hub
Switch,hub
 
Cloud computing como herramienta facilitadora para el emprendimiento en colom...
Cloud computing como herramienta facilitadora para el emprendimiento en colom...Cloud computing como herramienta facilitadora para el emprendimiento en colom...
Cloud computing como herramienta facilitadora para el emprendimiento en colom...
 
Hub vs switch
Hub vs switchHub vs switch
Hub vs switch
 
Switch
SwitchSwitch
Switch
 
Laboratorio 11.5.1
Laboratorio 11.5.1Laboratorio 11.5.1
Laboratorio 11.5.1
 
Huawei Router Basic Configuration Command
Huawei Router Basic Configuration CommandHuawei Router Basic Configuration Command
Huawei Router Basic Configuration Command
 
Guia básica Packet Tracer
Guia básica Packet TracerGuia básica Packet Tracer
Guia básica Packet Tracer
 
CCNA Router and IOS Basics
CCNA Router and IOS BasicsCCNA Router and IOS Basics
CCNA Router and IOS Basics
 
CCNA Based routing protocols
CCNA Based routing protocolsCCNA Based routing protocols
CCNA Based routing protocols
 
Comandos de configuracion de dispositivos cisco
Comandos de configuracion de dispositivos ciscoComandos de configuracion de dispositivos cisco
Comandos de configuracion de dispositivos cisco
 
CCNA Basic Switching and Switch Configuration
CCNA Basic Switching and Switch ConfigurationCCNA Basic Switching and Switch Configuration
CCNA Basic Switching and Switch Configuration
 

Similar a C C N A Day2

Ccna day2-140715152313-phpapp02
Ccna day2-140715152313-phpapp02Ccna day2-140715152313-phpapp02
Ccna day2-140715152313-phpapp02Sachin Morya
 
CCNA ppt Day 4
CCNA ppt Day 4CCNA ppt Day 4
CCNA ppt Day 4VISHNU N
 
Cisco IOS (internetworking operating system)
Cisco IOS (internetworking operating system)Cisco IOS (internetworking operating system)
Cisco IOS (internetworking operating system)Netwax Lab
 
Basic about-router
Basic about-routerBasic about-router
Basic about-routersaurabh goel
 
CCNA at a glance
CCNA at a glanceCCNA at a glance
CCNA at a glanceVikas Raut
 
Cisco Certified Network Associate (CCNA) - R&S - Semester 2 Notes
Cisco Certified Network Associate (CCNA) - R&S - Semester 2 NotesCisco Certified Network Associate (CCNA) - R&S - Semester 2 Notes
Cisco Certified Network Associate (CCNA) - R&S - Semester 2 NotesAhmed Gad
 
introduction-to-cisco-routers.ppt
introduction-to-cisco-routers.pptintroduction-to-cisco-routers.ppt
introduction-to-cisco-routers.pptRobelTsada
 
VESIT WORKSHOP SIMULATIONS.ppt
VESIT WORKSHOP SIMULATIONS.pptVESIT WORKSHOP SIMULATIONS.ppt
VESIT WORKSHOP SIMULATIONS.pptzmulani8
 
VESIT WORKSHOP SIMULATIONS.ppt
VESIT WORKSHOP SIMULATIONS.pptVESIT WORKSHOP SIMULATIONS.ppt
VESIT WORKSHOP SIMULATIONS.pptzmulani8
 
VESIT WORKSHOP SIMULATIONS.ppt
VESIT WORKSHOP SIMULATIONS.pptVESIT WORKSHOP SIMULATIONS.ppt
VESIT WORKSHOP SIMULATIONS.pptzmulani8
 
Cisco Internetworking Operating System (ios)
Cisco Internetworking Operating System (ios)Cisco Internetworking Operating System (ios)
Cisco Internetworking Operating System (ios)Netwax Lab
 
managing your network environment
managing your network environmentmanaging your network environment
managing your network environmentscooby_doo
 
Cisco router configuration tutorial
Cisco router configuration tutorialCisco router configuration tutorial
Cisco router configuration tutorialIT Tech
 

Similar a C C N A Day2 (20)

Ccna day2
Ccna day2Ccna day2
Ccna day2
 
Ccna day2
Ccna day2Ccna day2
Ccna day2
 
Ccna 2
Ccna 2Ccna 2
Ccna 2
 
Ccna day2
Ccna day2Ccna day2
Ccna day2
 
Ccna day2-140715152313-phpapp02
Ccna day2-140715152313-phpapp02Ccna day2-140715152313-phpapp02
Ccna day2-140715152313-phpapp02
 
Ccna day2
Ccna day2Ccna day2
Ccna day2
 
CCNA ppt Day 4
CCNA ppt Day 4CCNA ppt Day 4
CCNA ppt Day 4
 
Cisco IOS (internetworking operating system)
Cisco IOS (internetworking operating system)Cisco IOS (internetworking operating system)
Cisco IOS (internetworking operating system)
 
Basic about-router
Basic about-routerBasic about-router
Basic about-router
 
CCNA at a glance
CCNA at a glanceCCNA at a glance
CCNA at a glance
 
Routerfundaments gurwinder
Routerfundaments gurwinderRouterfundaments gurwinder
Routerfundaments gurwinder
 
Cisco Certified Network Associate (CCNA) - R&S - Semester 2 Notes
Cisco Certified Network Associate (CCNA) - R&S - Semester 2 NotesCisco Certified Network Associate (CCNA) - R&S - Semester 2 Notes
Cisco Certified Network Associate (CCNA) - R&S - Semester 2 Notes
 
CCNA complete.ppt
CCNA complete.pptCCNA complete.ppt
CCNA complete.ppt
 
introduction-to-cisco-routers.ppt
introduction-to-cisco-routers.pptintroduction-to-cisco-routers.ppt
introduction-to-cisco-routers.ppt
 
VESIT WORKSHOP SIMULATIONS.ppt
VESIT WORKSHOP SIMULATIONS.pptVESIT WORKSHOP SIMULATIONS.ppt
VESIT WORKSHOP SIMULATIONS.ppt
 
VESIT WORKSHOP SIMULATIONS.ppt
VESIT WORKSHOP SIMULATIONS.pptVESIT WORKSHOP SIMULATIONS.ppt
VESIT WORKSHOP SIMULATIONS.ppt
 
VESIT WORKSHOP SIMULATIONS.ppt
VESIT WORKSHOP SIMULATIONS.pptVESIT WORKSHOP SIMULATIONS.ppt
VESIT WORKSHOP SIMULATIONS.ppt
 
Cisco Internetworking Operating System (ios)
Cisco Internetworking Operating System (ios)Cisco Internetworking Operating System (ios)
Cisco Internetworking Operating System (ios)
 
managing your network environment
managing your network environmentmanaging your network environment
managing your network environment
 
Cisco router configuration tutorial
Cisco router configuration tutorialCisco router configuration tutorial
Cisco router configuration tutorial
 

Más de darulquthni

I P Routing Foundations
I P  Routing  FoundationsI P  Routing  Foundations
I P Routing Foundationsdarulquthni
 
English 2 Word Order And Derivatives
English 2    Word  Order And  DerivativesEnglish 2    Word  Order And  Derivatives
English 2 Word Order And Derivativesdarulquthni
 
English 1 Reading Strategy
English 1    Reading  StrategyEnglish 1    Reading  Strategy
English 1 Reading Strategydarulquthni
 
Bahasa Inggris Dasar Dasar Tenses
Bahasa  Inggris    Dasar  Dasar  TensesBahasa  Inggris    Dasar  Dasar  Tenses
Bahasa Inggris Dasar Dasar Tensesdarulquthni
 
H P2 K19 Selling Storage Business Class. R2
H P2  K19  Selling  Storage  Business  Class. R2H P2  K19  Selling  Storage  Business  Class. R2
H P2 K19 Selling Storage Business Class. R2darulquthni
 
Al Azhar Arabic Centre
Al  Azhar  Arabic  CentreAl  Azhar  Arabic  Centre
Al Azhar Arabic Centredarulquthni
 
Lokakarya Banten Sertifikasi Dosen
Lokakarya  Banten  Sertifikasi  DosenLokakarya  Banten  Sertifikasi  Dosen
Lokakarya Banten Sertifikasi Dosendarulquthni
 
P O T R E T I N T E L E K T U A L M A H A S I S W A
P O T R E T  I N T E L E K T U A L  M A H A S I S W AP O T R E T  I N T E L E K T U A L  M A H A S I S W A
P O T R E T I N T E L E K T U A L M A H A S I S W Adarulquthni
 
SalakaNagara Pulosari
SalakaNagara PulosariSalakaNagara Pulosari
SalakaNagara Pulosaridarulquthni
 
H A S I L P E N E L I T I A N D I C I T A M A N J I P U T P A N D E G L ...
H A S I L  P E N E L I T I A N  D I  C I T A M A N  J I P U T  P A N D E G L ...H A S I L  P E N E L I T I A N  D I  C I T A M A N  J I P U T  P A N D E G L ...
H A S I L P E N E L I T I A N D I C I T A M A N J I P U T P A N D E G L ...darulquthni
 
Strategy Organisasi
Strategy  OrganisasiStrategy  Organisasi
Strategy Organisasidarulquthni
 
Pengertian Internet
Pengertian InternetPengertian Internet
Pengertian Internetdarulquthni
 
Wireless Fidelity (WIFI)
Wireless Fidelity (WIFI)Wireless Fidelity (WIFI)
Wireless Fidelity (WIFI)darulquthni
 
Gambar Networking
Gambar  NetworkingGambar  Networking
Gambar Networkingdarulquthni
 

Más de darulquthni (20)

Matan Zubaid
Matan ZubaidMatan Zubaid
Matan Zubaid
 
I P Routing Foundations
I P  Routing  FoundationsI P  Routing  Foundations
I P Routing Foundations
 
English 2 Word Order And Derivatives
English 2    Word  Order And  DerivativesEnglish 2    Word  Order And  Derivatives
English 2 Word Order And Derivatives
 
English 1 Reading Strategy
English 1    Reading  StrategyEnglish 1    Reading  Strategy
English 1 Reading Strategy
 
Bahasa Inggris Dasar Dasar Tenses
Bahasa  Inggris    Dasar  Dasar  TensesBahasa  Inggris    Dasar  Dasar  Tenses
Bahasa Inggris Dasar Dasar Tenses
 
H P2 K19 Selling Storage Business Class. R2
H P2  K19  Selling  Storage  Business  Class. R2H P2  K19  Selling  Storage  Business  Class. R2
H P2 K19 Selling Storage Business Class. R2
 
Masjid Al Aqsa
Masjid  Al  AqsaMasjid  Al  Aqsa
Masjid Al Aqsa
 
Al Azhar Arabic Centre
Al  Azhar  Arabic  CentreAl  Azhar  Arabic  Centre
Al Azhar Arabic Centre
 
Lokakarya Banten Sertifikasi Dosen
Lokakarya  Banten  Sertifikasi  DosenLokakarya  Banten  Sertifikasi  Dosen
Lokakarya Banten Sertifikasi Dosen
 
P O T R E T I N T E L E K T U A L M A H A S I S W A
P O T R E T  I N T E L E K T U A L  M A H A S I S W AP O T R E T  I N T E L E K T U A L  M A H A S I S W A
P O T R E T I N T E L E K T U A L M A H A S I S W A
 
SalakaNagara Pulosari
SalakaNagara PulosariSalakaNagara Pulosari
SalakaNagara Pulosari
 
H A S I L P E N E L I T I A N D I C I T A M A N J I P U T P A N D E G L ...
H A S I L  P E N E L I T I A N  D I  C I T A M A N  J I P U T  P A N D E G L ...H A S I L  P E N E L I T I A N  D I  C I T A M A N  J I P U T  P A N D E G L ...
H A S I L P E N E L I T I A N D I C I T A M A N J I P U T P A N D E G L ...
 
Strategy Organisasi
Strategy  OrganisasiStrategy  Organisasi
Strategy Organisasi
 
Web 2.0
Web 2.0Web 2.0
Web 2.0
 
Pengertian Internet
Pengertian InternetPengertian Internet
Pengertian Internet
 
Wireless Fidelity (WIFI)
Wireless Fidelity (WIFI)Wireless Fidelity (WIFI)
Wireless Fidelity (WIFI)
 
V L S
V L SV L S
V L S
 
Gambar Networking
Gambar  NetworkingGambar  Networking
Gambar Networking
 
HP StorageWorks
HP StorageWorksHP StorageWorks
HP StorageWorks
 
H P E V A
H P  E V AH P  E V A
H P E V A
 

C C N A Day2

  • 2. Cisco IOS Cisco technology is built around the Cisco Internetwork Operating System (IOS), which is the software that controls the routing and switching functions of internetworking devices. A solid understanding of the IOS is essential for a network administrator.
  • 3. The Purpose of Cisco IOS As with a computer, a router or switch cannot function without an operating system. Cisco calls its operating system the Cisco Internetwork Operating System or Cisco IOS.
  • 4. Introduction to Routers A router is a special type of computer. It has the same basic components as a standard desktop PC. However, routers are designed to perform some very specific functions. Just as computers need operating systems to run software applications, routers need the Internetwork Operating System software (IOS) to run configuration files. These configuration files contain the instructions and parameters that control the flow of traffic in and out of the routers. The many parts of a router are shown below:
  • 5. Router Memory Components ROM - Read Only Memory – Bootstrap/POST FLASH Memory - IOS Images are kept here - Erasable reprogrammable ROM - Contents are kept on Power down or reload RAM - Random Access memory - Routing Tables - Running Configuration - Contents are lost on reboot NVRAM - Start up configuration - Configuration Register - Contents are kept on reload
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 12.
  • 13. Boot Sequence ON OFF POST Bootstrap ROMMonitor RXBoot FLASH CR Configuration Register LOAD IOS C-File NVRAM Y N Running Setup Mode Checks All interfaces RAM 0 0 0 0 0 0 0 1 0 0 1 0 ROMMonitor RxBoot Flash 1 1 1 1 0 1 2-15 14 15 13 12 10 11 9 8 6 7 5 4 2 3 1 0 4 8 2 1 4 8 2 1 4 8 2 1 4 8 2 1
  • 14. After the Post… After the POST, the following events occur as the router initializes: Step 1 The generic bootstrap loader in ROM executes. A bootstrap is a simple set of instructions that tests hardware and initializes the IOS for operation.  Step 2 The IOS can be found in several places. The boot field of the configuration register determines the location to be used in loading the IOS. Step 3 The operating system image is loaded. Step 4 The configuration file saved in NVRAM is loaded into main memory and executed one line at a time. The configuration commands start routing processes, supply addresses for interfaces, and define other operating characteristics of the router. Step 5 If no valid configuration file exists in NVRAM, the operating system searches for an available TFTP server. If no TFTP server is found, the setup dialog is initiated.  
  • 15.
  • 16.
  • 17. External Components of a 2600 Router
  • 18. Internal Components of a 2600 Router
  • 20. Modem Connection to Console/Aux Port
  • 22. Establishing a HyperTerminal Session Take the following steps to connect a terminal to the console port on the router: First, 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. Then, configure the terminal or PC terminal emulation software for 9600 baud, 8 data bits, no parity, 1 stop bit, and no flow control.
  • 23. Router Command Line Interface
  • 24. IOS File System Overview
  • 25. Router LED Indicators Cisco routers use LED indicators to provide status information. Depending upon the Cisco router model, the LED indicators will vary. An interface LED indicates the activity of the corresponding interface. If an LED is off when the interface is active and the interface is correctly connected, a problem may be indicated. If an interface is extremely busy, its LED will always be on. The green OK LED to the right of the AUX port will be on after the system initializes correctly.
  • 27. Router User Interface Modes The Cisco command-line interface (CLI) uses a hierarchical structure. This structure requires entry into different modes to accomplish particular tasks. Each configuration mode is indicated with a distinctive prompt and allows only commands that are appropriate for that mode. As a security feature the Cisco IOS software separates sessions into two access levels, user EXEC mode and privileged EXEC mode. The privileged EXEC mode is also known as enable mode .
  • 30. CLI Command Modes All command-line interface (CLI) configuration changes to a Cisco router are made from the global configuration mode. Other more specific modes are entered depending upon the configuration change that is required. Global configuration mode commands are used in a router to apply configuration statements that affect the system as a whole. The following command moves the router into global configuration mode Router# configure terminal (or config t) Router(config)# When specific configuration modes are entered, the router prompt changes to indicate the current configuration mode. Typing exit from one of these specific configuration modes will return the router to global configuration mode. Pressing Ctrl-Z returns the router to all the way back privileged EXEC mode.
  • 31. Show Version Command wg_ro_a# show version Cisco Internetwork Operating System Software IOS (tm) 2500 Software (C2500-JS-L), Version 12.0(3), RELEASE SOFTWARE (fc1) Copyright (c) 1986-1999 by cisco Systems, Inc. Compiled Mon 08-Feb-99 18:18 by phanguye Image text-base: 0x03050C84, data-base: 0x00001000 ROM: System Bootstrap, Version 11.0(10c), SOFTWARE BOOTFLASH: 3000 Bootstrap Software (IGS-BOOT-R), Version 11.0(10c), RELEASE SOFTWARE(fc1) wg_ro_a uptime is 20 minutes System restarted by reload System image file is "flash:c2500-js-l_120-3.bin" (output omitted) --More-- Configuration register is 0x2102
  • 33.
  • 34.
  • 35.
  • 36. Configuring a Router’s Name A router should be given a unique name as one of the first configuration tasks. This task is accomplished in global configuration mode using the following commands: Router(config)#hostname Gates Gates(config)# As soon as the Enter key is pressed, the prompt changes from the default host name (Router) to the newly configured host name (which is Gates in the example above).
  • 37. Setting the Clock with Help
  • 38. Message Of The Day (MOTD) A message-of-the-day (MOTD) banner can be displayed on all connected terminals. Enter global configuration mode by using the command config t Enter the command banner motd # Welcome to Gates Training # . Save changes by issuing the command copy run start
  • 39.
  • 40.
  • 41.
  • 42.
  • 43.
  • 44.
  • 46.
  • 47.
  • 48.
  • 49.
  • 50. LAB – Interface Configuration S0 S0 R1 R2 E0 10.0.0.1 10.0.0.2 30.0.0.2 20.0.0.1 20.0.0.2 30.0.0.1 A S0 E0 40.0.0.2 40.0.0.1 B S1 R3
  • 51.
  • 52.
  • 53.
  • 54.
  • 55.
  • 57.
  • 58.
  • 59.
  • 60.
  • 61.
  • 62.
  • 63.
  • 64. LAB Configuration S0 S0 R1 R2 E0 E0 10.0.0.1 10.0.0.2 30.0.0.2 20.0.0.1 20.0.0.2 30.0.0.1 A B
  • 65. LAB – Interface Configuration S0 S0 R1 R2 E0 10.0.0.1 10.0.0.2 30.0.0.2 20.0.0.1 20.0.0.2 30.0.0.1 A S0 E0 40.0.0.2 40.0.0.1 B S1 R3
  • 66.
  • 67.
  • 68.
  • 69.
  • 70.
  • 71. LAB – Static Route Configuration S0 S0 R1 R2 E0 10.0.0.1 10.0.0.2 30.0.0.2 20.0.0.1 20.0.0.2 30.0.0.1 A S0 E0 40.0.0.2 40.0.0.1 B S1 R3 R1# config t R1(config)#ip route 30.0.0.0 255.0.0.0 20.0.0.2 R1(config)#ip route 40.0.0.0 255.0.0.0 20.0.0.2 R2# config t R2(config)#ip route 10.0.0.0 255.0.0.0 20.0.0.1 R2(config)#ip route 40.0.0.0 255.0.0.0 30.0.0.2 R3# config t R3(config)#ip route 10.0.0.0 255.0.0.0 30.0.0.1 R3(config)#ip route 20.0.0.0 255.0.0.0 30.0.0.1
  • 72.
  • 73. Removing IP Route S0 S0 R1 R2 E0 10.0.0.1 10.0.0.2 30.0.0.2 20.0.0.1 20.0.0.2 30.0.0.1 A S0 E0 40.0.0.2 40.0.0.1 B S1 R3 R1# config t R1(config)#no ip route 30.0.0.0 255.0.0.0 20.0.0.2 R1(config)#no ip route 40.0.0.0 255.0.0.0 20.0.0.2 R2# config t R2(config)#no ip route 10.0.0.0 255.0.0.0 20.0.0.1 R2(config)#no ip route 40.0.0.0 255.0.0.0 30.0.0.2 R3# config t R3(config)#no ip route 10.0.0.0 255.0.0.0 30.0.0.1 R3(config)#no ip route 20.0.0.0 255.0.0.0 30.0.0.1
  • 74.
  • 75.
  • 76. Configuring Default Routes Default routes are used to route packets with destinations that do not match any of the other routes in the routing table. A default route is actually a special static route that uses this format: ip route 0.0.0.0 0.0.0.0 [ next-hop-address | outgoing interface ] This is sometimes referred to as a “Quad-Zero” route. Example using next hop address: Router(config)# ip route 0.0.0.0 0.0.0.0 172.16.4.1 Example using the exit interface: Router(config)# ip route 0.0.0.0 0.0.0.0 s0/0
  • 77. LAB Configuration S0 S0 R1 R2 E0 E0 10.0.0.1 10.0.0.2 40.0.0.2 20.0.0.1 20.0.0.2 30.0.0.1 S0 S1 30.0.0.2 40.0.0.1 R3 A B
  • 78. Default Route LAB Configuration S0 S0 R1 R2 E0 E0 10.0.0.1 10.0.0.2 40.0.0.2 20.0.0.1 20.0.0.2 30.0.0.1 S0 S1 30.0.0.2 40.0.0.1 R3 R1# config t R1(config)#ip route 0.0.0.0 0.0.0.0 20.0.0.2 R3# config t R3(config)#ip route 0.0.0.0 0.0.0.0 30.0.0.1 R2# config t R2(config)#ip route 10.0.0.0 255.0.0.0 20.0.0.1 R2(config)#ip route 40.0.0.0 255.0.0.0 30.0.0.2 A B
  • 79.
  • 80.
  • 81. IGP Interior Gateway Protocol (IGP) Interior Gateway Protocol (IGP) AS 1000 AS 2000 AS 3000 Fig. 49 The use of IGP and EGP protocols (TI1332EU02TI_0004 The Network Layer, 67) Routing Categories Exterior Gateway Protocol (EGP) EGP EGP EGP
  • 82.
  • 83. Types or Classes of Routing Protocols
  • 84.
  • 85.
  • 86.
  • 87.
  • 88.
  • 89.
  • 90.
  • 91.
  • 92. Routing Loops A network problem in which packets continue to be routed in an endless circle
  • 93.
  • 94.
  • 95.
  • 96.
  • 97.
  • 98.
  • 99.
  • 100.
  • 101.
  • 102.
  • 103.
  • 104.
  • 105.
  • 107.
  • 109. Pinhole Congestion 192.168.10.1 192.168.20.1 1Mbps 1Mbps 56kbps 56kbps
  • 110.
  • 111.
  • 112. Router Configuration The router command starts a routing process. The network command is required because it enables the routing process to determine which interfaces participate in the sending and receiving of routing updates. An example of a routing configuration is: Gates(config)# router rip Gates(config-router)# network 172.16.0.0 The network numbers are based on the network class addresses, not subnet addresses or individual host addresses.
  • 113. RIP Configuration S0 S0 R1 R2 E0 E0 192.168.10.1 S0 S1 R3 R1# config t R1(config)# )#router rip R1(config)#network 192.168.10.0 R1(config)#network 192.168.20.0 R2# config t R2(config)#router rip R2(config)#network 192.168.20.0 R2(config)#network 192.168.30.0 192.168.10.2 192.168.20.1 192.168.20.2 192.168.30.1 192.168.30.2 192.168.40.1 192.168.40.2 R3# config t R3(config)# )#router rip R3(config)#network 192.168.30.0 R3(config)#network 192.168.40.0 A B
  • 115. Displaying the IP Routing Table
  • 116. debug ip rip Command
  • 117.
  • 118. RIP Version 2 (RIPv2) R1# config t R1(config)# )#router rip R1(config)#network 192.168.10.0 R1(config)#network 192.168.20.0 R1(config)#version 2
  • 119. Exercise - RIP Version 2 Configuration S0 S0 R1 R2 E0 E0 192.168.0.16/29 S0 S1 R3 192.168.0.4/30 192.168.0.8/30 192.168.0.32/28 1. Find out the IP Address and SNM of each interfaces A B
  • 120. Exercise - RIP Version 2 Configuration S0 S0 R1 R2 E0 E0 192.168.0.18 255.255.255.248 S0 S1 R3 192.168.0.17 255.255.255.248 192.168.0.5 255.255.255.252 192.168.0.6 255.255.255.252 192.168.0.9 255.255.255.252 192.168.0.10 255.255.255.252 192.168.0.33 255.255.255.240 192.168.0.34 255.255.255.240 A B
  • 121. Exercise - RIP Version 2 Configuration S0 S0 R1 R2 E0 E0 192.168.0.16/29 S0 S1 R3 192.168.0.4/30 192.168.0.8/30 192.168.0.32/28 R2# config t R2(config)#router rip R2(config)#network 192.168.0.4 R2(config)#network 192.168.0.8 R2(config)#version 2 R1# config t R1(config)# )#router rip R1(config)#network 192.168.0.4 R1(config)#network 192.168.0.16 R1(config)#version 2 R3# config t R3(config)# )#router rip R3(config)#network 192.168.0.8 R3(config)#network 192.168.0.32 R3(config)#version 2 A B
  • 122. © 2002, Cisco Systems, Inc. All rights reserved. Enabling IGRP
  • 123.
  • 124.
  • 125.
  • 127.
  • 129. IGRP Configuration S0 S0 R1 R2 E0 E0 192.168.10.1 S0 S1 R3 R1# config t R1(config)# )#router igrp 10 R1(config)#network 192.168.10.0 R1(config)#network 192.168.20.0 R2# config t R2(config)#router igrp 10 R2(config)#network 192.168.20.0 R2(config)#network 192.168.30.0 192.168.10.2 192.168.20.1 192.168.20.2 192.168.30.1 192.168.30.2 192.168.40.1 192.168.40.2 R3# config t R3(config)# )#router igrp 10 R3(config)#network 192.168.30.0 R3(config)#network 192.168.40.0 A B
  • 130.
  • 131.

Notas del editor

  1. Function POST Bootstrap
  2. Function POST Bootstrap
  3. Enable router to connect other devices Based on the type we have modular and non modular Non modular are fixed Modular can be added interfaces Ethernet or FA – connecting to switch Line – for the local configuration Router – console port PC- Serial Port Aux – for remote configuration using a modem BRI – for ISDN WAN connectivity Ports are numbered serially
  4. Note: RAM—Packet buffers, running configurations, running Cisco IOS ROM—POST, ROM monitor, baby Cisco IOS (Rxboot) NVRAM—Backup configurations, config register Flash—Cisco IOS Flash memory is nonvolatile. It behaves like a file system. It is more expensive than NVRAM. It is readable and writeable. The 2500 routers run from Flash. If it is running Cisco IOS from Flash, then the Flash is in the readable state. Use the boot system command to boot Cisco IOS from a TFTP server so the 2500 can run from RAM if you need to write or erase Flash online.
  5. Emphasize: In a later slide, there is a very detailed flowchart of the router startup process.
  6. Rommonitor – Safe Mode Rxboot – TFTP Server Flash
  7. Note: The 2500 series routers do not operate this way. The 2500 series routers normally run Cisco IOS from Flash. The Cisco IOS in Flash is not compressed but it is relocatable. Relocatable means the Cisco IOS image can be run from Flash or from RAM. The 2500 can run from RAM if you use the boot system tftp command to boot the Cisco IOS image. The Rxboot mode is also run from RAM on the 2500 routers.
  8. Emphasize: Using the default config register value (0x2102), the router will load the config from NVRAM at startup.
  9. Purpose: This slide presents the show version command. Emphasize: Point out that this command is useful when troubleshooting problems because it gives the versions of the various software components and files. It also displays how long the router has been in operation and where it obtained the image file. Config register is discussed in Chapter 6, “Catalyst Switch Operations.”
  10. Emphasize: When you exit the setup mode, the configuration can be saved to RAM and NVRAM at the same time. Note: The Catalyst 1900 has no show start command. It automatically saves the running configuration to NVRAM.
  11. Purpose: This slide shows the format and output of the show running-config and show startup-config commands, which display the active and backup configuration files, respectively. Emphasize: We put these two commands on the same page because it is easy to confuse the two. The show running-config command displays the configuration information in memory, while the show startup-config command displays the backup file. Often in class someone will enter commands and then say that the router did not accept them. This scenario might indicate that the person entered the commands to modify the configuration information in memory, and then entered a show startup-config (show config) to look at the backup file that has not yet been updated to reflect the changes. You must use another command to update the backup file. Default parameters do not display in the running configuration. In Cisco IOS Release 10.2 and earlier, the write terminal command shows the running configuration, and the show config command shows the startup configuration.
  12. As its name suggests, the most common use of the show version command is to determine which version of the Cisco IOS a device is running. However, this command does much more than that—it actually offers several different uses. Let David Davis introduce you to the many uses of Cisco's show version command, and see how its output varies according to which device you're using. 1. The version of the IOS operating system 2. The version of the ROM bootstrap 3. The version of the boot loader 4. How someone last powered on the device (In addition to powering on in the usual manner, you can also power on a device with a system reset (i.e., warm reboot) or by a system panic.) 5. The time and date the system last started 6. The "uptime" for the system (i.e., how much time has passed since the last power-on) 7. The image file that the device last started (i.e., the actual path to the IOS software) 8. How much RAM the device has 9. The processor board ID, which you can use to determine the version of the device's motherboard 10. The number and type of each interface on the device (e.g., Qty 2 Ethernet, Qty 6 Serial, etc.) 11. The number of terminal lines on the router if a router has asynchronous serial lines attached 12. The amount of nonvolatile RAM (NVRAM), used to hold the SAVED version of the configuration file, also known as the startup-configuration 13. The amount and type of Flash on the device (except on a switch), used to hold the operating system when it isn't in use (Think of it as the equivalent to a hard drive on a PC.) 14. The configuration register on the device, which is a hexadecimal number used to tell the device what to do when it boots. (Typically, this only changes when you need to bypass the configuration file because of a lost password, but you can also change it for other special cases.) 15. The hostname of the device SHOW HISTORY will give all commands available in history bufer By default the buffer size is 10, this can be seen by SHOW TERMINA: Command The terminal history size can be increased by #Terminal History size 25
  13. Connecting to the Auxiliary Port When a modem is connected to the auxiliary port, a remote user can dial in to the router and configure it. Use the light blue console cable and the DB-9-to-DB-25 connector adapter that came in the router accessory kit. To connect a modem to the router, follow these steps: Step 1- Connect the RJ-45 end of the adapter cable to the black AUX port on the router. Step 2-Connect the DB-9 end of the console cable to the DB-9 end of the modem adapter. Step 3-Connect the DB-25 end of the modem adapter to the modem.
  14. The router Serial to serial AUI to Host Change Host name to R1 AND R2
  15. To see the route #Show IP route
  16. Purpose: this figure states the chapter objectives. Emphasize: Read or state each objective so each student has a clear understanding of the chapter objectives.
  17. In internetworking , the process of moving a packet of data from source to destination . Routing is usually performed by a dedicated device called a router . Routing is a key feature of the Internet because it enables messages to pass from one computer to another and eventually reach the target machine. Each intermediary computer performs routing by passing along the message to the next computer. Part of this process involves analyzing a routing table to determine the best path. Routing is often confused with bridging, which performs a similar function. The principal difference between the two is that bridging occurs at a lower level and is therefore more of a hardware function whereas routing occurs at a higher level where the software component is more important. And because routing occurs at a higher level, it can perform more complex analysis to determine the optimal path for the packet. A routing protocol sends and receives routing information packets to and from other routers. A routed protocol can be routed by a router, which means that it can be forwarded from one router to another. Yes, there are protocols that can't be routed, such as NetBEUI (Network Basic Input Output System Extended User Interface). That a routed protocol can be routed may seem obvious, but unless you know how to differentiate it from a routing protocol, you may have trouble with the wording for some questions on the exam. A protocol is a set of rules that defines how two devices communicate with one another. It also defines the format for the packets used to transmit data over communications lines. A routed protocol contains the data elements required for a packet to be sent outside its host network or network segment. In other words, a routed protocol can be routed. Protocols used to communicate routing information between routers within an autonomous system are Interior Gateway Protocols (IGP), which are routing protocols, but not routed protocols. Routing protocols gather and share the routing information used to maintain and update routing tables. That routing information is in turn used to route a routed protocol to its final destination. Routing Information Protocol (RIP) and Interior Gateway Routing Protocol (IGRP) are the routing protocols you need to know for the exam. If you can remember what the abbreviations mean, you'll remember that they are routing protocols because they have routing in their names. Remember, too, that they are not routed protocols. In short, routed protocols route your data and routing protocols send routing updates between routers about the status of the network so that your routed protocol data can be routed. Got that? No? Well, try this to help keep it straight:
  18. Purpose: This figure introduces students to routing. The router must accomplish the items listed in the figure for routing to occur. Emphasize: Path determination occurs at Layer 3, the network layer. The path determination function enables a router to evaluate the available paths to a destination and to establish the best path. Routing services use network topology information when evaluating network paths. This information can be configured by the network administrator (static routes) or collected through dynamic processes (routing protocols) running in the network. Transition: How do you represent the path to the packet’s destination?
  19. Purpose: This figure explains that routers must learn about paths not directly connected. Emphasize: The router already knows about directly connected networks. It must learn about those networks not connected. This chapter describes how routers learn about those paths.
  20. 1. Internet Control Message Protocol (ICMP) creates an echo request payload (which is just the alphabet in the data field). 2. ICMP hands that payload to Internet Protocol (IP), which then creates a packet. 3. Once the packet is created, IP determines whether the destination IP address is on the local network or a remote one. 4. Since IP determines that this is a remote request, the packet needs to be sent to the default gateway so the packet can be routed to the remote network. The Registry in Windows is parsed to find the configured default gateway. 5. The default gateway of host 172.16.10.2 (Host_A) is configured to 172.16.10.1. To be able to send this packet to the default gateway, the hardware address of the router’s interface Ethernet 0 (configured with the IP address of 172.16.10.1) must be known. 6. Next, the ARP cache is checked to see if the IP address of the default gateway has already been resolved to a hardware address: If the hardware address isn’t already in the ARP cache of the host, an ARP broadcast is sent out onto the local network to search for the hardware address of 172.16.10.1. The router responds to the request and provides the hardware address of Ethernet 0, and the host caches this address. The router also caches the hardware address of Host_A in its ARP cache. 7. Once the packet and destination hardware address are handed to the Data Link layer, the LAN driver is used to provide media access via the type of LAN being used (in this example, Ethernet). A frame is then generated, encapsulating the packet with control information. Within that frame are the hardware destination and source addresses, plus, in this case, an Ether-Type field that describes the Network layer protocol that handed the packet to the Data Link layer—in this instance, IP. At the end of the frame is something called a Frame Check Sequence (FCS) field that houses the result of the cyclic redundancy check (CRC). 8. Once the frame is completed, it’s handed down to the Physical layer to be put on the physical medium (in this example, twisted-pair wire) one bit at a time. 9. Every device in the collision domain receives these bits and builds the frame. They each run a CRC and check the answer in the FCS field. If the answers don’t match, the frame is discarded. _ If the CRC matches, then the hardware destination address is checked to see if it matches, too (which, in this example, is the router’s interface Ethernet 0). If it’s a match, then the Ether-Type field is checked to find the protocol used at the Network layer. 10. The packet is pulled from the frame, and what is left of the frame is discarded. The packet is handed to the protocol listed in the Ether-Type field—it’s given to IP. 11. IP receives the packet and checks the IP destination address. Since the packet’s destination address doesn’t match any of the addresses configured on the receiving router itself, the router will look up the destination IP network address in its routing table. 12. The routing table must have an entry for the network 172.16.20.0, or the packet will be discarded Immediately and an ICMP message will be sent back to the originating device with a “destination network unreachable” message. 13. If the router does find an entry for the destination network in its table, the packet is switched to the exit interface—in this example, interface Ethernet 1. 14. The router packet-switches the packet to the Ethernet 1 buffer. 15. The Ethernet 1 buffer needs to know the hardware address of the destination host and first checks the ARP cache. If the hardware address of Host_B has already been resolved, then the packet and the hardware address are handed down to the Data Link layer to be framed. If the hardware address has not already been resolved, the router sends an ARP request out E1 looking for the hardware address of 172.16.20.2. Host_B responds with its hardware address, and the packet and destination hardware address are both sent to the Data Link layer for framing. 16. The Data Link layer creates a frame with the destination and source hardware address, Ether-Type field, and FCS field at the end of the frame. The frame is handed to the Physical layer to be sent out on the physical medium one bit at a time. 17. Host_B receives the frame and immediately runs a CRC. If the result matches what’s in the FCS field, the hardware destination address is then checked. If the host finds a match, the Ether-Type field is then checked to determine the protocol that the packet should be handed to at the Network layer—IP, in this example. 18. At the Network layer, IP receives the packet and checks the IP destination address. Since there’s finally a match made, the protocol field is checked to find out whom the payload should be given to. 19. The payload is handed to ICMP, which understands that this is an echo request. ICMP responds to this by immediately discarding the packet and generating a new payload as an echo reply. 20. A packet is then created including the source and destination address, protocol field, and payload. The destination device is now Host_A. 21. IP then checks to see whether the destination IP address is a device on the local LAN or on a remote network. Since the destination device is on a remote network, the packet needs to be sent to the default gateway. 22. The default gateway IP address is found in the Registry of the Windows device, and the ARP cache is checked to see if the hardware address has already been resolved from an IP address. 23. Once the hardware address of the default gateway is found, the packet and destination hardware addresses are handed down to the Data Link layer for framing. 24. The Data Link layer frames the packet of information and includes the following in the header: _ The destination and source hardware address _ The Ether-Type field with 0x0800 (IP) in it _ The FCS field with the CRC result in tow 25. The frame is now handed down to the Physical layer to be sent out over the network medium one bit at a time. 26. The router’s Ethernet 1 interface receives the bits and builds a frame. The CRC is run, and the FCS field is checked to make sure the answers match. 27. Once the CRC is found to be okay, the hardware destination address is checked. Since the router’s interface is a match, the packet is pulled from the frame and the Ether-Type field is checked to see what protocol at the Network layer the packet should be delivered to. 28. The protocol is determined to be IP, so it gets the packet. IP runs a CRC check on the IP header first, and then checks the destination IP address. 29. But the router does know how to get to network 172.16.10.0—the exit interface is Ethernet 0—so the packet is switched to interface Ethernet 0. 30. The router checks the ARP cache to determine whether the hardware address for 172.16.10.2 has already been resolved. 31. Since the hardware address to 172.16.10.2 is already cached from the originating trip to Host_B, the hardware address and packet are handed to the Data Link layer. 32. The Data Link layer builds a frame with the destination hardware address and source hardware address, and then puts IP in the Ether-Type field. A CRC is run on the frame, and the result is placed in the FCS field. 33. The frame is then handed to the Physical layer to be sent out onto the local network one bit at a time. 34. The destination host receives the frame, runs a CRC, checks the destination hardware address, and looks in the Ether-Type field to find out whom to hand the packet to. 35. IP is the designated receiver, and after the packet is handed to IP at the Network layer, it checks the protocol field for further direction. IP finds instructions to give the payload to ICMP, and ICMP determines the packet to be an ICMP echo reply. 36. ICMP acknowledges that it has received the reply by sending an exclamation point (!) to the user interface. ICMP then attempts to send four more echo requests to the destination host.
  21. The router Serial to serial AUI to Host Change Host name to R1 AND r2
  22. The router Serial to serial AUI to Host Change Host name to R1 AND R2
  23. Purpose: This figure describes the command syntax used to establish an IP static route. Emphasize: A static route allows manual configuration of the routing table. No dynamic changes to this table entry will occur as long as the path is active. Routing updates are not sent on a link that is only defined by a static route; hence, conserving bandwidth. The ip route field descriptions are as follows: network —Destination network or subnet mask —Subnet mask address —IP address of next-hop router interface —Name of the interface to use to get to the destination network Transition: The next figure provides a static route configuration example.
  24. Purpose: This figure describes the command syntax used to establish an IP static route. Emphasize: A static route allows manual configuration of the routing table. No dynamic changes to this table entry will occur as long as the path is active. Routing updates are not sent on a link that is only defined by a static route; hence, conserving bandwidth. Describe the The ip route field descriptions: network—destination network or subnet mask—subnet mask address—IP address of next hop router interface—name of interface to use to get to destination network. Transition: The next figure provides a static route configuration example.
  25. The router Serial to serial AUI to Host Change Host name to R1 AND R2
  26. The router Serial to serial AUI to Host Change Host name to R1 AND R2
  27. Purpose: This figure gives an example of a default route configuration. Emphasize: With an address and subnet mask of 0.0.0.0 0.0.0.0 in the ip route statement, packets for any network not listed in the routing table will be sent to the next hop, 172.16.2.2.
  28. The router Serial to serial AUI to Host Change Host name to R1 AND r2
  29. Purpose: This figure introduces students to routing protocols and compares routing protocols to routed protocols. Emphasize: If network 10.120.2.0 wants to know about network 172.16.2.0, it must learn it from its S0 (or possibly S1) interface. If you have100’s of routers it become difficult to configure static routes Static has less overhead,
  30. Purpose: This figure discusses autonomous systems, IGPs and EGPs. Emphasize: Introduce the interior/exterior distinctions for routing protocols, as follows: Interior routing protocols are used within a single autonomous system Exterior routing protocols are used to communicate between autonomous systems The design criteria for an interior routing protocol require it to find the best path through the network. In other words, the metric and how that metric is used is the most important element in an interior routing protocol. Exterior protocols are used to exchange routing information between networks that do not share a common administration. IP exterior gateway protocols require the following three sets of information before routing can begin: A list of neighbor (or peer) routers or access servers with which to exchange routing information A list of networks to advertise as directly reachable The autonomous system number of the local router
  31. Purpose: This figure introduces the three classes of routing protocols. Emphasize: There is no single best routing protocol. Note: Distance vector routing protocol operation is covered in detail later in this course. Link state and hybrid are only briefly explained after the distance vector discussion. Refer students to the ACRC to learn more about link-state and hybrid routing protocols.
  32. Distance vector algorithms do not allow a router to know the exact topology of an internetwork. This information is somewhat same to the information found on signs at a highway intersection. A sign points toward a road leading away from the intersection and indicates the distance to the destination. Further down the highway, another sign also points toward the destination, but now the distance to the destination is shorter. Distance is interm of HOPS Vector is direction Exchange entire routing tables with all neighbors at regular intervals More BW consumed This is also know as routing by rumor
  33. Basis for All other routing protocol Algorithm Think that you are going for a trip from Mumbai to Delhi, there are two paths one 1500 Kms and another 1200Kms The routing table contains information about two routes But there is a piece of information which tells one route is better than other, that is known as Metric
  34. RIP uses Hop count as metric, IGRP uses Composite Metric The composite Metric are bandwidth, Delay, Load, Reliability and MTU
  35. When Network 5 fails, Router E tells Router C. This causes Router C to stop routing to Network5 through Router E. But Routers A, B, and D don’t know about Network 5 yet, so they keep sending out update information. Router C will eventually send out its update and cause B to stop routing to Network 5, but Routers A and D are still not updated. To them, it appears that Network 5 is still available through Router B with a metric of 3. The problem occurs when Router A sends out its regular 30-second “Hello, I’m still here these are the links I know about” message, which includes the ability to reach Network 5 and now Routers B and D receive the wonderful news that Network 5 can be reached from Router A, so Routers B and D then send out the information that Network 5 is available. Any packet destined for Network 5 will go to Router A, to Router B, and then back to Router A. This is a routing loop
  36. Layer 3 of 3 Emphasize: Layer 3 adds the final entries received some time later that have distances of 2 from routers A and C.
  37. Slide 1 of 4 Purpose: This figure describes the first of the general problems that a distance vector protocol could face without the corrective influence of some countermeasure. Emphasize: Layer 1 shows the original state of the network and routing tables. All routers have consistent knowledge and correct routing tables. In this example, the cost function is hop count, so the cost of each link is 1. Router C is directly connected to network 10.4.0.0 with a distance of 0. Router A’s path to network 10.4.0.0 is through router B, with a hop count of 2.
  38. Slide 2 of 4 Emphasize: In Layer 2, router C has detected the failure of network 10.4.0.0 and stops routing packets out its E0 interface. However, router A has not yet received notification of the failure and still believes it can access network 10.4.0.0 through router B. Router A’s routing table still reflects a path to network 10.4.0.0 with a distance of 2.
  39. Slide 3 of 4 Emphasize: Because router B’s routing table indicates a path to network 10.4.0.0, router C believes it now has a viable path to 10.4.0.0 through router B. Router C updates its routing table to reflect a path to network 10.4.0.0 with a hop count of 2.
  40. Slide 4 of 4 Emphasize: In Layer 4, router A receives the new routing table from router B, detects the modified distance vector to network 10.4.0.0, and recalculates its own distance vector to network 10.4.0.0 as 3. If all routers in an internetwork do not have up-to-date, accurate information about the state of the internetwork, they might use incorrect routing information to make a routing decision. The use of incorrect information might cause packets to take less-than-optimum paths or paths that return packets to routers that they have already visited.
  41. Purpose: This figure describes another of the general problems that a distance vector protocol could face without the corrective influence of some countermeasure. Emphasize: Both routers conclude that the best path to network 10.4.0.0 is through each other and continue to bounce packets destined for network 10.4.0.0 between each other, incrementing the distance vector by 1 each time. This condition, called count to infinity, continuously loops packets around the network, despite the fundamental fact that the destination network 10.4.0.0 is down. While the routers are counting to infinity, the invalid information allows a routing loop to exist. A related concept is the Time-to-Live (TTL) parameter. The TTL is a packet parameter that decreases each time a router processes the packet. When the TTL reaches zero, a router discards or drops the packet without forwarding it. A packet caught in a routing loop is removed from the internetwork when its TTL expires.
  42. Slide 4 of 4 Emphasize: In Layer 4, router A receives the new routing table from router B, detects the modified distance vector to network 10.4.0.0, and recalculates its own distance vector to network 10.4.0.0 as 3. If all routers in an internetwork do not have up-to-date, accurate information about the state of the internetwork, they might use incorrect routing information to make a routing decision. The use of incorrect information might cause packets to take less-than-optimum paths or paths that return packets to routers that they have already visited.
  43. Purpose: This figure describes a corrective measure that attempts to solve the routing loop problems that a distance vector protocol could face. Emphasize: Routing loops occur only when routing knowledge being propagated has not yet reached the entire internetwork—when the internetwork has not converged after a change. Fast convergence minimizes the chance for a routing loop to occur, but even the smallest interval leaves the possibility open. To avoid prolonging the count-to-infinity time span, distance vector protocols define infinity as some maximum number. This number refers to a routing metric, such as a hop count. With this approach, the routing protocol permits the routing loop until the metric exceeds its maximum allowed value. This example shows this defined maximum as 16 hops. Once the metric value exceeds the maximum, network 10.4.0.0 is considered unreachable.
  44. Purpose: This figure introduces the corrective measure known as “split horizon.” The split horizon technique attempts to solve routing loops. Emphasize: The split horizon technique attempts to eliminate routing loops and speed up convergence. The rule of split horizon is that it is never useful to send information about a route back in the direction from which the original packet came. In the example: Router C originally announced a route to network 10.4.0.0 to router B. It makes no sense for router B to announce to router C that router B has access to network 10.4.0.0 through router C. Given that router B passed the announcement of its route to network 10.4.0.0 to router A, it makes no sense for router A to announce its distance from network 10.4.0.0 to router B. Because router B has no alternative path to network 10.4.0.0, router B concludes that network 10.4.0.0 is inaccessible. In its basic form, the split-horizon technique simply omits from the message any information about destinations routed on the link. This strategy relies either on routes never being announced or on old announcements fading away through a timeout mechanism. Split horizon also improves performance by eliminating unnecessary routing updates. Under normal circumstances, sending routing information back to the source of the information is unnecessary. * Splithorizon - the routing protocol advertises routes out an interface only if they were not learned from updates entering that interface.
  45. Split Horizon. In looking at the routing loop example, you should have noticed that Router A ultimately let Router B know about a route to network 172.16.0.0, even though it originally learned that route from Router B. Split horizon is a rule that specifies that a router can never send information about a route back to the router that originally supplied the information. Had split horizon been used in our example, Router A would not have included information about network 172.16.0.0 in its update to Router B.
  46. Triggered Updates. Obviously the interval between routing table updates is part of the problem that leads to routing loops. Instead of relying on regular periodic updates, distance vector protocols will send out a triggered update when a metric to reach a network increases. In our example, Router C would immediately send out an update about network 172.16.0.0 not being available to Router B, who would then immediately send out an update to Router A. While triggered updates cause a little more network traffic in the short term, they go a long way towards faster convergence on a distance-vector network
  47. When a router receives an update from a neighbor indicating that a previously accessible network isn’t working and is inaccessible, the holddown timer will start. If a new update arrives from a neighbor with a better metric than the original network entry, the holddown is removed and data is passed. But if an update is received from a neighbor router before the holddown timer expires and it has an equal or lower metric than the previous route, the update is ignored and the holddown timer keeps ticking. This allows more time for the network to stabilize before trying to converge
  48. RIP versions 1 and 2 also use the concept of hold timers. When a destination has become unreachable (or the metric has increased enough to cause poisoning), the destination goes into "holddown". During this state, no new path will be accepted for the same destination for this amount of time. The hold time indicates how long this state should last. * Hold-down timer - After finding out that a router to a subnet has failed, a router waits a certain period of time before believing any other routing information about that subnet.
  49. RIP uses only hop count to determine the best path to a network. If RIP finds more than one link to the same remote network with the same hop count, it will automatically perform a round-robin load balancing. RIP can perform load balancing for up to six equal-cost links (four by default). However, a problem with this type of routing metric arises when the two links to a remote network are different bandwidths but the same hop count. Figure 5.9, for example, shows two links to remote network 172.16.10.0. Since network 172.16.30.0 is a T1 link with a bandwidth of 1.544Mbps, and network 172.16.20.0 is a 56K link, you’d want the router to choose the T1 over the 56K link, right? But because hop count is the only metric used with RIP routing, the two links would be seen as being of equal cost. This little snag is called pinhole congestion .
  50. The router Serial to serial AUI to Host Change Host name to R1 AND r2
  51. Purpose : This figure displays the show ip route command, which displays the contents of the router’s IP routing table. Emphasize : Discuss the IP routing table in detail. Show the locations of the hop count (metric) and the administrative distance (120). Discuss the following fields: R—Refers to routes learned from RIP. via—Refers to the router that informed us about this route. 00:00:07 timer value—RIP updates are every 30 seconds. Ask, “How long until the next update?” The interfaces used for the best path
  52. Purpose : This figure shows the debug ip rip command. Emphasize : Explain that debug commands also provide information for monitoring IP. The first highlighted line lists the source of the updates. The router returned information about two destinations. The last highlighted line shows the broadcast address to which the router sent updates.
  53. 152-5
  54. Purpose: This chapter introduces the Cisco IOS™ CLI on the Catalyst® 1900 switch and router. Timing: This chapter should take about 2 hours to present. Note: The Catalyst 1900 switch only has a subset of the router Cisco IOS commands available. Contents: Introduction to Cisco IOS. Explain to the student what is IOS? Cisco Device startup procedures in general. IOS configuration source. General introduction to the IOS CLI . Cat 1900 switch startup procedures. Intro to Cat 1900 CLI. This part covers the basic configuration on the switch, like setting the IP address and hostname. More details about the various Cat 1900 switch configuration commands are explained in Chapter 6 and 7. Router startup procedures. More details on the router startup process is discussed in chapter 5. Router IOS CLI.
  55. Purpose : The figure introduces the IGRP routing protocol. IGRP is a sophisticated distance vector routing protocol. Emphasize: The Interior Gateway Routing Protocol (IGRP) is a dynamic distance-vector routing protocol designed by Cisco in the mid-1980s for routing in an autonomous system that contains large, arbitrarily complex networks with diverse bandwidth and delay characteristics. Historically, IGRP became one of the success factors for the early Cisco IOS software capabilities because of its superiority to RIP version 1. The important IGRP characteristics are as follows: More scalability than RIP Fast response to network changes Sophisticated metric Multiple-path support
  56. Purpose : This figure presents the IGRP metric with its five possible components. Emphasize : Bandwidth and delay are the two metrics that are most commonly used. They also comprise the default metric. Note : Changing IGRP metrics can have great impact on network performance. Describe the IGRP 24-bit metric field, as follows: Bandwidth—Minimum bandwidth on the route, in kilobits per second. Delay—Route delay, in tens of microseconds. Reliability—Likelihood of successful packet transmission, expressed as an integer from 0 to 255. Loading—Effective bandwidth of path. MTU—Minimum MTU in path, expressed in bytes. The following equation calculates the metric. It is presented for instructors and is not required to be taught: metric = [k1 x bandwidth + (k2 x bandwidth) / (256 - load) + k3 x delay] If k5 does not equal 0, an additional operation is done: metric = metric x (k5/(reliability + k4)) The default constant values are k1 = k3 = 1 and k2 = k4 = k5 = 0. Again, if default values are set, metric = bandwidth + delay. The constants (k1, k2, k3) can be changed using the metric weights command. Changes to the IGRP constant values should be made with great care.
  57. Can explain pin hole congestion how RIP and IGRP Handles (Load Balancing) IGRP – Hop count 25, default - 100
  58. The router Serial to serial AUI to Host Change Host name to R1 AND r2