Lab ID: 8.8K112A029.SAI1.
Stand-Alone Lab: Using NetSim
Objective
Learn to save, reload, and paste modied congurations from within the Simulator. Congure Router1 with the
appropriate settings.
Lab Topology
The lab topology displays information about the network devices in the lab. The topology in this lab contains three
2800 series Cisco routers.
S0/0/0 S0/0/1
Router2
S0/0/0 S0/0/0
Router1 Router3
Command Summary
The command summary contains a list of commands that are pertinent to the lab. You should review the list of
commands before performing the steps in the lab.
Command Description
congure terminal enters global conguration mode from privileged EXEC mode
enable enters privileged EXEC mode
hostname host-name sets the device name
show ip interface brief displays a brief summary of interface status and conguration
show running-cong displays the active conguration le
1 Boson NetSim Lab Manual
Lab Tasks
Task 1: Congure the Router
This task involves entering a few basic commands to prepare for saving and loading congurations. You do not
need to understand what the commands mean at this point because each command will be covered in more
detail beginning in CCNA Stand-Alone Lab 2. The console session for Router1 will be displayed when the lab
nishes loading. If you desire to access a console session for another device in the lab’s topology, you can select
the device from the device drop-down menu located at the top of the Console section of the Home panel. For
example, you can select Router 2 to access the console for Router2. Additionally, you can click the NetMap tab
to display the network topology for the lab. With the NetMap tab displayed, you can right-click a device and then
click Congure in Simulator to display the console session for a device in the lab topology.
1. When the lab has nished loading, the Router1 window will open, and the text Ю» ÛÒÌÛÎ ¬± ͬ¿®¬ÿ
will appear. Click inside the Router1 window, and press the ENTER key.
Ю» ÛÒÌÛÎ ¬± ͬ¿®¬ÿ
᫬»®â
2. To demonstrate the saving and loading features of NetSim, you will rst congure a host name so that you
have a conguration to save and load. At the ᫬»®â prompt, type the word enable and press ENTER to
issue the enable command.
᫬»®â»²¿¾´»
᫬»®ý
3. At the ᫬»®ý prompt, type the congure terminal command and press ENTER.
᫬»®ý½±²º·¹«®» ¬»®³·²¿´
᫬»®ø½±²º·¹÷ý
4. At the ᫬»®ø½±²º·¹÷ý prompt, type the hostname Router1 command and press ENTER.
᫬»®ø½±²º·¹÷ý¸±¬²¿³» ᫬»®ï
᫬»®ïø½±²º·¹÷ý
5. If the prompt displayed is ᫬»®ïø½±²º·¹÷ý, you have completed this task.
2 Boson NetSim Lab Manual
Task 2: Save a Conguration
This task introduces you to saving conguration les using NetSim.
1. NetSim provides built-in support for saving single and multiple device congurations. Click Console in the
menu bar to display the following drop-down menu:
2. Save Single Device Cong allows you to save the current active device’s conguration that is displayed
in NetSim. The Save Single Device Conguration dialog box will appear after you choose this option and
will allow you to save the conguration in a location of your choice. The conguration le for the device will
be saved using the le name you provide and will end with an *.rtr extension.
Save Multi-Device Cong allows you to save a conguration le for each device loaded for the current
topology. The Save Multiple Device Conguration dialog box will appear after you choose this option.
Saving the conguration for multiple devices will create an additional le called a Network Conguration
le, which ends with an *.nwc extension, and will save a device conguration for each device in your
network using the lename you provide followed by a number and the *.rtr extension.
Click Save Single Device Cong, enter a le name of Router1, and click the Save button. Save the le to
a convenient location that you will remember easily.
3. Reload Stand-Alone Lab 1 from the Lab tree on the Labs panel to make sure that the correct network
topology is loaded. Loading the wrong topology or loading device conguration les prior to loading the
topology can cause unexpected results.
4. Click inside the Router1 window, and press ENTER. Note that Router1’s host name has been returned to
the default host name Router.
Ю» ÛÒÌÛÎ ¬± ͬ¿®¬ÿ
᫬»®â
3 Boson NetSim Lab Manual
Task 3: Load a Conguration
This task allows you to learn how to use the NetSim load congurations options. NetSim provides support for
loading single and multiple device congurations.
Note: Prior to loading single or multiple device congurations, you must have a topology loaded. The
NetMap > Open Topology option will open the Select a File to Open dialog box. With this dialog box open, you
should select the *.top le from the location on your computer where it is stored and then click Open.
1. The Load Single Device Cong option will open the Load Single Device Conguration dialog box.
Select the Router1.rtr le you created in the previous task, and click Open. NetSim will load Router1’s
conguration into the current active device displayed in NetSim and overwrite the existing conguration.
It is important to know that all previous congurations will be lost on the active device when you use this
option.
The Load Multi-Device Cong option will open the Load Multiple Device Conguration dialog box
and allow you to navigate to your saved network device conguration les. Network device conguration
les are les that end with the *.nwc extension. Loading multi-device conguration les will overwrite the
existing congurations on all devices in your current NetSim network.
2. NetSim will then load the conguration from the le and execute all the commands that were previously
saved for the device. When the loading process completes, you press ENTER to see that Router1’s host
name has been restored.
Task 4: Paste a Conguration:
This task allows you to learn how to use the NetSim paste conguration options.
1. If you have created a conguration that you want to paste into the routers, NetSim offers a tool to allow you
to do this. First, make sure that Router1 is open. Select the Paste Real Router Cong(s) option from the
Console menu. This will open a dialog box that will allow you to paste the conguration les you would like
to have executed on Router1.
4 Boson NetSim Lab Manual
2. In the Paste Congs dialog box, type the following text:
hostname Tampa
interface serial0/0/0
ip address 192.168.1.1 255.255.255.0
end
3. Again, it is not important to understand what the typed commands mean at this point. After you have typed
the commands above, click the Ok button. The router will quickly execute the commands. Press ENTER.
Notice that the host name of the router has changed to Tampa.
4. Type the enable command, and press ENTER. Then type the show ip interface brief command, and
press ENTER.
Ì¿³°¿â»²¿¾´»
Ì¿³°¿ý¸±© ·° ·²¬»®º¿½» ¾®·»º
5. You can verify that the congurations entered using the Paste Real Router Congs tool executed
successfully if your output matches the output below:
Ì¿³°¿ý¸±© ·° ·²¬»®º¿½» ¾®·»º
ײ¬»®º¿½» ×Ðóß¼¼®» ÑÕá Ó»¬¸±¼ ͬ¿¬« Ю±¬±½±´
Í»®·¿´ðñðñð ïçîòïêèòïòï ÇÛÍ «²»¬ ¼±©² ¼±©²
Í»®·¿´ðñðñï «²¿·¹²»¼ ÇÛÍ «²»¬ ¼±©² ¼±©²
Ú¿¬Û¬¸»®²»¬ðñð «²¿·¹²»¼ ÇÛÍ «²»¬ ¼±©² ¼±©²
Ú¿¬Û¬¸»®²»¬ðñï «²¿·¹²»¼ ÇÛÍ «²»¬ ¼±©² ¼±©²
Task 5: Edit a Conguration Outside of NetSim
This task enables you to learn the steps necessary to modify a conguration le using a text editor, such as
Microsoft Notepad, and load it into the simulator.
1. Minimize NetSim, and double-click the Router1.rtr le that you saved to your computer earlier. When the
operating system asks you which program you would like to use to open the le, select Microsoft Notepad.
2. Notepad will launch with Router1’s running conguration displayed. You will see the hostname command a
few lines down. Change this line from hostname Router1 to hostname Miami. Save these changes.
3. Select the Load Single Device Cong option from the NetSim Console menu. Navigate to and select
the Router1.rtr le you modied, and click Open. NetSim will load Router1’s conguration into the current
active device displayed in NetSim and overwrite the existing conguration. It is important to know that all
previous congurations will be lost on the active device when using this option. Press ENTER. Note that
the host name of Router1 has changed from Tampa to Miami.
5 Boson NetSim Lab Manual
Sample Conguration Script
The sample conguration script displays the nal conguration of a device or devices that were congured in the
lab. You can compare the sample conguration script to the output you receive for the device in the lab you are
conguring in NetSim to verify that you have performed the steps in the lab properly.
Miami
Miami#show running-cong
Building conguration...
!
Version 12.3
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Miami
!
ip subnet-zero
!
interface Serial0/0/0
no ip address
no ip directed-broadcast
!
interface Serial0/0/1
no ip address
no ip directed-broadcast
!
interface FastEthernet0/0
no ip address
no ip directed-broadcast
!
interface FastEthernet0/1
no ip address
no ip directed-broadcast
!
ip classless
no ip http server
!
line con 0
line aux 0
line vty 0 4
!
no scheduler allocate
end
Copyright © 1996–2012 Boson Software, LLC. All rights reserved. NetSim software and documentation are protected by copyright law.
6 Boson NetSim Lab Manual