You are on page 1of 56

TRABAJO COLABARATIVO 5

MARIO ALEJANDRO GODOY CODIGO : 1110460891 INGENIERIA DE SISTEMAS

UNIVERSIDAD NACIONAL ABIERTA Y A DISTANCIA UNAD 2013

Lab 11.5.1: Basic Cisco Device Configuration Topology Diagram

Learning Objectives • • • • • Configure Cisco router global configuration settings. Configure Cisco router password access. Configure Cisco router interfaces. Save the router configuration file. Configure a Cisco switch.

Background Hardware Cisco Router Cisco Switch *Computer (host) Qty Description 1 Part of CCNA Lab bundle. 1 Part of CCNA Lab bundle. 1 Lab computer. Connects computer host 1 to Console (rollover) cable 1 Router console port. UTP Cat 5 crossover Connects computer host 1 to cable 1 Router LAN interface Fa0/0 Straight Through Cable 3 Connects computer hosts to

Switch and switch to router Table 1. Equipment and hardware required for this lab. Gather the necessary equipment and cables. To configure the lab, make sure the equipment listed in Table 1 is available. Common configuration tasks include setting the hostname, access passwords, and MOTD banner. Interface configuration is extremely important. In addition to assigning a Layer 3 IP address, enter a description that describes the destination connection speeds troubleshooting time.

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information.

CCNA Exploration Network Fundamentals: Configuring and Testing Your Network Configuration

Lab 11.5.1 Basic Cisco Device

Configuration changes are effective immediately. Configuration changes must be saved in NVRAM to be persistent across reboot. Configuration changes may also be saved off-line in a text file for auditing or device replacement. Cisco IOS switch configuration is similar to Cisco IOS router configuration. Scenario In this lab students will configure common settings on a Cisco Router and Cisco Switch. Given an IP address of 198.133.219.0/24, with 4 bits borrowed for subnets, fill in the following information in the table below. (Hint: fill in the subnet number, then the host address. Address information will be easy to compute with the subnet number filled in first) 15 th Maximum number of usable subnets (including the 0 subnet): _______________ 14 Number of usable hosts per subnet: ___________________ IP Address: Subnet mask: Subnet First host address Last host address 198.138.219.0 198.133.219.1 198.133.219.14 .16 .17 .30 .32 .33 .46 .48 .49 .62 .64 .65 .78 .80 .81 .94 .96 .97 .110 .112 .113 .126 .128 .129 .142 .144 .145 .158 .160 .161 .174 .176 .177 .190 .192 .193 .206 .208 .209 .222 .224 .225 .238

# 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14

Broadcast 198.133.219.15 .31 .47 .63 .79 .95 .111 .127 .143 .159 .175 .191 .207 .223 .239

Before proceeding, verify your addresses with the instructor. The instructor will assign subnetworks.

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 2 of 20

switch and router. Connect the other end of the cable to the host computer using a DB9 or DB-25 adapter to the COM 1 port.CCNA Exploration Network Fundamentals: Configuring and Testing Your Network Configuration Lab 11. From the Widows taskbar. Connect the crossover cable between the host computer’s network interface card (NIC) and Router interface Fa0/0.1 Basic Cisco Device Task 1: Configure Cisco Router Global Configuration Settings.5. Step 2: Connect host computer to router through HyperTerminal. Step 1: Physically connect devices. Lab cabling. Connect the console or rollover cable to the console port on the router. Figure 1. Refer to Figure 1. Configure HyperTerminal with the proper settings: Connection Description Name: Lab 11_2_11 Icon: Personal choice Connect to . start the HyperTerminal program by clicking on Start | Programs | Accessories | Communications | HyperTerminal. Connect a straight-through cable between the Router interface Fa0/1 and any of the switch’s interfaces (1-24). Ensure that power has been applied to the host computer.

Connect Using: COM1 (or appropriate COM port) All contents are Copyright © 1992–2007 Cisco Systems. Page 3 of 20 . All rights reserved. Inc. This document is Cisco Public Information.

your configuration may look slightly different.5. If your router does not have a default configuration.255. press the Enter key until there is a response from the router. To terminate the wait. If a configuration file was previously saved. there will be a delay while the request times out.255... simultaneously hold down the <CTRL><SHIFT>6 keys then release and press x: Router>enabel Translating "enabel". enter privileged exec mode: Router> enable Router# Verify a clean configuration file with the privileged exec command show runningconfig. it will have to be removed.CCNA Exploration Network Fundamentals: Configuring and Testing Your Network Configuration Lab 11.255) % Briefly hold down the keys <CTRL><SHIFT>6. However. ask the instructor to remove the configuration.1 Basic Cisco Device COM1 Properties Bits per second: 9600 Data bits: 8 Parity: None Stop bits: 1 Flow Control: None When the HyperTerminal session window comes up. any misspelled or unrecognized commands will attempt to be translated by the router as a domain name. Step 3: Configure global configuration hostname setting. there should be no configured passwords or IP addresses.domain server (255. Would you like to enter the initial configuration dialog? [yes/no]: no Press RETURN to get started! Router> When in privileged exec command mode. If the router terminal is in the configuration mode. Depending on router’s model and IOS version. Appendix 1 shows a typical default router’s configuration. Since there is no domain server configured. release and press x Name lookup aborted Router> From the user exec mode. exit or end . This can take between several seconds to several minutes. exit by typing NO.

