Using Netsim
Using Netsim
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
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.
᫬»®ø½±²º·¹÷ý¸±¬²¿³» ᫬»®ï
᫬»®ïø½±²º·¹÷ý
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.
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.
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:
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.
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.