Lab Establishing and Verifying a Telnet Connection Instructor Version 2500

Similar documents
Lab Troubleshooting IP Address Issues Instructor Version 2500

Lab Configuring Static Routes Instructor Version 2500

Lab Troubleshooting RIP

Lab Backing up Configuration Files Instructor Version 2500

Lab Advanced Telnet Operations Instructor Version 2500

Lab Well-Known Port Numbers and Multiple Sessions

Lab Configuring IGRP Instructor Version 2500

Lab 4.2.5a Connectivity Tests Ping

Lab Troubleshooting Routing Issues with show ip route and show ip protocols Instructor Version 2500

Lab Troubleshooting Routing Issues with debug Instructor Version 2500

Lab Command Modes and Router Identification. Objective. Background/Preparation. Step 1 Login to the router in user EXEC mode

Lab Using the Boot System Command. Objective. Background/Preparation

Lab Configuring a Serial Interface

Lab VTY Restriction Instructor Version 2500

Lab Configuring Router Passwords. Objective. Background/Preparation. Step 1 Login to the router in user EXEC mode

Lab b Standard ACLs Instructor Version 2500

Lab Configuring OSPF Timers

Lab Verifying RIP v2 Configuration

Lab Verifying PPP Configuration

Lab Troubleshooting Using traceroute Instructor Version 2500

Lab Backing up Configuration Files

Lab Configuring the OSPF Routing Process

Lab Configuring DHCP

Backup a copy of a router IOS from flash to a TFTP server. Reload the backup IOS software image from a TFTP server into flash on a router.

Lab Configuring ISDN BRI (U-Interface)

Lab Configuring OSPF Authentication

Lab Modifying OSPF Cost Metric

Lab Configuring OSPF Timers 2500 Series

Lab Verifying NAT and PAT Configuration

Lab 1.1.4a Configuring NAT

Lab 1.1.4c Configuring Static NAT Addresses

Lab Managing IOS Images with TFTP Instructor Version 2500

Lab Configuring Legacy DDR

Lab Correcting RIPv2 Routing Problems

Lab Configuring OSPF Authentication 2500 Series

This document is exclusive property of Cisco Systems, Inc. Permission is granted to print and copy this document for non-commercial distribution and

Lab Router Configuration Using Setup Instructor Version 2500

Lab Configuring Dialer Profiles

Lab Configuring Legacy DDR

Lab Command Line Fundamentals Instructor Version 2500

Lab Managing Router Configuration Files with Terminal Emulation Software

Lab b Simple DMZ Extended Access Lists Instructor Version 2500

Lab Troubleshooting LAN Connectivity

This document is exclusive property of Cisco Systems, Inc. Permission is granted to print and copy this document for non-commercial distribution and

Lab Using the CLI to Gather Network Device Information Topology

Lab - Building a Switch and Router Network

Lab Selecting the Root Bridge

Lab Spanning-Tree Recalculation

Troubleshooting Network analysis Software communication tests and development Education. Protocols used for communication (10 seconds capture)

Lab 9.1.5a Trunking with ISL 2924XL Series

Cisco Press CCIE Practical Studies CCIE Practice Lab: Enchilada Solutions

Lab Configuring Inter-VLAN Routing

Lab Add, Move, and Change MAC Addresses

Lab Configuring Basic RIPv2 (Solution)

Lab 1. CLI Navigation. Scenario. Initial Configuration for R1

Lab Configuring Static VLANs

Lab Designing and Implementing a VLSM Addressing Scheme. Topology. Objectives. Background / Scenario

Device Interface IP Address Subnet Mask Default Gateway

Lab - Examining Telnet and SSH in Wireshark

Lab Verifying VLAN Configurations

CCNA 1 Chapter 2 v5.0 Exam Answers %

Lab Managing the MAC Address Table 2900XL Series

Lab 3: Basic Device Configuration

Lab Configuring Per-Interface Inter-VLAN Routing (Solution)

Lab Configuring and Verifying Standard IPv4 ACLs (Instructor Version Optional Lab)

