CCNA Router and IOS Basics

9,876 views

Published on

Published in: Technology, Education
2 Comments
33 Likes
Statistics
Notes
No Downloads
Views
Total views
9,876
On SlideShare
0
From Embeds
0
Number of Embeds
745
Actions
Shares
0
Downloads
1,901
Comments
2
Likes
33
Embeds 0
No embeds

No notes for slide

CCNA Router and IOS Basics

  1. 1. CCNA Guide to Cisco Networking Fundamentals Chapter 5 Router and IOS Basics
  2. 2. Objectives <ul><li>Describe the benefits of network segmentation with routers </li></ul><ul><li>Understand the elements of the Cisco router user interface </li></ul><ul><li>Configure the HyperTerminal program to interface with the Cisco router </li></ul><ul><li>Describe the various router configuration modes </li></ul>CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  3. 3. Objectives (continued) <ul><li>Describe the various router passwords </li></ul><ul><li>Understand the enhanced editing features of the Cisco IOS </li></ul><ul><li>Compare router components to typical PC components </li></ul>CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  4. 4. Benefits of Routing <ul><li>Routers provide </li></ul><ul><ul><li>Packet filtering </li></ul></ul><ul><ul><li>Connections between local networks </li></ul></ul><ul><ul><li>Traffic control </li></ul></ul><ul><ul><li>Wide area network (WAN) connections </li></ul></ul><ul><li>Routers operate at the Network layer of the OSI reference model </li></ul><ul><ul><li>Because of Network layer addressing, routers can direct packets to both local and remote segments </li></ul></ul>CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  5. 5. Cisco Router User Interface <ul><li>Cisco Internetwork Operating System (IOS) </li></ul><ul><ul><li>Provides a command-line interface (CLI) </li></ul></ul><ul><ul><ul><li>Allows network operators to check the status of the router and network administrators to manage and configure the router </li></ul></ul></ul><ul><li>You can access a router in several different ways </li></ul><ul><ul><li>Console port (also known as the console ) </li></ul></ul><ul><ul><li>Auxiliary port (AUX) </li></ul></ul><ul><ul><li>Virtual terminals (VTY) </li></ul></ul><ul><ul><li>Trivial File Transfer Protocol (TFTP) server </li></ul></ul>CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  6. 6. CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  7. 7. CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  8. 8. Connecting via Terminal Programs <ul><li>When configuring the router through the console or AUX ports </li></ul><ul><ul><li>You must first make the physical connection </li></ul></ul><ul><ul><li>Then, you can access the router through a terminal program </li></ul></ul><ul><li>Steps to configure HyperTerminal: </li></ul><ul><ul><li>Open the HyperTerminal application </li></ul></ul><ul><ul><li>Click File on the menu bar, and then click New Connection </li></ul></ul><ul><ul><li>Enter a name for the connection </li></ul></ul>CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  9. 9. Connecting via Terminal Programs (continued) <ul><li>Steps to configure HyperTerminal: (continued) </li></ul><ul><ul><li>Configure how you will connect to the router via the Connect To dialog box </li></ul></ul><ul><ul><ul><li>If you are connecting to the router through the AUX port, you would provide the router phone number here </li></ul></ul></ul><ul><ul><ul><li>If connecting to the router through the console port, click the “Connect using” list box and choose the COM port to which the RJ-45 to DB-9 connector is attached </li></ul></ul></ul><ul><ul><li>Configure the following settings for the COM port: Bits per second, 9600; Data bits, 8; Parity, None; Stop bits, 1; Flow control, None </li></ul></ul>CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  10. 10. System Configuration Dialog <ul><li>If the router has not been configured previously, or if the startup file has been erased </li></ul><ul><ul><li>The Cisco IOS will prompt you to run the initial configuration dialog after the router boots </li></ul></ul><ul><li>The system configuration dialog presents a series of prompts that guide you through the initial configuration for the router </li></ul>CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  11. 11. CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  12. 12. User Interface CCNA Guide to Cisco Networking Fundamentals, Fourth Edition <ul><li>The initial prompt consists of two parts: </li></ul><ul><ul><li>The host name of the router followed by the greater than symbol (>) </li></ul></ul><ul><ul><li>Default: router> </li></ul></ul><ul><li>User EXEC mode (or user mode ) </li></ul><ul><ul><li>When the prompt displayed is the greater than symbol </li></ul></ul><ul><ul><li>Network operator can check router status and review several of the router settings </li></ul></ul>
  13. 13. CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  14. 14. User Interface (continued) <ul><li>The question mark activates context-sensitive Help on the Cisco router </li></ul><ul><li>User mode does not allow you to configure the router </li></ul><ul><ul><li>To do this, you must go into the privileged EXEC mode </li></ul></ul><ul><li>To enter privileged EXEC, you can type the enable command at the user mode prompt </li></ul><ul><ul><li>Next, you may be prompted for a password </li></ul></ul><ul><ul><li>Greater than symbol (>) changes to a pound sign (#) </li></ul></ul>CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  15. 15. User Interface (continued) <ul><li>You can do a few things at this prompt </li></ul><ul><ul><li>Setup: the setup command will cause the router to enter the system configuration dialog </li></ul></ul><ul><ul><li>Copy: configurations can be copied from TFTP servers to the router and therefore change the router configuration </li></ul></ul><ul><ul><li>Erase: configuration files as well as the entire IOS can be erased </li></ul></ul>CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  16. 16. Configuration Modes <ul><li>Global configuration mode </li></ul><ul><ul><li>Accessed by typing configure terminal at the enable mode prompt </li></ul></ul><ul><li>Interface configuration mode </li></ul><ul><ul><li>Allows you to configure the Ethernet and serial interfaces on your router </li></ul></ul><ul><li>Line configuration mode </li></ul><ul><ul><li>Allows you to configure the virtual terminals, console, and AUX lines that let you access the router </li></ul></ul>CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  17. 17. CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  18. 18. Configuration Modes (continued) <ul><li>Typing exit will take you back one level </li></ul><ul><li>Typing end or pressing the Ctrl+Z keys will take you all the way back to the enable prompt </li></ul><ul><li>Often, you can discover abbreviated commands by simply trying them </li></ul><ul><ul><li>The router will show you the point at which you entered an incorrect character </li></ul></ul>CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  19. 19. Configuration Modes (continued) CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  20. 20. Plethora of Passwords CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  21. 21. Plethora of Passwords (continued) <ul><li>Enable Password and Enable Secret Password configuration </li></ul><ul><ul><li>You can set both passwords from the global configuration mode prompt </li></ul></ul><ul><ul><li>Because it is encrypted, the enable secret password is more secure than the enable password </li></ul></ul><ul><ul><li>You can type no enable secret and no enable password at the global configuration mode prompt </li></ul></ul><ul><ul><ul><li>To remove the enable secret and enable passwords </li></ul></ul></ul>CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  22. 22. Plethora of Passwords (continued) CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  23. 23. CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  24. 24. Plethora of Passwords (continued) <ul><li>Setting Line passwords </li></ul><ul><ul><li>Line passwords are the first line of defense against unauthorized intrusion into the router </li></ul></ul><ul><ul><li>You can set passwords for each line used to configure the router </li></ul></ul><ul><ul><li>Configure the console line password </li></ul></ul><ul><ul><ul><li>Enter line configuration mode </li></ul></ul></ul><ul><ul><li>You can also configure passwords on the five virtual terminal lines that exist on every router </li></ul></ul><ul><ul><ul><li>In much the same way as on the console port </li></ul></ul></ul>CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  25. 25. Plethora of Passwords (continued) CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  26. 26. Plethora of Passwords (continued) CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  27. 27. Plethora of Passwords (continued) CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  28. 28. Enhanced Editing <ul><li>By default, the router supports enhanced editing features that allow you to modify lengthy commands </li></ul><ul><li>The enhanced editing commands let you jump to the beginning or end of a command line </li></ul><ul><li>You can also jump forward or back, character by character, or word by word </li></ul><ul><li>You can turn off the enhanced editing features by typing terminal no editing at either the user EXEC or the privileged EXEC prompts </li></ul><ul><ul><li>You can turn on terminal editing by typing terminal editing </li></ul></ul>CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  29. 29. Enhanced Editing (continued) CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  30. 30. Command History <ul><li>Command history </li></ul><ul><ul><li>Allows you to retrieve previously typed commands </li></ul></ul><ul><li>You can see up to 10 previously typed commands by typing show history </li></ul><ul><ul><li>From either the user EXEC or privileged EXEC mode </li></ul></ul><ul><li>To modify the number of commands stored by the router, you can use the terminal command </li></ul><ul><ul><li>Up to 256 previous commands </li></ul></ul><ul><ul><li>Type terminal history size n </li></ul></ul>CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  31. 31. Configuring Router Identification <ul><li>Router host name </li></ul><ul><ul><li>Default host name is router </li></ul></ul><ul><ul><li>To set the router host name, type hostname followed by the name that you want to set </li></ul></ul><ul><li>Configure a banner </li></ul><ul><ul><li>A banner is a message that you can configure to display each time someone attempts to log in to the router </li></ul></ul><ul><ul><li>Enter global configuration mode by typing config t </li></ul></ul><ul><ul><ul><li>Then type banner motd , followed by a space and a delimiting character </li></ul></ul></ul>CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  32. 32. Configuring Router Identification (continued) CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  33. 33. Configuring Router Identification (continued) CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  34. 34. Configuring Router Identification (continued) <ul><li>Configure an interface description </li></ul><ul><ul><li>Use the description command </li></ul></ul><ul><ul><li>The interface description helps you remember which network the interface services </li></ul></ul>CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  35. 35. Configuring the Time and Date <ul><li>Use the clock set command in enable mode to configure the time </li></ul><ul><ul><li>You must be in global configuration mode to configure the time zone </li></ul></ul>CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  36. 36. Router Components <ul><li>This section discusses the hardware elements of the router: </li></ul><ul><ul><li>ROM </li></ul></ul><ul><ul><li>Flash memory </li></ul></ul><ul><ul><li>NVRAM </li></ul></ul><ul><ul><li>RAM/DRAM </li></ul></ul><ul><ul><li>Interfaces </li></ul></ul>CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  37. 37. ROM <ul><li>Read-only memory (ROM) </li></ul><ul><ul><li>Loads the bootstrap program that initializes the router’s basic hardware components </li></ul></ul><ul><ul><li>Not modified during normal operations, but it can be upgraded with special plug-in chips </li></ul></ul><ul><li>The content of ROM is maintained even when the router is rebooted </li></ul><ul><li>The ROM monitor firmware runs when the router is turned on or rebooted </li></ul>CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  38. 38. Flash Memory <ul><li>Flash memory </li></ul><ul><ul><li>A type of erasable, programmable, read-only memory (EPROM) </li></ul></ul><ul><ul><li>Not typically modified during normal operations </li></ul></ul><ul><ul><ul><li>However, it can be upgraded or erased when necessary </li></ul></ul></ul><ul><li>The content of flash memory is maintained even when the router is rebooted </li></ul><ul><li>Flash memory </li></ul><ul><ul><li>Contains the working copy of the current Cisco IOS </li></ul></ul><ul><ul><li>Is the component that initializes the IOS for normal router operations </li></ul></ul>CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  39. 39. CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  40. 40. NVRAM <ul><li>Nonvolatile random access memory (NVRAM) </li></ul><ul><ul><li>A special type of RAM that is not cleared when the router is rebooted </li></ul></ul><ul><li>The startup configuration file for the router is stored in NVRAM by default </li></ul><ul><ul><li>This is the first file created by the person who sets up the router </li></ul></ul><ul><li>The Cisco IOS uses the configuration file in NVRAM during the router boot process </li></ul>CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  41. 41. RAM/DRAM <ul><li>Random access memory (RAM) </li></ul><ul><ul><li>Also known as dynamic random access memory (DRAM) </li></ul></ul><ul><ul><li>A volatile hardware component </li></ul></ul><ul><ul><li>Its information is not maintained in the event of a router reboot </li></ul></ul><ul><li>Changes to the router’s running configuration take place in RAM/DRAM </li></ul>CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  42. 42. RAM/DRAM (continued) <ul><li>The IOS contains commands to view each of the router’s components </li></ul><ul><ul><li>show running-config </li></ul></ul><ul><ul><li>show memory </li></ul></ul><ul><ul><li>show buffers </li></ul></ul><ul><ul><li>show startup-config </li></ul></ul><ul><ul><li>Copy running-config startup-config </li></ul></ul><ul><ul><ul><li>Abbreviated as Copy run start </li></ul></ul></ul>CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  43. 43. CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  44. 44. Interfaces <ul><li>A router can ship with a variety of configurable interfaces </li></ul><ul><ul><li>A common interface is Ethernet0 </li></ul></ul><ul><li>Other types of interfaces include: </li></ul><ul><ul><li>Token Ring </li></ul></ul><ul><ul><li>Basic Rate Interface (BRI) </li></ul></ul><ul><ul><li>Asynchronous Transfer Mode (ATM) </li></ul></ul><ul><ul><li>Fiber Distributed Data Interface (FDDI) </li></ul></ul><ul><ul><li>Channel Interface Processor (CIP) for Systems Network Architecture (SNA) </li></ul></ul><ul><ul><li>High-Speed Serial Interface (HSSI) </li></ul></ul>CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  45. 45. CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  46. 46. Summary <ul><li>Cisco routers use the Cisco IOS to provide an interface for network operators and administrators </li></ul><ul><li>The first mode entered is user EXEC ( router> prompt) and the next mode is privileged EXEC ( router# prompt) </li></ul><ul><li>In user EXEC, you can accomplish basic tasks </li></ul><ul><li>To actually configure the router, privileged EXEC mode must be accessed </li></ul><ul><li>The privileged EXEC mode is often called enable mode </li></ul>CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  47. 47. Summary (continued) <ul><li>The enable, enable secret, and VTY passwords are set during initial configuration if the system configuration dialog is used </li></ul><ul><li>When configured, the enable secret password supersedes the enable password </li></ul><ul><li>The components of a router include ROM, flash memory, NVRAM, RAM/DRAM, and interfaces </li></ul><ul><li>ROM stores a limited version of the Cisco IOS and routines for checking the hardware during system boot </li></ul>CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  48. 48. Summary (continued) <ul><li>Flash memory stores the Cisco IOS that is loaded by default during system boot </li></ul><ul><li>NVRAM stores the startup copy of the router configuration file that is loaded by default during system boot </li></ul><ul><li>RAM/DRAM stores the working copy (running configuration) of the router configuration </li></ul><ul><li>Interfaces provide connectivity to various types of LANs and WANs </li></ul>CCNA Guide to Cisco Networking Fundamentals, Fourth Edition

×