All rights reserved.What two commands may be used to leave the privileged exec mode? ___________________ en What shortcut command can be used to enter the privileged exec mode? _________________ All contents are Copyright © 1992–2007 Cisco Systems. Page 4 of 20 . Inc. This document is Cisco Public Information.

1 Basic Cisco Device Examine the different configuration modes that can be entered with the command configure? Write down the list of configuration modes and description: _confirm-confirmreplacemnetofrunning-configwithanewconfigfile _memory-configurefromNVmemory _network-configurefromTFTPnetworkhost _overwrite-network-overwriteNVmemoryfromNFTPnetwork _replace-replacetherunning-configwithanewconfigfile _terminal-configuretheterminal From the privileged exec mode. A banner should include information about authorization. banner content may have a significant legal impact on the organization.5. penalties for . a friendly “Welcome” message may be interpreted by a court that an attacker has been granted permission to hack into the router. enter global configuration mode: Router# configuration terminal Router(config)# What three commands may be used to leave the global configuration mode and return to the privileged exec mode? __exit/end/<ctlr>z What shortcut command can be used to enter the global configuration mode? __configt Set the device hostname to Router1: router(config)# hostname Router1 Router1(config)# How can the hostname be removed? __nohostnamerouter1 Step 5: Configure the MOTD banner.CCNA Exploration Network Fundamentals: Configuring and Testing Your Network Configuration Lab 11. In production networks. For example.

connection logging.unauthorized access. and applicable local laws. All contents are Copyright © 1992–2007 Cisco Systems. Page 5 of 20 . All rights reserved. Inc. This document is Cisco Public Information. The corporate security policy should provide policy on all banner messages.

and all connection information will be logged. Use the terminating character on a blank line to end the MOTD entry: .5. The MOTD banner is displayed on all connections before the login prompt. Router1(config)# banner ? ____LINEcbanner-textc.CCNA Exploration Network Fundamentals: Configuring and Testing Your Network Configuration Lab 11. Only system administrators of the ABC Company are authorized access. ______________________________________________________________________ _____________ ______________________________________________________________________ _____________ ______________________________________________________________________ _____________ ______________________________________________________________________ _____________ ______________________________________________________________________ _____________ ______________________________________________________________________ _____________ Examine the different banner modes that can be entered.where'c'isadelimitingcharacter exec Set EXEC process creation banner ___________________________ incoming Set incoming terminal line banner ______________________________________________________________________ _____________ login Set login banner ______________________________________________________________________ _____________ motd Set Message of the Day banner ______________________________________________________________________ _____________ prompt-timeout Set Message for login authentication timeout ______________________________________________________________________ _____________ slip-ppp Set Message for SLIP/PPP % Choose a terminating character that will not be used in the message text.1 Basic Cisco Device Create a suitable MOTD banner. unauthorized access will be prosecuted. Write down the list of banner modes and description.__________________ Configure the MOTD banner.

Inc. and will be prosecuted. End with the character '%' ***You are connected to an ABC network device. Access is granted to only current ABC company system administrators with prior written approval. *** % Router1(config)# What is the global configuration command to remove the MOTD banner? no banner motd ______________________________________________________________________ _____________ All contents are Copyright © 1992–2007 Cisco Systems. All rights reserved. *** *** All connections are continuously logged. This document is Cisco Public Information. *** *** Unauthorized access is prohibited.Router1(config)# banner motd % Enter TEXT message. Page 6 of 20 .

