> | Lab 4.2.4 Router show commands Estimated time: 30 min. Objectives: Become familiar with the basic router show commands Retrieve the current running configuration of the router in RAM using show running-config View the backup configuration file in NVRAM using show startup-config View the IOS file information using show flash and show version View current status of the router interfaces using show interface View status of any configured layer 3 protocol using show protocol Background: This lab will help you become familiar with the router show commands. The show commands are the most important information gathering commands available for the router. The show running-config (or "show run") is probably the single most valuable command to help determine the current status of a router because it displays the active configuration file running in RAM. The show startup-config (or "show start") command displays the backup configuration file that is stored in non-volatile or NVRAM. This is the file that will be used to configure the router when it is first started or rebooted with the "reload" command. All of the detailed router interface settings are contained in this file. The " show flash" command is used to view the amount available and amount used of flash memory. Flash is where the Cisco Internetwork Operating System (IOS) file or image is stored. The show arp command displays the router's IP to MAC to Interface address mapping. The show interface command displays statistics for all interfaces configured on the router. Show protocol command displays global and interface-specific status of configured layer 3 protocols (IP, IPX, etc.). Tools / Preparation: Prior to starting the lab you will need to connect a PC with HyperTerminal to a router using the router's console interface with a roll-over cable. Work individually or in teams. Before beginning this lab you may want to read the Networking Academy First Year Companion Guide, Chapter 13. You should also review On-line Chapter 4. Be familiar with the following show commands: Show ? Show clock Show hosts Show users Show history Show arp Show flash Show running-config Show startup-config Show interface Show protocol Show version Resources Required: PC with monitor, keyboard, mouse, and 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 login. Enter the password cisco if prompted. Step 2 - Enter the help command. Task: Enter the help command by typing (?) at the router prompt. Explanation: The router responds with all commands available in User-Mode. 1a. What did the router reply back with ? 1b. Are all router commands available at the current prompt? 2. Is show one of the options available? Step 3 - Display help for the show command. Task: Enter the show ? command Explanation: The router responds with the show sub commands available in user mode. 3. List three (3) user mode show-sub commands.
> Show – sub command | Description
Step 4 - Display IOS version and other important information with the show version command. Task: Enter the show version command. Explanation: The router will return information about the IOS that is running in RAM. 4. With information from the show version command - Answer the questions below: a. What is the IOS version? b. What is the name of the system image (IOS) file? c. Where was the router IOS image booted from? d. What type of processor (CPU) and how much RAM does this router have? e. How many Ethernet interfaces does this router have? How many Serial interfaces? f. The router backup configuration file is stored in Non-Volatile Random Access Memory (NVRAM). How much NVRAM does this router have? g. The router operating system (IOS) is stored in Flash memory. How much flash memory does this router have? h. What is the Configuration register set to? Step 5 - Displaying the routers time and date. Task: Enter the show clock command. Explanation: The show clock command will show the current time and date. 5. What information is displayed with show clock? Step 6 - Displaying a cached list of host names and addresses. Task: Enter show hosts command. Explanation: The show hosts command displays a cached list of hosts and all of their interface IP addresses. 6. What information is displayed with show hosts? Step 7 - Display users that are connected to the router. Task: Enter show users command. Explanation: The show users command displayed users that are connected to the router. 7. What information is displayed with show users? Step 8 - Showing the command buffer. Task: Enter show history command. Explanation: The show history command displays a history of commands that have been entered. 8. What information is displayed with show history? Step 9 - Enter the privileged mode. Task: a. From user EXEC mode, enter privileged EXEC mode using the enable command. b. Enter the enable password of class. Explanation: Enter the enable mode from the User EXEC mode. 9. a. What command did you use to enter privileged mode? b. How do you know if you are in privileged-mode? Step 10 - Enter the help command. Task: Enter show ? command at the router prompt. Explanation: The router respond with the show sub commands available for Privileged-mode. 10. a. What did the router reply back with show ? at the #? b. How is this output different from the one you got in user mode in step 3? Step 11 - Show the router ARP table. Task: Enter the show arp command at the router prompt. Step 12 - Show information about the Flash memory device. Task: Enter show flash at the router prompt. Explanation: The router will respond with information about the flash memory and what IOS file(s) are stored there. 12. Document the following information with show flash. a. How much flash memory is available and used? b. What is the file that is stored in flash memory? c. What is the size in bytes of the flash memory? Step 13 - Show information about the active configuration file. Task: Enter show running-config (or show run) at the router prompt. Explanation: The router will display information on how it is currently configured. 13. What important information is displayed with show run? Step 14 - Show information about the backup configuration file. Task: Enter show startup-config (or show start) at the router prompt. Explanation: The router will display information on the backup configuration file stored in NVRAM. 14. What important information is displayed with show start and where is this information kept? Step 15 - Display statistics for all interfaces configured on the router. Task: Enter show interface at the router prompt. Explanation: The router shows information about the configured interfaces. 15a. Find the following information for interface Ethernet 0 with show interface: 1. What is MTU? 2. What is Rely? 3. What is Load? 4. What is a Runt? 5. What is a Giant? 15b. Find the following information for interface serial0 with Show Interface: 1. What is the IP address and subnet mask? 2. What data link layer encapsulation is being used? 3. What does "Serial0 is up, line protocol is up" mean? Step 16 - Display the protocols configured on the router. Task: Enter show protocol at the router prompt. Explanation: This command shows the global and interface-specific status of any configured layer 3 protocols. 16. What important information is displayed? 17. Enter exit at the router prompt.