| Lab 6.2.5 Router interface config. - Overview Estimated time: 45 min. Objectives: Use the Interface Configuration Mode to configure interfaces. Configure IP address assignments for router interfaces. Configure subnet mask assignments for router interfaces. Copy the running configuration to the backup configuration. Background: In this lab you will use the router's interface configuration mode to configure an IP address and subnet mask for each router interface. You will verify that layer 3 connectivity is ok by using the ping command. The show running-config command will help to make sure the changes you have made are what was intended. You will then save the running configuration to the backup configuration. Tools / Preparation: Prior to starting this lab you should have the equipment for the standard 5-router lab available. The NVRAM of the router you will be configuring should be erased. At the start of this section the instructor or lab assistant should log on to each router in the enable exec mode and issue the erase startup-config command, then issue the reload command. This will force the routers to come up with a blank configuration. The IP configuration for the associated workstation should also be changed so that it is incorrect. The answer section includes examples of the detailed command sets that the students will have to master. The instructor will review your configuration when finished. Prior to starting the lab you will need to connect a PC workstation with HyperTerminal to a router using the routers console Interface with a roll-over cable. This lab should be done at the router console station. You may want to review Chapter 17 in the Cisco Networking Academy First-Year Companion Guide and review semester 2 online curriculum chapter 6 prior to starting this lab. Work individually or in teams. Be familiar with the following commands: Enable Show running-config Show startup-config Configure terminal Interface Copy Reload Exit Resources Required: PC with monitor, keyboard, mouse, power cords, etc. Windows operating system (Win 95, 98, NT or 2000) installed on PC HyperTerminal PE program configured for router console access PC connected to the Router console port with a roll-over cable Websites Sites Required: Routing basics General information on routers 2500 series routers 1600 series routers Terms and acronyms IP routing protocol IOS command summary Beginning IP for new users Notes: Step 1 - Log on to router. Explanation: Connect to the router and log in. Enter the password cisco if prompted. Step 2 - Enter privileged mode. Task: a. Enter enable (abbrev. "en") at the command prompt. b. Enter the password of class. Explanation: You use the enable command to enter privileged EXEC mode. Step 3 - Show the active configuration file. Task: Enter show running-config (abbrev. "sh run") at the router prompt. Explanation: The router will display information on how it is currently configured. 1. Fill in the following table with the information from the standard 5-router lab diagram.
Interface | IP Address | Subnet Mask
Step 4 - ping all interfaces on the router. Task: Enter ping xxx.xxx.xxx.xxx at the router prompt xxx.xxx.xxx.xxx equals an IP address. Explanation: Using ping will test layer 3 connectivity. (Note: if the other end of the WAN serial link (to the next router) is not configured correctly or the other router is not powered on you may not get a good ping result.) 2. Did all the interfaces ping successful? Step 5 - Enter global configuration mode. Task: Enter configure terminal (abbrev. "config t") at the router prompt. Explanation: To configure the router you must start in global configuration mode. Notice how the router prompt has change after this command. 3. What does the router prompt look like? Step 6 - Enter interface configuration mode. Task: Enter interface serial0 (abbrev. "int s0") at the global configuration prompt. Explanation: By entering interface serial0 at the global configuration prompt will allow you to change the configuration for serial0. 4. What does the router prompt look like? Step 7 - Configure IP address for serial0. Task: Enter IP address xxx.xxx.xxx.xxx yyy.yyy.yyy.yyy at the router interface mode prompt. xxx.xxxx.xxx.xxx is the IP address and yyy.yyy.yyy.yyy is the subnet mask for Serial0. Use the IP address and subnet mask from the standard 5-router lab setup. Explanation: This command will set the IP and subnet mask for serial0 Task: Enter clockrate 56000 to set the DCE clock rate for the WAN link Explanation: The clock rate must be set on the DCE (female) connection. Step 8 - Exit from interface configuration mode. Task: Enter exit at the router prompt. Explanation: When you type exit at the interface configuration mode it will back you up to a global configuration prompt. 5. What does the router prompt look like? Step 9 - Exit from global configuration mode. Task: Enter exit or press control and the z key (Ctrl-z) at the same time. Explanation: When you type exit or enter the Ctrl-Z the router will place you in privileged mode. 6. What does the router prompt look like? Step 10 - Show the active configuration file. Task: Enter show running-config at the router prompt. Explanation: The router will display information on how it is currently configured. Notice any changes you entered will show up. 7. What did the router say the IP address and subnet mask was for serial0? Step 11 - Test layer 3 connectivity using ping. Task: Enter ping xxx.xxx.xxx.xxx where xxx.xxx.xxx.xxx is an IP address of serial0 at the router prompt. Explanation: This will test serial0 and make sure it is up and running. (Note: if the other end of the WAN serial link (to the next router) is not configured correctly or the other router is not powered on you may not get a good ping result.) Step 12 - Copy the running configuration to the backup configuration. Task: Enter copy running-config startup-config at the router prompt. Explanation: This will copy the running configuration to the backup configuration. The next time the router is turned on or reloaded it will load from the backup configuration. Step 13 - Repeat this lab with all interfaces identified in step 3 (clockrate is set on S0 only). 8. What command will tell you how many and what kind of interfaces are on your router? Step 14 - Reloading the router's configuration. Task: Enter reload at the router prompt. Explanation: This command will reload the router from the backup configuration. Step 15 - Show information about the active configuration file. Task: Enter show running-config at the router prompt and compare the results with step 3. Explanation: The router will display information on how it is currently configured. Step 16 - Exit the router.