The console password controls console access to the router. 0 through 4. Unless a telnet password is set. A strong password consists of at least nine characters of upper and lower case letters. the number has been expanded.5. and the password.” Password security relies on the password algorithm. Set the privileged exec password to cisco. and virtual lines. only five virtual lines could be set. In a lab environment. Router1(config)# enable secret cisco Router1(config)# Step 2: Configure the console password. Set the virtual line access password to class. The virtual line password controls Telnet access to the router. Access passwords are set for the privileged exec mode and user entry point such as console. aux.1 Basic Cisco Device Task 2: Configure Cisco router password access. strong passwords should be used at all times. . Router1(config-line)# line vty 0 4 Router1(config-line)# password class . The privileged exec mode password is the most critical password. numbers. Router1(config)# line console 0 Router1(config-line)# password class Router1(config-line)# login no password cisco What is the command to remove the console password? _____________________________ Step 3: Configure the virtual line password. Set the console access password to class. enable password. Step 1: Configure the privileged exec password.CCNA Exploration Network Fundamentals: Configuring and Testing Your Network Configuration Lab 11. The enable secret command uses a very secure MD5 cryptographic hash algorithm. it is impossible to recover an enable secret based on the contents of a configuration file (other than by obvious dictionary attacks). Cisco says “ As far as anyone at Cisco knows. contains weak cryptography and should never be used if the enable secret command is available. In production environments. and symbols. since it controls access to the configuration mode. we will use weak passwords. In newer Cisco IOS versions. In early Cisco IOS versions. Cisco IOS supports two commands that set access to the privileged exec mode. One command. access on that virtual line is blocked.

Page 7 of 20 .Router1(config-line)# login There are three commands that may be used to exit the line configuration mode: Command Effect exit Return to the global configuration mode. All rights reserved. <ctrl>z All contents are Copyright © 1992–2007 Cisco Systems. Inc. This document is Cisco Public Information. Exit configuration and return to the privileged end exec mode.

On newer Cisco IOS versions. Physical lab topology. Write down the first IP Address: .5. All cabled interfaces should contain documentation about the connection. What is the router prompt? What is the mode? _____________________________________________________________________ ______________router1# _____________________________________________________________________ ______________privilegedexecmode Task 3: Configure Cisco Router Interfaces.255.255.CCNA Exploration Network Fundamentals: Configuring and Testing Your Network Configuration Lab 11. Write down your subnet number and mask: ________________________________________________ 255. Figure 2 shows a network topology where a host computer is connected to Router1.240 The first IP address will be used to configure the host computer LAN. Figure 2.1 Basic Cisco Device Issue the command exit. What is the router prompt? What is the mode? Router1(config-line)# exit _____________________________________________________________________ ______________router1(config)# _____________________________________________________________________ ______________Global Issue the command end. interface Fa0/0. the maximum description is 240 characters.

133.219. Write a short description for the connections on Router1: Fa0/0 -> _____________________________________________________________________ ______________hosttorouter1crossover All contents are Copyright © 1992–2007 Cisco Systems. Page 8 of 20 . Write down the last IP Address: _____________________________________________________________________ ______________198. Inc.219._____________________________________________________________________ ______________198. All rights reserved.1 The last IP address will be used to configure the router fa0/0 interface. This document is Cisco Public Information.14 Step 1: Configure the router fa0/0 interface.133.

CCNA Exploration Network Fundamentals: Configuring and Testing Your Network Configuration Lab 11. Write a short description for the connections on Router1: Fa0/1 -> _____________________________________________________________________ ______________toswitchwithstraightthrough Apply the description on the router interface with the interface configuration command.133.602: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1. changed state to up Step 3: Configure the host computer.219. and select Properties.1 Basic Cisco Device Apply the description on the router interface with the interface configuration command. description: Router1(config)# interface fa0/0 Router1(config-if)# description Connection to Host1 with crossover cable Router1(config-if)# ip address address mask Router1(config-if)# no shutdown Router1(config-if)# end Router1# Look for the interface to become active: *Mar 24 19:58:59.255. and select Properties. Recall that the LAN configuration window is accessed through Start | Control Panel | Network Connections.5. Highlight the Internet Protocol field.133.602: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.1 Subnet Mask: The subnet mask ____________________________255. changed state to up Step 2: Configure the router Fa0/1 interface.255. description: Router1(config)# interface fa0/1 Router1(config-if)# description Connection to switch with straight-through cable Router1(config-if)# ip address address mask Router1(config-if)# no shutdown Router1(config-if)# end Router1# Look for the interface to become active: *Mar 24 19:58:59. Fill in the following fields: IP Address: The first host address __________________________198.219. Right-click on the LAN icon.240 Default Gateway: Router’s IP Address _______________________ 198.14 . Configure the host computer for LAN connectivity.

All rights reserved. and then Close. Use the ping command to verify network connectivity with the router.fa0/1 What Windows command can be used to verify host computer configuration? _____________________ipconfig All contents are Copyright © 1992–2007 Cisco Systems. and verify network settings with the ipconfig command. This document is Cisco Public Information. Page 9 of 20 . Step 4: Verify network connectivity. If ping replies are not successful troubleshoot the connection: What Cisco IOS command can be used to verify the interface status? __________________________showinterfacefa0/0. Open a terminal window.Click OK. Inc.