Lab Configuring Per-Interface Inter-VLAN Routing (Instructor Version)

Lab Troubleshooting IPv4 and IPv6 Static Routes (Instructor Version Optional Lab)

Lab Securing Network Devices

Lab Configuring 802.1Q Trunk-Based Inter-VLAN Routing (Instructor Version Optional Lab)

Lab 5.2.6b Managing IOS Images with ROMmon and Xmodem Instructor Version 2500

Lab Configuring Dynamic and Static NAT (Solution)

Lab 9.1.5b Trunking with 802.1q

Lab 9.6.3: EIGRP Troubleshooting Lab

Lab Configuring and Verifying Extended ACLs Topology

Lab Configuring Dynamic and Static NAT (Instructor Version Optional Lab)

Lab : OSPF Troubleshooting Lab

Lab Troubleshooting VTP Configuration

Lab Configuring and Verifying Standard IPv4 ACLs Topology

Lab - Troubleshooting Standard IPv4 ACL Configuration and Placement Topology

Lab 6.2.7a Managing Switch Operating System Files

Lab Catalyst 2950T and 3550 Series Basic Setup

Lab 8.5.2: Troubleshooting Enterprise Networks 2

Lab 7 Configuring Basic Router Settings with IOS CLI

CCNA 1 Chapter 2 v5.0 Exam Answers 2013

PT Activity: Configure AAA Authentication on Cisco Routers

Lab b Simple Extended Access Lists

Configuring IDS TCP Reset Using VMS IDS MC

Lab Configuring Basic Switch Settings (Solution)

Lab 1.3.2: Review of Concepts from Exploration 1 - Challenge

Lab Troubleshooting Basic PPP with Authentication Topology

CCNA 1 Chapter 11 V4.0 Answers

How to Configure a Cisco Router Behind a Non-Cisco Cable Modem

Lab Capturing and Analyzing Network Traffic

IOS and Configuration Basics

Unit 8. Author: W.Buchanan. Routers (1)

Lab 1.4.6B Implementing Port Security

Hochschule Bremen Networking Lab

Lab : Challenge OSPF Configuration Lab. Topology Diagram. Addressing Table. Default Gateway. Device Interface IP Address Subnet Mask

Lab Student Lab Orientation

Lab Configuring 802.1Q Trunk-Based Inter-VLAN Routing Topology

Transcription:

Lab 4.2.2 Establishing and Verifying a Telnet Connection Instructor Version 2500 Objective Establish a Telnet connection to a remote router. Verify that the application layer between source and destination is working properly. Retrieve information about remote routers using show commands. Retrieve CDP information from routers not directly connected. Background/Preparation This lab focuses on the Telnet (remote terminal) utility to access routers remotely. Telnet is used to connect from a local router to another remote router in order to simulate being at the console on the remote router. The local router acts as a Telnet client and the remote router acts as a Telnet server. Telnet is a good testing or troubleshooting tool since it is an application layer utility. A successful Telnet demonstrates that the entire TCP/IP protocol stack on both the client and server are functioning properly. Telnet from the workstation as a client into any router with IP connectivity on the network. In addition, Telnet into an Ethernet switch if an IP address has been assigned. Cable a network similar to the one in the diagram. Any router that meets the interface requirements may be used. Possible routers include 800, 1600, 1700, 2500, 2600 routers, or a combination. Refer to the chart at the end of the lab to correctly identify the interface identifiers to be used based on the equipment in the lab. The configuration output used in this lab is produced from 1721 series routers. Any other router used may produce slightly different output. The following steps are intended to be executed on each router unless specifically instructed otherwise. 105-833 CCNA 2: Routers and Routing Basics v 3.1 - Lab 4.2.2 Copyright 2003, Cisco Systems, Inc.

