1 / 40

Configuring and Testing Your Network

Configuring and Testing Your Network. Network Fundamentals – Chapter 11 Sandra Coleman, CCNA, CCAI. Define the role of the Internetwork Operating System (IOS). Use Cisco CLI commands to perform basic router and switch configuration and verification.

vivien
Download Presentation

Configuring and Testing Your Network

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Configuring and Testing Your Network Network Fundamentals – Chapter 11 Sandra Coleman, CCNA, CCAI

  2. Define the role of the Internetwork Operating System (IOS). • Use Cisco CLI commands to perform basic router and switch configuration and verification. • Given a network addressing scheme, select, apply, and verify appropriate addressing parameters to a host. • Use common utilities to verify network connectivity between hosts. • Use common utilities to establish a relative performance baseline for the network. Objectives

  3. Used for routers, LAN switches, Wireless access points, etc. Stored in FLASH memory – easily upgraded – copied into RAM at startup. • Provides – basic routing/switchig functions, reliable access, scalability • Accessed via the command line (CLI) Role of Internetwork Operating System (IOS)

  4. Console port – mgt. port. Used to manage if network services are not available & for initial configuration. SSH is always a better practice than telnet for security reasons. – uses encryption. Accessing the router

  5. Changes made here immediately affect the operation of the device! These changes can then be SAVED to the startup configuration. Stored in RAM – if changes aren’t saved..they are lost with power-down. Sometimes called the backup configuration Role of Internetwork Operating System (IOS)startup – used during boot time to configure the device. Stored in NVRAM (non-volatile

  6. Hierarchical structure of modes for IOS: User, Privilege, Global Configuration, other configuration modes • Help is context-sensitive for that mode Role of Internetwork Operating System (IOS)

  7. Can only be reached from Inside privileged mode! Limited capabilities IOS Modes and their prompts Set up a password for this mode! Sometimes called Enable Mode

  8. Examples:

  9. Basic Command Structure

  10. Context-sensitive – list of commands for CURRENT mode • Command syntax check – checks that the commands are spelled correctly and arguments are recognizable • Hot Keys & Shortcuts – makes configuring and troubleshooting easier! Using Help

  11. Hot Keys and Shortcuts

  12. Ctrl-R - Redisplays a line • Down Arrow - Allows user to scroll forward through former commands • Up Arrow - Allows user to scroll backward through former commands • Ctrl-Shift-6 - Allows the user to interrupt an IOS process such as ping or traceroute • You can also ABBREVIATE COMMANDS as long as the abbreviation is UNIQUE enough the CLI knows what you mean. Other hot keys to know

  13. You’ll become familiar with the ones you need to know IOS Examination Commands

  14. show version – shows info about versions and configuration register setting • Show ip route – displays the routing table of the router…discuss in lab! – be familiar with the output and how to interpret it. • show arp - Displays the ARP table of the device. • show mac-address-table - (switch only) Displays the MAC table of a switch. • show startup-config - Displays the saved configuration located in NVRAM. • show running-config - Displays the contents of the currently running configuration file or the configuration for a specific interface, or map class information. • Show interfaces - shows lots of things, especially input/output errors • show ip interfaces - Displays IPv4 statistics for all interfaces on a router. • show ip interface brief. This is useful to get a quick summary of the interfaces and their operational state. Show commands

  15. Identify several of the configuration modes, their purpose and their associated prompt Configuration Modes

  16. Choosing and documenting names makes it easier to remember, discuss, and identify network devices. • Be consistent in naming conventions. Create a naming convention when you create an addressing scheme. Naming Devices

  17. Consider the location and purpose of the device when naming it. • Notice, not only the command, but the mode you are in! Naming Devices – Know the command!

  18. Used to limit access to devices, strengthen security, etc. • Console, enable secret, and vty passwords Passwords!

  19. Service password-encryption – command that causes passwords to appear encrypted so that others can’t see them when viewing configuration files. Know these commands! Must first do ‘enable secret mypassword’ Notice the prompts! passwords

  20. Simply warns the user they are entering unauthorized territory. NEVER welcome anyone with a banner. • Banner motd # message # Banners for security

  21. Show start • Edit if necessary • Copy run start (abbreviated version) – to save to startup Managing configuration files

  22. Copies files (running or startup configuration) to a FTP server. • To completely START over – • Erase start (you will have to confirm this) • Reload (does a soft boot of the router or switch) • Should be completely empty Managing configuration files

  23. I’ll show you how to do this… Saving files with Hyperterminal Capture

  24. Router(config) interface fa0/1 Router(config-if) ip address 192.168.20.1 255.255.255.0 Router(config-if) no shutdown Configure the router interfaces

  25. You configure these the same way, you just have to make sure you put the clock rate command on the DCE end of the line. • Router(config-if) clock rate 56000 • ALWAYS make sure you do a NO SHUTDOWN on every interface. • There are some troubleshooting problems on the test that give you the commands and the topology and ask you what is wrong…pay attention to IP addresses, clock rate settings, etc. • Not having a clock rate set will PROHIBIT communication altogether…one of the most common mistakes by new users. Serial interface

  26. Different routers have different interface names, depends on the model. E0, e0/0, fa0/0 can all mean the same thing. Ethernet interfaces

  27. Interface descriptions – not required

  28. Ip default-gateway – like any other device, a switch needs a gateway defined to get outside of the local network and to allow remote access from users outside the remote network! Switch configuration

  29. Tests layers 1-3 of the OSI model. Uses ICMP protocol the check for connectivity • ! – successful, . – timed out, U – ICMP unreachable message recv’d Testing the TCP/IP stack

  30. Discuss these steps in troubleshooting. They will show layer 1 and/or layer 2 errors looking at sh ip int br output – KNOW what this tells you! Testing the interfaces

  31. Switch example Troubleshooting switches

  32. Use the ping command and check a router’s routing table for next hop availability. • Always ping your GATEWAY first to make sure that connections is active. Testing remote connectivity

  33. Use the ping command to determine if the IP protocol is properly bound to an NIC Pinging your own IP address

  34. Use the ping command to verify that the local host can communicate across the internetwork to a given remote host. Communicating remotely

  35. Ping – from your PC to each nearest router link (ethernet, serial on your gateway, serial on next hop, etc.) You can easily find the point of failure. Troubleshooting link failures

  36. Use trace commands to identify network connectivity problem Traceroute to find failures

  37. Use the output of the ping command, saved into logs, and repeated over time, to establish relative network performance Use Common Utilities to Establish a Relative Performance Baseline for the Network

  38. Use the output of the traceroute command, saved into logs, and repeated over time, to establish relative network performance Use Common Utilities to Establish a Relative Performance Baseline for the Network

  39. Trace the steps for verifying the physical addresses of the hosts Use Common Utilities to Establish a Relative Performance Baseline for the Network

  40. Chapter 11 – FINISHED! Labs –11-2, pg. 310 11-5, pg. 342 Online Test – TBA – For a homework grade Test - TBD Don’t forget to sign the HANDS-ON sign-up sheet NEXT WEEK! (Posted by my office) NO HOMEWORK – I’m giving you a break. Come work in the lab anytime you can to work on the actual equipment. There are LOTS of packet tracer activities in the textbook that will let you practice these commands…I encourage you to spend some time during Thanksgiving Holidays to work on this. You will have to KNOW these commands by heart…no books, no notes…you can only use the online help facility.

More Related