Step 1: Compare router RAM and NVRAM configurations. sh start Description Display the next page. This does not occur automatically. If the output of NVRAM is missing. The configuration is displayed one screen at a time.5. the RAM configuration must be copied into non-volatile RAM (NVRAM). and NVRAM configuration storage as startup-configuration. it is because there is no saved configuration. For configurations to survive rebooting or power restarts. Display the contents of NVRAM. Router1#show running-config Use the output to answer the following questions: 986 bytes How large is the configuration file? ____________________ What is the enable secret password? ________________________ yes Does your MOTD banner contain the information you entered earlier? . A line containing “ -more -. Display the next line. NVRAM must be manually updated after any changes are made. Use the Cisco IOS show command to view RAM and NVRAM configurations. Cisco IOS refers to RAM configuration storage as running-configuration.1 Basic Cisco Device crossover What is the correct LAN cable between host1 and Router1? _______________________________ Task 4: Save the Router Configuration File. The following list describes acceptable key responses: Key <SPACE> <RETURN> Q Quit <CTRL> c Quit Write down one possible shortcut command that will display the contents of NVRAM.CCNA Exploration Network Fundamentals: Configuring and Testing Your Network Configuration Lab 11.“ indicates that there is additional information to display.: Router1# show startup-config startup-config is not present Router1# Display the contents of RAM.

For a configuration to be used the next time the router is powered on or reloaded. it must be manually saved in NVRAM. [OK] All contents are Copyright © 1992–2007 Cisco Systems. Save the RAM configuration to NVRAM: Router1# copy running-config startup-config Destination filename [startup-config]? <ENTER> Building configuration.. This document is Cisco Public Information. write Write down one possible shortcut command that will display the contents of RAM. All rights reserved. Page 10 of 20 . Inc.__________________________ yes Do your interface descriptions contain the information you entered earlier? ____________________ sh run . _________________ Step 2: Save RAM configuration to NVRAM..

. Appendix 2 shows a typical default switch configuration. However. Move the console. Task 5: Configure a Cisco Switch. and verify that the configuration is the same as the configuration in RAM. Depending on router model and IOS version. Cisco IOS switch configuration is (thankfully) similar to configuring a Cisco IOS router. press Enter until the switch responds.1 Basic Cisco Device Write down one possible shortcut command that will copy the RAM configuration to NVRAM. write mem ____________________________ Review the contents of NVRAM. Configure the MOTD banner. Step 2. cable to the console port on the switch. your configuration may look slightly different. Use the terminating character on a blank line to end the MOTD entry. or rollover. In Hyperterminal. review the similar step for configuring a router MOTD banner. The benefit of learning IOS commands is that they are similar to many different devices and IOS versions. enter global configuration mode: Switch> en Switch# config t Switch(config)# Set the device hostname to Switch1. ask the instructor to remove the configuration. Configure global configuration hostname setting. Ensure power has been applied to the switch. unauthorized access will be prosecuted.CCNA Exploration Network Fundamentals: Configuring and Testing Your Network Configuration Router1# Lab 11. For assistance. Create a suitable MOTD banner.5. there should be no configured passwords. and all connection information will be logged. From the user exec mode. Step 1: Connect the host to the switch. Switch(config)# hostname Switch1 Switch1(config)# Step 3: Configure the MOTD banner. If your router does not have a default configuration. The MOTD banner is displayed on all connections before the login prompt. Only system administrators of the ABC company are authorized access.

Switch1(config)# banner motd % Step 4: Configure the privileged exec password. Page 11 of 20 . Switch1(config)# enable secret cisco Switch1(config)# Step 5: Configure the console password. All rights reserved. Set the privileged exec password to cisco. Set the console access password to class. All contents are Copyright © 1992–2007 Cisco Systems. This document is Cisco Public Information. Inc.

Figure 3 shows a network topology where Router1 is connected to Switch1. Switch1 interface Fa0/2 is connected to host computer 2.5. .1 Basic Cisco Device Switch1(config)# line console 0 Switch1(config-line)# password class Switch1(config-line)# login Step 6: Configure the virtual line password.CCNA Exploration Network Fundamentals: Configuring and Testing Your Network Configuration Lab 11. 0 through 15. Step 7: Configure the interface description. interface Fa0/1. Network topology. Switch1(config-line)# line vty 0 15 Switch1(config-line)# password class Switch1(config-line)# login Figure 3. There are 16 virtual lines that can be configured on a Cisco IOS switch. and interface Fa0/3 is connected to host computer 3. Set the virtual line access password to class.

All contents are Copyright © 1992–2007 Cisco Systems. Inc. This document is Cisco Public Information. All rights reserved. Page 12 of 20 .