Start a HyperTerminal session as performed in the Establishing a HyperTerminal session lab. Note: Go to the erase and reload instructions at the end of this lab. Perform those steps on all routers in this lab assignment before continuing. Step 1 Configure the routers a. If there are any difficulties configuring hostname or passwords, refer to the Configuring Router Passwords lab. If there are any difficulties configuring interfaces or the routing protocol, refer to the Configuring Host Tables lab. b. Verify the configurations of the routers by performing a show running-config on each router. If not correct, fix any configuration errors, and verify. Step 2 Login to Router 1 and verify the connection to Router 2 a. Login to the GAD router in user mode. b. Verify the connection between the two routers. Ping the serial 0 interface of the BHM router. If the ping is not successful, return to Step 1 and troubleshoot the configuration. Step 3 Use help with the telnet command a. Enter telnet? at either the user EXEC or the privileged EXEC router prompt. b. What did the router reply with? WORD IP address or hostname of a remote system Step 4 Telnet to a remote router a. Enter telnet router-name if IP host tables were configured. Otherwise, enter telnet ip address at the router prompt to connect to a remote router. b. What prompt did the router display? BHM> Step 5 Look at the interfaces on the remote router a. Enter show interface at the router prompt. b. List the interfaces, their IP address and subnet masks: Interface IP Address Subnet mask Ethernet 0 192.168.16.1 255.255.255.0 Serial 0 192.168.15.2 255.255.255.0 Step 6 Display the protocols on the remote router a. Enter show protocols at the router prompt. b. Fill in the following table with the information that was generated by the remote access router. Interface Is there a Carrier Detect Are the keepalive messages signal? being received? Ethernet 0 Yes Yes Serial 1 No No Serial 0 Yes Yes 106-833 CCNA 2: Routers and Routing Basics v 3.1 - Lab 4.2.2 Copyright 2003, Cisco Systems, Inc.

Step 7 Enter privileged EXEC mode a. Enter enable at the command prompt. Enter the password class. b. What prompt did the router display? BHM# What mode is this? This is privileged EXEC mode. Step 8 Look at the running configuration a. Enter show running-config at the remote router prompt. b. What file is being viewed on the remote router? Where is this file stored? The running-config on the BHM router is being viewed. This file is stored in RAM. Step 9 Look at the saved configuration a. Enter show startup-config at the router prompt. b. What file is being viewed on the remote router? Where is this file stored? The startup configuration file of the BHM router is being viewed. The startup-config file is stored in NVRAM. c. What information is seen concerning the line VTY connections? Telnet access is enabled and the password is cisco. Step 10 Look at the neighbor configuration a. Enter show cdp neighbors command at the router prompt. b. List all device IDs that are connected to the remote router with a Telnet session. GAD is connected. Note CDP will not show the switch from BHM as it is not directly connected to BHM Upon completion of the previous steps, logoff by typing exit. Turn the router off. 107-833 CCNA 2: Routers and Routing Basics v 3.1 - Lab 4.2.2 Copyright 2003, Cisco Systems, Inc.

Erasing and reloading the router Enter into the privileged EXEC mode by typing enable. If prompted for a password, enter class. If class does not work, ask the instructor for assistance. Router>enable At the privileged EXEC mode, enter the command erase startup-config. Router#erase startup-config Erasing the nvram filesystem will remove all files Continue? [confirm] Press Enter to confirm. The response should be: Erase of nvram: complete Now at the privileged EXEC mode, enter the command reload. Router(config)#reloadRouter#reload System configuration has been modified. Save? [yes/no]: Type n and then press Enter. Proceed with reload? [confirm] Press Enter to confirm. In the first line of the response will be: Reload requested by console. After the router has reloaded the line prompt will be: Would you like to enter the initial configuration dialog? [yes/no]: Type n and then press Enter. Press RETURN to get started Press Enter. The router is ready for the assigned lab to be performed. 108-833 CCNA 2: Routers and Routing Basics v 3.1 - Lab 4.2.2 Copyright 2003, Cisco Systems, Inc.

