Home > Articles > Cisco > CCNP Routing and Switching

  • Print
  • + Share This
This chapter is from the book

Configuration Exercise 1-1: Basic Connectivity

In this exercise, you give the routers in your pod a basic configuration.

Introduction to the Configuration Exercises

This book uses Configuration Exercises to help you practice configuring routers with the commands and topics presented. If you have access to real hardware, you can try these exercises on your routers. See Appendix H, "Configuration Exercise Equipment Requirements and Initial Configurations," for a list of recommended equipment and initial configuration commands for the routers. However, even if you don't have access to any routers, you can go through the exercises and keep a log of your own running configurations or just read through the solution. Commands used and solutions to the Configuration Exercises are provided after the exercises.

In the Configuration Exercises, the network is assumed to consist of two pods, each with four routers. The pods are interconnected to a backbone. You configure pod 1. No interaction between the two pods is required, but you might see some routes from the other pod in your routing tables in some exercises if you have it configured (the Configuration Exercise answers show the routes from the other pod). In most of the exercises, the backbone has only one router; in some cases, another router is added to the backbone. Each Configuration Exercise assumes that you have completed the previous chapters' Configuration Exercises on your pod.


Throughout this exercise, the pod number is referred to as x, and the router number is referred to as y. Substitute the appropriate numbers as needed.


Given that the routers in your pod are properly cabled, your task is to do the following:

  • Provide an initial configuration on your edge routers, PxR1 and PxR2, so that you can connect to the TFTP server in the core.

  • Connect to the TFTP server in the core from the PxR1 and PxR2 routers.

  • Download a configuration file and complete the setup of your edge routers.

Visual Objective

Figure 1-34 illustrates the topology used in this exercise. You will configure only the PxR1 and PxR2 routers in this exercise.

Figure 34Figure 1-34 Basic Configuration Exercise Topology


Backbone Router 2 (BBR2), shown in Figure 1-34, is not used until a later Configuration Exercise.

Command List

In this exercise, you use the commands in Table 1-5, listed in logical order. Refer to this list if you need configuration command assistance during the exercise.


Although the command syntax is shown in this table, the addresses shown are typically for the PxR1 and PxR3 routers. Be careful when addressing your routers! Refer to the exercise instructions and the appropriate visual objective diagram for addressing details.

Table 1-5 Basic Configuration Exercise Commands



(config-if)#encapsulation frame-relay

Enables Frame Relay encapsulation.

(config-if)#ip address 172.31.x.y

Assigns an IP address.

(config-if)#frame-relay map ip 172.31.x.3 1xy broadcast

Maps a next-hop IP address to a permanent virtual circuit (PVC).

(config-if)#no shutdown

Brings up an interface.

(config)#ip route 172.31.x.3

Creates a static route.

#copy tftp run

Copies the configuration file into the running configuration from a TFTP server.

#copy run start

Copies the running configuration file (in RAM) into the startup configuration file (in NVRAM).


Refer to Appendix C, "Summary of ICND Router and Switch Commands," for a listing of the Cisco IOS router commands covered in the Cisco Press Interconnecting Cisco Network Devices book, which this book assumes that you are familiar with.

Task: Setting Up the Edge Routers

In this task, you will use a terminal utility to establish a console connection to the equipment. You will establish connectivity between the edge routers in your pod (PxR1 and PxR2) and the BBR1 router. Then you will download configurations to these routers from the TFTP server in the core. Complete the following steps:

Step 1

Connect to each of your pod routers; they should not have configurations on them. If a router does have a configuration, delete the configuration using the erase start command, and then use the reload command to reboot.


In this exercise, you will apply some minimal addressing and routing information so that your routers can reach the TFTP server.

Step 2

Connect to each of your pod edge routers (PxR1 and PxR2). Configure the serial s0 interface of these routers for Frame Relay by turning on Frame Relay encapsulation.

Step 3

Assign an IP address to your serial 0 interface. Your IP address is 172.31.x.y/24 (where x is your pod number and y is your router number).

Step 4

Inverse ARP has been turned off in the core Frame Relay network. Manually map a data-link connection identifier (DLCI) to BBR1 (172.31.x.3). The DLCI number will be in the form 1xy, where x is your pod number and y is your router number. For instance, P2R1 will use DLCI 121.


Remember to specify the broadcast keyword so that the Frame Relay mapping supports broadcasts and multicasts, such as routing protocol traffic.

Step 5

Use the no shutdown command on the interface, and exit configuration mode.

Step 6

Verify successful connectivity from your PxR1 and PxR2 router to the core BBR1 router (172.31.x.3) using the ping command.

Step 7

The goal of this exercise is to download a file from the TFTP server (at, which is connected to BBR1. Look at your PxR1 and PxR2 routing tables. Is there a route to the network that the TFTP server is located on? Why not?

Step 8

Add a static route to on your edge routers, through BBR1 (172.31.x.3), to provide a path to the TFTP server. Verify that the edge routers can see this route.

Step 9

Verify successful connectivity to the TFTP server ( from your PxR1 and PxR2 router using the ping command.

Step 10

Retrieve the configuration file for your router from the TFTP server. The file should be named PxRy.txt. (For example, Pod 1 Router 2 will download P1R2.txt.)


Filenames are not case-sensitive.


The configuration files include the no ip classless command to force your router to behave classfully (although this command is on by default in IOS 12.0 and later). These files also include all required IP addresses and enable all required interfaces. Remember that files copied to running-config are merged, so this configuration complements what is already in your running-config.


The initial configuration files for the routers are provided in Appendix H.

Step 11

Save your configuration before proceeding.

Exercise Verification

You have successfully completed this exercise if you can ping the core BBR1 router and the TFTP server from your edge routers (PxR1 and PxR2) and if you have downloaded the configuration files for your edge routers from the TFTP server.

  • + Share This
  • 🔖 Save To Your Account