It is perfectly acceptable to use notes at first to help configure a device. . For a configuration to be used the next time the switch is powered on or reloaded. description: Switch1(config)# interface fa0/1 Switch1(config-if)# description Connection to Router1 Switch1(config)# interface fa0/2 Switch1(config-if)# description Connection to host computer 2 Switch1(config)# interface fa0/3 Switch1(config-if)# description Connection to host computer 3 Switch1(config-if)# end Switch1# Step 7: Save RAM configuration to NVRAM.CCNA Exploration Network Fundamentals: Configuring and Testing Your Network Configuration Lab 11.. The following table lists commands covered in this lab: Purpose Command Enter the global configuration configure terminal mode. [OK] Switch1# Review the contents of NVRAM. and verify that the configuration is the same as the configuration in RAM. but a professional network engineer does not need a ‘cheat sheet’ to perform common configuration tasks. it must be manually saved in NVRAM.5. Save the RAM configuration to NVRAM: Switch1# copy run start Destination filename [startup-config]? <ENTER> Building configuration. the faster you will become in configuring a Cisco IOS router and switch..1 Basic Cisco Device Write a short description for the connections on Switch1: Router1 Interface Fa0/1 Fa0/2 Fa0/3 Description router1 host 2 host 3 Apply the descriptions on the switch interface with the interface configuration command. Task 6: Reflection The more you practice the commands.

This document is Cisco Public Information. Page 13 of 20 . All rights reserved. Inc.Example: Router> enable Router# configure terminal Router(config)# Specify the name for the router. Router(config)# All contents are Copyright © 1992–2007 Cisco Systems. hostname name Example: Router(config)# hostname Router1 Router(config)# enable secret password Specify an encrypted password to prevent unauthorized access Example: to the Router(config)# enable secret cisco privileged exec mode.

and always handy. Router. Router vty lines: 0 4 Switch vty lines: 0 15 password password login Example: Router(config)# line vty 0 4 Router(config-line)# password class Router(config-line)# login Router(config-line)# Banner motd % Configure the MOTD banner. to save the configuration file to an offline text file.CCNA Exploration Network Fundamentals: Configuring and Testing Your Network Lab 11. One way to save the configuration file is to use HyperTerminal Transfer menu option Capture. Task 7: Challenge It is often necessary. .5.interface is OFF by default Switchinterface is ON by default Example: Router(config)# interface fa0/0 Router(configif)# description description Router(config-if)# ip address address mask Router(config-if)# no shutdown Router(config-if)# copy running-config startup-config Example: Router# copy running-config startup-config Router# Save the configuration to NVRAM. password password login Example: Router(config)# line con 0 Router(config-line)# password class Router(config-line)# login Router(config)# Specify a password to prevent unauthorized telnet access.1 Basic Cisco Device Configuration Specify a password to prevent unauthorized access to the console. Example: Router(config)# banner motd % Router(config)# Configure an interface.

All rights reserved. Inc.All contents are Copyright © 1992–2007 Cisco Systems. Page 14 of 20 . This document is Cisco Public Information.

and select Start. such as the more prompt.5. Remove any lines that are not configuration commands. and press the <SPACE> key until all of the configuration has been displayed. right-click inside the Hyperterminal window and select Paste To Host. Hyperterminal Capture menu. very quickly. select Hyperterminal menu option Transfer | Capture Text. copied. Open the text file and review the contents. Select menu option Transfer | Capture Text | Stop. highlight the lines and select Notepad menu Edit | Copy. To load the configuration file. and save to NVRAM. each message must be investigated and corrected. All communication between the host computer and router are saved to a file. to the router. The configuration will be loaded. This places the configuration in host computer memory. . Enter a path and file name. Refer to Figure 2.1 Basic Cisco Device Figure 2. Manually correct any lines that were scrambled or occupy the same line. Verify the configuration. The file can be edited. Stop the capture. Watch closely for error messages. The file can also be edited. it is ALWAYS best practice to begin with a clean RAM configuration. enter the global configuration mode: Router> en Router# config t Router(config)# Using the mouse. Issue the privileged exec command show running-config. and pasted into a router: To start a capture. and saved. Otherwise.CCNA Exploration Network Fundamentals: Configuring and Testing Your Network Configuration Lab 11. stale configuration commands may survive a paste action and have unintended consequences (also known as the Law of Unintended Consequences): Erase the NVRAM configuration file: Router1# erase start Erasing the nvram filesystem will remove all configuration files! Continue? [confirm] <ENTER> [OK] Erase of nvram: complete Reload the router: Router1# reload Proceed with reload? [confirm] <ENTER> When the router reboots. After checking the configuration file.

Inc. This document is Cisco Public Information.All contents are Copyright © 1992–2007 Cisco Systems. All rights reserved. Page 15 of 20 .

