410 likes | 632 Views
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.
E N D
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. • 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
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)
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
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
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)
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
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
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
You’ll become familiar with the ones you need to know IOS Examination Commands
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
Identify several of the configuration modes, their purpose and their associated prompt Configuration Modes
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
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!
Used to limit access to devices, strengthen security, etc. • Console, enable secret, and vty passwords Passwords!
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
Simply warns the user they are entering unauthorized territory. NEVER welcome anyone with a banner. • Banner motd # message # Banners for security
Show start • Edit if necessary • Copy run start (abbreviated version) – to save to startup Managing configuration files
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
I’ll show you how to do this… Saving files with Hyperterminal Capture
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
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
Different routers have different interface names, depends on the model. E0, e0/0, fa0/0 can all mean the same thing. Ethernet interfaces
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
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
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
Switch example Troubleshooting switches
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
Use the ping command to determine if the IP protocol is properly bound to an NIC Pinging your own IP address
Use the ping command to verify that the local host can communicate across the internetwork to a given remote host. Communicating remotely
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
Use trace commands to identify network connectivity problem Traceroute to find failures
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
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
Trace the steps for verifying the physical addresses of the hosts Use Common Utilities to Establish a Relative Performance Baseline for the Network
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.