0% found this document useful (0 votes)
332 views

Using Netsim

Uploaded by

yudya sukma
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
332 views

Using Netsim

Uploaded by

yudya sukma
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Lab ID: 8.8K112A029.SAI1.

Stand-Alone Lab: Using NetSim


Objective
Learn to save, reload, and paste modied congurations from within the Simulator. Congure 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
congure terminal enters global conguration 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 conguration
show running-cong displays the active conguration le

1 Boson NetSim Lab Manual


Lab Tasks
Task 1: Congure the Router
This task involves entering a few basic commands to prepare for saving and loading congurations. 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 Congure 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 congure a host name so that you
have a conguration 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 congure 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 Conguration
This task introduces you to saving conguration les using NetSim.
1. NetSim provides built-in support for saving single and multiple device congurations. Click Console in the
menu bar to display the following drop-down menu:

2. Save Single Device Cong allows you to save the current active device’s conguration that is displayed
in NetSim. The Save Single Device Conguration dialog box will appear after you choose this option and
will allow you to save the conguration in a location of your choice. The conguration le for the device will
be saved using the le name you provide and will end with an *.rtr extension.

Save Multi-Device Cong allows you to save a conguration le for each device loaded for the current
topology. The Save Multiple Device Conguration dialog box will appear after you choose this option.
Saving the conguration for multiple devices will create an additional le called a Network Conguration
le, which ends with an *.nwc extension, and will save a device conguration for each device in your
network using the lename you provide followed by a number and the *.rtr extension.

Click Save Single Device Cong, 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 conguration 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 Conguration
This task allows you to learn how to use the NetSim load congurations options. NetSim provides support for
loading single and multiple device congurations.

Note: Prior to loading single or multiple device congurations, 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 Cong option will open the Load Single Device Conguration dialog box.
Select the Router1.rtr le you created in the previous task, and click Open. NetSim will load Router1’s
conguration into the current active device displayed in NetSim and overwrite the existing conguration.
It is important to know that all previous congurations will be lost on the active device when you use this
option.

The Load Multi-Device Cong option will open the Load Multiple Device Conguration dialog box
and allow you to navigate to your saved network device conguration les. Network device conguration
les are les that end with the *.nwc extension. Loading multi-device conguration les will overwrite the
existing congurations on all devices in your current NetSim network.

2. NetSim will then load the conguration 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 Conguration:


This task allows you to learn how to use the NetSim paste conguration options.
1. If you have created a conguration 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 Cong(s) option from the
Console menu. This will open a dialog box that will allow you to paste the conguration les you would like
to have executed on Router1.

4 Boson NetSim Lab Manual


2. In the Paste Congs 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 congurations entered using the Paste Real Router Congs tool executed
successfully if your output matches the output below:

Ì¿³°¿ý­¸±© ·° ·²¬»®º¿½» ¾®·»º


ײ¬»®º¿½» ×Ðóß¼¼®»­­ ÑÕá Ó»¬¸±¼ ͬ¿¬«­ Ю±¬±½±´
Í»®·¿´ðñðñð ïçîòïêèòïòï ÇÛÍ «²­»¬ ¼±©² ¼±©²
Í»®·¿´ðñðñï «²¿­­·¹²»¼ ÇÛÍ «²­»¬ ¼±©² ¼±©²
Ú¿­¬Û¬¸»®²»¬ðñð «²¿­­·¹²»¼ ÇÛÍ «²­»¬ ¼±©² ¼±©²
Ú¿­¬Û¬¸»®²»¬ðñï «²¿­­·¹²»¼ ÇÛÍ «²­»¬ ¼±©² ¼±©²

Task 5: Edit a Conguration Outside of NetSim


This task enables you to learn the steps necessary to modify a conguration 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 conguration 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 Cong option from the NetSim Console menu. Navigate to and select
the Router1.rtr le you modied, and click Open. NetSim will load Router1’s conguration into the current
active device displayed in NetSim and overwrite the existing conguration. It is important to know that all
previous congurations 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 Conguration Script
The sample conguration script displays the nal conguration of a device or devices that were congured in the
lab. You can compare the sample conguration script to the output you receive for the device in the lab you are
conguring in NetSim to verify that you have performed the steps in the lab properly.

Miami
Miami#show running-cong
Building conguration...
!
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

You might also like