restore host computer network connectivity.1 Basic Cisco Device Task 6: Cleanup Before turning off power to the router and switch.CCNA Exploration Network Fundamentals: Configuring and Testing Your Network Configuration Lab 11. remove the NVRAM configuration file from each device with the privileged exec command erase startup-config. then turn off power to the host computers. Unless directed otherwise by the instructor. . Remove anything that was brought into the lab.5. and leave the room ready for the next class. Delete any configuration files saved on the host computers.

This document is Cisco Public Information. All rights reserved.All contents are Copyright © 1992–2007 Cisco Systems. Page 16 of 20 . Inc.

1 Basic Cisco Appendix 1.5.CCNA Exploration Network Fundamentals: Configuring and Testing Your Network Device Configuration Lab 11.4 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname Router ! boot-start-marker boot-end-marker ! no aaa newmodel ip cef ! interface FastEthernet0/0 no ip address shutdown duplex auto speed auto ! interface FastEthernet0/1 no ip address shutdown duplex auto speed auto ! interface Serial0/1/0 no ip address shutdown no fair-queue ! interface Serial0/1/1 no ip address shutdown clock rate 2000000 ! interface Vlan1 no ip address ! ip http server no ip http secure-server ! control-plane ! line con 0 .default Cisco IOS router configuration Current configuration : 824 bytes ! version 12.

All rights reserved.line aux 0 line vty 0 4 login ! scheduler allocate 20000 1000 end All contents are Copyright © 1992–2007 Cisco Systems. Inc. This document is Cisco Public Information. Page 17 of 20 .

default Cisco IOS switch configuration Current configuration : 1519 bytes ! version 12.5.CCNA Exploration Network Fundamentals: Configuring and Testing Your Network Device Configuration Lab 11.1 Basic Cisco Appendix 2.1 no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname Switch ! ! ip subnet-zero ! ! spanning-tree mode pvst no spanning-tree optimize bpdu transmission spanning-tree extend system-id ! ! interface FastEthernet0/1 no ip address ! interface FastEthernet0/2 no ip address ! interface FastEthernet0/3 no ip address ! interface FastEthernet0/4 no ip address ! interface FastEthernet0/5 no ip address ! interface FastEthernet0/6 no ip address ! interface FastEthernet0/7 no ip address ! interface FastEthernet0/8 no ip address ! interface FastEthernet0/9 .

no ip address ! interface FastEthernet0/10 no ip address ! interface FastEthernet0/11 no ip address ! interface FastEthernet0/12 All contents are Copyright © 1992–2007 Cisco Systems. Inc. Page 18 of 20 . This document is Cisco Public Information. All rights reserved.

5.1 Basic Cisco .CCNA Exploration Network Fundamentals: Configuring and Testing Your Network Device Configuration no ip address ! interface FastEthernet0/13 no ip address ! interface FastEthernet0/14 no ip address ! interface FastEthernet0/15 no ip address ! interface FastEthernet0/16 no ip address ! interface FastEthernet0/17 no ip address ! interface FastEthernet0/18 no ip address ! interface FastEthernet0/19 no ip address ! interface FastEthernet0/20 no ip address ! interface FastEthernet0/21 no ip address ! interface FastEthernet0/22 no ip address ! interface FastEthernet0/23 no ip address ! interface FastEthernet0/24 no ip address ! interface GigabitEthernet0/1 no ip address ! interface GigabitEthernet0/2 no ip address ! interface Vlan1 no ip address Lab 11.

This document is Cisco Public Information. All rights reserved. Inc. Page 19 of 20 .no ip route-cache shutdown ! ip http server ! ! line con 0 line vty 5 15 ! All contents are Copyright © 1992–2007 Cisco Systems.

CCNA Exploration Network Fundamentals: Configuring and Testing Your Network Lab 11.1 Basic Cisco Device Configuration end .5.

All rights reserved. This document is Cisco Public Information. Inc.All contents are Copyright © 1992–2007 Cisco Systems. Page 20 of 20 .

This lab requires the use of SolarWinds TFTP server software. Connects host1 NIC to Crossover cable 1 Router1 Fa0/1 Table 1. SolarWinds is a free TFTP application for Windows. Gather the necessary equipment and cables. make sure the equipment listed in Table 1 is available.2: Managing Device Configuration Topology Diagram Learning Objectives • • Configure network connectivity. Background Hardware Cisco Router Computer (host) Console (rollover) cable Qty Description 1 Part of CCNA Lab bundle. Use TFTP to save and restore a Cisco IOS configuration. . To configure the lab. 1 Lab computer. Equipment and hardware required for this lab. Connects computer host 1 to 1 Router console port.Lab 11. The host computer will be used as a TFTP server.5.