Router Interface Summary Router Model Ethernet Interface #1 Ethernet Interface #2 Serial Interface #1 Serial Interface #2 800 (806) Ethernet 0 (E0) Ethernet 1 (E1) 1600 Ethernet 0 (E0) Ethernet 1 (E1) Serial 0 (S0) Serial 1 (S1) 1700 FastEthernet 0 (FA0) FastEthernet 1 (FA1) Serial 0 (S0) Serial 1 (S1) 2500 Ethernet 0 (E0) Ethernet 1 (E1) Serial 0 (S0) Serial 1 (S1) Interface #5 2600 FastEthernet 0/0 FastEthernet 0/1 (FA0/1) Serial 0/0 (S0/0) Serial 0/1 (FA0/0) (S0/1) In order to find out exactly how the router is configured, look at the interfaces. This will identify the type of router as well as how many interfaces the router has. There is no way to effectively list all of the combinations of configurations for each router class. What is provided are the identifiers for the possible combinations of interfaces in the device. This interface chart does not include any other type of interface even though a specific router may contain one. An example of this might be an ISDN BRI interface. The string in parenthesis is the legal abbreviation that can be used in IOS command to represent the interface. 109-833 CCNA 2: Routers and Routing Basics v 3.1 - Lab 4.2.2 Copyright 2003, Cisco Systems, Inc.

GAD#telnet? WORD IP address or hostname of a remote system <cr> GAD#telnet 192.168.15.2 Trying 192.168.15.2... Open User Access Verification Password: BHM> BHM>show protocols Global values: Internet Protocol routing is enabled BRI0 is administratively down, line protocol is down BRI0:1 is administratively down, line protocol is down BRI0:2 is administratively down, line protocol is down Ethernet0 is up, line protocol is up Internet address is 192.168.16.1/24 Serial1 is down, line protocol is down Serial0 is up, line protocol is up Internet address is 192.168.15.2/24 BHM>enable Password: BHM#show running-config Building configuration... Current configuration : 638 bytes version 12.1 no service single-slot-reload-enable service timestamps debug uptime service timestamps log uptime no service password-encryption hostname BHM enable secret 5 $1$1jLu$0Kyymtnex1jGnNLXeBbyl0 enable password cisco ip subnet-zero interface Ethernet0 110-833 CCNA 2: Routers and Routing Basics v 3.1 - Lab 4.2.2 Copyright 2003, Cisco Systems, Inc.

ip address 192.168.16.1 255.255.255.0 interface Serial1 no ip address interface Serial0 ip address 192.168.15.2 255.255.255.0 interface BRI0 no ip address shutdown router rip network 192.168.15.0 network 192.168.16.0 ip classless ip http server line con 0 password cisco login line aux 0 line vty 0 4 password cisco login end BHM#show cdp neighbors Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge S - Switch, H - Host, I - IGMP, r - Repeater Device ID Local Intrfce Holdtme Capability Platform Port ID Switch Eth 0 166 T S WS-C2950-1Fas 0/3 GAD Ser 0 163 R 2500 Ser 0 111-833 CCNA 2: Routers and Routing Basics v 3.1 - Lab 4.2.2 Copyright 2003, Cisco Systems, Inc.

Lab 4.2.2 Establishing and Verifying a Telnet Connection Instructor Version 2600 Objective Establish a Telnet connection to a remote router. Verify that the application layer between source and destination is working properly. Retrieve information about remote routers using show commands. Retrieve CDP information from routers not directly connected. Background/Preparation This lab focuses on the Telnet (remote terminal) utility to access routers remotely. Telnet is used to connect from a local router to another remote router in order to simulate being at the console on the remote router. The local router acts as a Telnet client and the remote router acts as a Telnet server. Telnet is a good testing or troubleshooting tool since it is an application layer utility. A successful Telnet demonstrates that the entire TCP/IP protocol stack on both the client and server are functioning properly. Telnet from the workstation as a client into any router with IP connectivity on the network. In addition, Telnet into an Ethernet switch if an IP address has been assigned. Cable a network similar to the one in the diagram. Any router that meets the interface requirements may be used. Possible routers include 800, 1600, 1700, 2500, 2600 routers, or a combination. Refer to the chart at the end of the lab to correctly identify the interface identifiers to be used based on the equipment in the lab. The configuration output used in this lab is produced from 1721 series routers. Any other router used may produce slightly different output. The following steps are intended to be executed on each router unless specifically instructed otherwise. 521-833 CCNA 2: Routers and Routing Basics v 3.1 - Lab 4.2.2 Copyright 2003, Cisco Systems, Inc.