Inc.All contents are Copyright © 1992–2007 Cisco Systems. This document is Cisco Public Information. All rights reserved. Page 1 of 9 .

save the configuration to a TFTP server. Given an IP address of 10.5. and 6 bits used for subnets. students will configure common settings on a Cisco Router.class Specify a telnet access password. Configure Router1.2 Managing Device Scenario In this lab. From the Widows taskbar.0/24. Step 3: Connect host computer to router through HyperTerminal. Ensure power has been applied to both the host computer and router. and Router1 should use the LAST valid host address: IP Address: 10. Host1 should use the FIRST valid host address. Connect the console. Step 2: Logically connect devices. Step 4: Configure Router1.0 Subnet mask: Subnet First host address Last host address Broadcast Task 1: Configure Network Connectivity. start the HyperTerminal program by clicking on Start | Programs | Accessories | Communications | Hyper Terminal.CCNA Exploration Network Fundamentals: Configuring and Testing Your Network Configuration Lab 11. cable to the console port on the router and the other cable end to the host computer with a DB-9 or DB-25 adapter to the COM 1 port. Configuration tasks for Router1 include the following: Task.Router1 Specify an encrypted privileged exec password.250. configure the host1 computer.250. Step 1: Physically connect devices. . Refer to the Topology Diagram.250.cisco Specify a console access password. press the Enter key until there is a response from the router.class Configure the MOTD banner. Use the LAST valid subnet. When the HyperTerminal session window opens.refer to Appendix 1 for help with commands Specify Router name. Using the IP address information from the scenario. or rollover. then restore the configuration from a TFTP server.250.

Inc.Configure Router1 interface Fa0/0. All contents are Copyright © 1992–2007 Cisco Systems.set the description set the Layer 3 address issue no shutdown NOTE **DO NOT SAVE THE CONFIGURATION IN NVRAM. Page 2 of 9 . All rights reserved. This document is Cisco Public Information.

Sending 5. Double click on the SolarWinds TFTP application to begin installation. .250. Verify connectivity between host1 and Router1: Router1# ping 10.CCNA Exploration Network Fundamentals: Configuring and Testing Your Network Configuration Lab 11. TFTP Server window. click on Finish. round-trip min/avg/max = 1/1/1 ms Router1# Task 2: Use TFTP to Save and Restore a Cisco IOS Configuration. and accept default settings. After SolarWinds has finished installation. 100-byte ICMP Echos to 10. Start the TFTP server by selecting Start | Programs | SolarWinds Free Tools | TFTP Server. timeout is 2 seconds: .249. Step 2: Start TFTP server.250.249 Type escape sequence to abort. Figure 2. Select Next.250.250. Agree to the license agreement.!!!! Success rate is 80 percent (4/5). Step 1: Install SolarWinds TFTP application.5.2 Managing Device Step 5: Verify connectivity. Figure 2 shows an active TFTP Server window.

All contents are Copyright © 1992–2007 Cisco Systems. This document is Cisco Public Information. All rights reserved. Page 3 of 9 . Inc.

To configure TFTP server.CCNA Exploration Network Fundamentals: Configuring and Testing Your Network Configuration Lab 11.5. Figure 3. Refer to Figure 3.250.2 Managing Device Step 3: Configure the TFTP server. Save Router1 configuration to TFTP server. From HyperTerminal.249 Destination filename [router1-confg]? <ENTER> !! 1081 bytes copied in 2. select menu option File | configure.250.250. Leave the default file. TFTP Server window. Step 4.008 secs (538 bytes/sec) Router1# .250. begin a TFTP upload to the TFTP server: Router1#copy running-config tftp: Address or name of remote host []? 10. When finished. select OK.250.250 Never Enable Log Requests to the Following File.250.250 To 10. Verify the following settings: Setting TFTP Root Directory: Security Advanced Security Auto-Close Log Value TFTP-Root Transmit and Receive Files 10.

This document is Cisco Public Information. All rights reserved. Inc.All contents are Copyright © 1992–2007 Cisco Systems. Page 4 of 9 .