Start a HyperTerminal session as performed in the Establishing a HyperTerminal session lab. Note: Go to the erase and reload instructions at the end of this lab. Perform those steps on all routers in this lab assignment before continuing. Step 1 Configure the routers a. If there are any difficulties configuring hostname or passwords, refer to the Configuring Router Passwords lab. If there are any difficulties configuring interfaces or the routing protocol, refer to the Configuring Host Tables lab. b. Verify the configurations of the routers by performing a show running-config on each router. If not correct, fix any configuration errors, and verify. Step 2 Login to Router 1 and verify the connection to Router 2 a. Login to the GAD router in user mode. b. Verify the connection between the two routers. Ping the serial 0 interface of the BHM router. If the ping is not successful, return to Step 1 and troubleshoot the configuration. Step 3 Use help with the telnet command a. Enter telnet? at either the user EXEC or the privileged EXEC router prompt. b. What did the router reply with? WORD IP address or hostname of a remote system. Step 4 Telnet to a remote router a. Enter telnet router-name if IP host tables were configured. Otherwise, enter telnet ip address at the router prompt to connect to a remote router. b. What prompt did the router display? BHM> Step 5 Look at the interfaces on the remote router a. Enter show interface at the router prompt. b. List the interfaces, their IP address and subnet masks: Interface IP Address Subnet mask FastEthernet 0/0 192.168.16.1 255.255.255.0 Serial 0/0 192.168.15.2 255.255.255.0 Step 6 Display the protocols on the remote router a. Enter show protocols at the router prompt. b. Fill in the following table with the information that was generated by the remote access router. Interface Is there a Carrier Detect Are the keepalive messages signal? being received? FastEthernet 0/0 Yes Yes Serial 0/1 No No Serial 0/0 Yes Yes 522-833 CCNA 2: Routers and Routing Basics v 3.1 - Lab 4.2.2 Copyright 2003, Cisco Systems, Inc.

Step 7 Enter privileged EXEC mode a. Enter enable at the command prompt. Enter the password class. b. What prompt did the router display? BHM# What mode is this? This is privileged EXEC mode. Step 8 Look at the running configuration a. Enter show running-config at the remote router prompt. b. What file is being viewed on the remote router? Where is this file stored? The running-config on the BHM router is being viewed. This file is stored in RAM. Step 9 Look at the saved configuration a. Enter show startup-config at the router prompt. b. What file is being viewed on the remote router? Where is this file stored? The startup configuration file of the BHM router is being viewed. The startup-config file is stored in NVRAM. c. What information is seen concerning the line VTY connections? 5 ports configured. Step 10 Look at the neighbor configuration a. Enter show cdp neighbors command at the router prompt. b. List all device IDs that are connected to the remote router with a Telnet session. GAD is connected. Note CDP will not show the switch as it is not directly connected to BHM. Upon completion of the previous steps, logoff by typing exit. Turn the router off. 523-833 CCNA 2: Routers and Routing Basics v 3.1 - Lab 4.2.2 Copyright 2003, Cisco Systems, Inc.

Erasing and reloading the router Enter into the privileged EXEC mode by typing enable. If prompted for a password, enter class. If class does not work, ask the instructor for assistance. Router>enable At the privileged EXEC mode, enter the command erase startup-config. Router#erase startup-config Erasing the nvram filesystem will remove all files Continue? [confirm] Press Enter to confirm. The response should be: Erase of nvram: complete Now at the privileged EXEC mode, enter the command reload. Router(config)#reloadRouter#reload System configuration has been modified. Save? [yes/no]: Type n and then press Enter. Proceed with reload? [confirm] Press Enter to confirm. In the first line of the response will be: Reload requested by console. After the router has reloaded the line prompt will be: Would you like to enter the initial configuration dialog? [yes/no]: Type n and then press Enter. Press RETURN to get started Press Enter. The router is ready for the assigned lab to be performed. 524-833 CCNA 2: Routers and Routing Basics v 3.1 - Lab 4.2.2 Copyright 2003, Cisco Systems, Inc.