Contents should be similar to the following: 3/25/2007 12:29 :Receiving router1-confg from (10.252 duplex auto speed auto ! interface FastEthernet0/1 no ip address shutdown duplex auto speed auto ! interface Serial0/1/0 no ip address shutdown no fair-queue ! interface Serial0/1/1 no ip address shutdown clock rate 2000000 ! . ! no aaa newmodel ip cef ! interface FastEthernet0/0 description connection to host1 ip address 10.250).txt.250.2 Managing Device Verify a successful upload transfer.250 255. Use Microsoft Word or Wordpad to examine the contents of file c:\TFTP-Root\router1-confg.250.255.255.250.CCNA Exploration Network Fundamentals: Configuring and Testing Your Network Configuration Lab 11.250.5. Open Log file c:\Program Files\SolarWinds\Free Tools\TFTP-Server.250. Contents should be similar to the following configuration: ! version 12. 1081 bytes Verify the transferred file.250) 3/25/2007 12:29 :Received router1-confg from (10.4 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname Router1 ! boot-start-marker boot-end-marker ! enable secret 5 $1$D02B$AuX05n0HPT239yYRoQ0oE.250.

This document is Cisco Public Information.ip http server no ip http secure-server ! control-plane ! banner motd *** ABC COMPANY NETWORK DEVICE **** *** Authorized access only ***** All contents are Copyright © 1992–2007 Cisco Systems. Page 5 of 9 . All rights reserved. Inc.

250. changed state to up Configure the hostname of the router to TEST Router(config-if)#exit Router(config)#hostname TEST Router(config-if)#end TEST# Verify connectivity with the ping command: Router# ping 10.095: %SYS-5-CONFIG_I: Configured from console by console *Mar 25 16:43:04. End with CNTL/Z.5.249 .250.967: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.250 255.CCNA Exploration Network Fundamentals: Configuring and Testing Your Network Configuration *** Logging is enabled **** ! line con 0 password class login line aux 0 line vty 0 4 password class login ! scheduler allocate 20000 1000 End Lab 11.2 Managing Device Step 5: Restore Router1 configuration from TFTP server. Router1 fa0/0 must be configured with an IP address.250. then reboot Router1: Router1# show startup-config startup-config is not present Router1# reload Proceed with reload? [confirm] <ENTER> Connectivity must be established with the TFTP server. Router(config)# interface fa0/0 Router(config-if)# ip address 10.255. and the interface enabled: Router> enable Router# conf t Enter configuration commands.250. Verify that NVRAM is clear.255. one per line.252 Router(config-if)# no shutdown Router(config-if)# exit *Mar 25 16:43:03.

Page 6 of 9 . Inc. round-trip min/avg/max = 1/1/1ms Router# All contents are Copyright © 1992–2007 Cisco Systems.249. All rights reserved. 100-byte ICMP Echos to 10.!!!! Success rate is 80 percent(4/5). This document is Cisco Public Information. timeout is 2 seconds: .Type escape sequence to abort. Sending 5.250.250.

250. Task 3: Reflection TFTP is a fast.364 secs (115 bytes/sec) Router1# *Mar 25 16:55:26..250. The configuration should be the same as what was configured in Task 1.124-10b. issue the Cisco IOS command show version. 1841 Software (C1841-ADVIPSERVICESK9-M).250. Loading router1-confg from 10.249 Source filename []? router1-confg Destination filename [startup-config]? <ENTER> Accessing tftp://10.4(13r)T.250. Step 4.bin" This product contains cryptographic features and is subject to United States and local .4(10b). the IOS can also be stored off-line for future use.com/techsupport Copyright (c) 1986-2007 by Cisco Systems.249/router1-confg by console Router1# View the configuration in NVRAM to verify an accurate transfer. The previous the configuration should be restored and the router’s hostname should now be Router1. RELEASE SOFTWARE (fc1) Router1 uptime is 17 minutes System returned to ROM by reload at 16:47:54 UTC Sun Mar 25 2007 System image file is "flash:c1841-advipservicesk9-mz. Task 4: Challenge Similar to uploading a configuration file..CCNA Exploration Network Fundamentals: Configuring and Testing Your Network Configuration Lab 11. RELEASE SOFTWARE (fc3) Technical Support: http://www.250.cisco.250.249 (via FastEthernet0/0): ! [OK 1081 bytes] 1081 bytes copied in 9.2 Managing Device Download Router1 configuration file from the TFTP server: Router# copy tftp startup-config Address or name of remote host []? 10. efficient way to save and load Cisco IOS configuration files. Inc. below: Router1# show version Cisco IOS Software. The filename is highlighted. To discover the IOS filename.249/router1-confg. Version 12.250.250. Reload the router select no at the prompt that says “Configuration has been modified”.375: %SYS-5-CONFIG_I: Configured from tftp://10. Compiled Fri 19-Jan-07 15:15 by prod_rel_team ROM: System Bootstrap. Version 12.5.

S. If you are unable to comply with U. export. All rights reserved. Page 7 of 9 . Importers. distribute or use encryption. All contents are Copyright © 1992–2007 Cisco Systems. transfer and use. This document is Cisco Public Information. Delivery of Cisco cryptographic products does not imply third-party authority to import. return this product immediately. distributors and users are responsible for compliance with U. and local laws. export.country laws governing import.S. exporters. By using this product you agree to comply with applicable laws and regulations. Inc. and local country laws.

PDF to Word .