Router Interface Summary Router Model Ethernet Interface #1 Ethernet Interface #2 Serial Interface #1 Serial Interface #2 800 (806) Ethernet 0 (E0) Ethernet 1 (E1) 1600 Ethernet 0 (E0) Ethernet 1 (E1) Serial 0 (S0) Serial 1 (S1) 1700 FastEthernet 0 (FA0) FastEthernet 1 (FA1) Serial 0 (S0) Serial 1 (S1) 2500 Ethernet 0 (E0) Ethernet 1 (E1) Serial 0 (S0) Serial 1 (S1) Interface #5 2600 FastEthernet 0/0 FastEthernet 0/1 (FA0/1) Serial 0/0 (S0/0) Serial 0/1 (FA0/0) (S0/1) In order to find out exactly how the router is configured, look at the interfaces. This will identify the type of router as well as how many interfaces the router has. There is no way to effectively list all of the combinations of configurations for each router class. What is provided are the identifiers for the possible combinations of interfaces in the device. This interface chart does not include any other type of interface even though a specific router may contain one. An example of this might be an ISDN BRI interface. The string in parenthesis is the legal abbreviation that can be used in IOS command to represent the interface. 525-833 CCNA 2: Routers and Routing Basics v 3.1 - Lab 4.2.2 Copyright 2003, Cisco Systems, Inc.

GAD#show running-config Building configuration... Current configuration : 767 bytes version 12.2 service timestamps debug uptime service timestamps log uptime no service password-encryption hostname GAD enable secret 5 $1$V1t2$jS8bDYl13gd9YBGxGPglt0 enable password cisco ip subnet-zero call rsvp-sync interface FastEthernet0/0 ip address 192.168.14.1 255.255.255.0 duplex auto speed auto interface Serial0/0 ip address 192.168.15.1 255.255.255.0 no fair-queue clockrate 56000 interface FastEthernet0/1 no ip address shutdown duplex auto speed auto interface Serial0/1 no ip address shutdown router rip network 192.168.14.0 network 192.168.15.0 ip classless no ip http server dial-peer cor custom line con 0 password cisco login line aux 0 line vty 0 4 password cisco login end 526-833 CCNA 2: Routers and Routing Basics v 3.1 - Lab 4.2.2 Copyright 2003, Cisco Systems, Inc.

GAD#telnet? WORD IP address or hostname of a remote system <cr> GAD#telnet 192.168.15.2 Trying 192.168.15.2... Open User Access Verification Password: BHM> 527-833 CCNA 2: Routers and Routing Basics v 3.1 - Lab 4.2.2 Copyright 2003, Cisco Systems, Inc.

BHM#show running-config Building configuration... Current configuration : 750 bytes version 12.2 service timestamps debug uptime service timestamps log uptime no service password-encryption hostname BHM enable secret 5 $1$g3d6$a4Gly3e4kAm4RgRQhwdvr. enable password cisco ip subnet-zero call rsvp-sync interface FastEthernet0/0 ip address 192.168.16.1 255.255.255.0 duplex auto speed auto interface Serial0/1 no ip address shutdown no fair-queue interface FastEthernet0/1 no ip address shutdown duplex auto speed auto interface Serial0/0 ip address 192.168.15.2 255.255.255.0 router rip network 192.168.15.0 network 192.168.16.0 ip classless no ip http server dial-peer cor custom line con 0 password cisco login line aux 0 line vty 0 4 password cisco login end 528-833 CCNA 2: Routers and Routing Basics v 3.1 - Lab 4.2.2 Copyright 2003, Cisco Systems, Inc.