Beruflich Dokumente
Kultur Dokumente
Lab Topology
The Topology diagram below represents the NetMap in the Simulator.
Router4
Fa0/0
Switch1
Switch2
PC1 PC3
Command Summary
Command Description
enable enters privileged EXEC mode
copy running-cong {rcp | startup- copies a device’s running conguration le to another destination
cong | tftp | device:lename}
copy tftp {running-cong | startup- copies a le from a TFTP server to another destination
cong | device:lename}
erase startup-cong deletes the startup conguration le in non-volatile random access
memory (NVRAM)
ipcong /dg ip-address used in NetSim to assign a default gateway IP address to a
workstation interface
ipcong /ip ip-address subnet-mask used in NetSim to assign an IP address and subnet mask to a
workstation interface
IP Addresses
Device IP Address Subnet Mask Default Gateway
PC1 192.168.1.2 255.255.255.0 192.168.1.1
PC3 192.168.1.3 255.255.255.0 192.168.1.1
Lab Tasks
The passwords in this lab have been congured as cisco.
1. Congure PC1 and PC3 with the appropriate IP address and default gateway; refer to the IP
Addresses table. PC1 is automatically enabled to be a TFTP server.
2. On Router4, make sure that you can ping PC1 (192.168.1.2). The ping should be successful.
3. On Router4, copy the running conguration to the TFTP server. You will be prompted for the IP
address of the TFTP server (192.168.1.2). You will also be prompted for a le name (you may
choose any name).
4. On the TFTP server (PC1), issue the show tftp-congs command to see whether Router4’s
conguration was successfully backed up.
Note: This is not a standard PC command; it is only used within the NetSim product.
5. In the following steps, you will restore the conguration you saved on the TFTP server to NVRAM on
Router4 and verify that the starting conguration was updated successfully.
6. Issue the show startup-cong command. You should now see the restored conguration le in
NVRAM. What is the current host name of Router4? _____________________________________
7. Issue the copy startup-cong running-cong command to apply the conguration stored in
NVRAM to Router4. After the command is issued, what is the host name of Router4? ___________
8. Is it necessary to clear Router4’s NVRAM in order to copy a le into it? Explain why or why not. __
______________________________________________________________________________
On PC1:
c:>ipconfig /ip 192.168.1.2 255.255.255.0
c:>ipconfig /dg 192.168.1.1
On PC3:
c:>ipconfig /ip 192.168.1.3 255.255.255.0
c:>ipconfig /dg 192.168.1.1
Router4>enable
Password:cisco
Router4#ping 192.168.1.2
3. On Router4, copy the running conguration to the TFTP server. You will be prompted for the IP
address of the TFTP server (192.168.1.2). You will also be prompted for a le name (you may
choose any name).
4. On the TFTP server (PC1), issue the show tftp-congs command to see whether Router4’s
conguration was successfully backed up.
Note: This is not a standard PC command; it is only used within the NetSim product.
C:>show tftp-configs
5. In the following steps, you will restore the conguration you saved on the TFTP server to NVRAM on
Router4 and verify that the starting conguration was updated successfully.
a) Issue the following commands to change the host name of Router4 to MainRouter:
Router4#configure terminal
Router4(config)#hostname MainRouter
MainRouter(config)#exit
b) Restore the conguration from the TFTP server to NVRAM on Router4 with the copy tftp
startup-cong command. The following is sample output from the copy tftp startup-cong
command:
6. The current host name of Router4 is MainRouter. The host name shown in the starting conguration
is Router4 but will not be applied unless the router is restarted or reloaded.
7. After you issue the copy startup-cong running-cong command, the host name of Router4 is
Router4.
8. No, it is not necessary to clear Router4’s NVRAM in order to copy a le into it. Copying a le into
NVRAM completely overwrites what is already stored in NVRAM. Copying a le into dynamic
random access memory (DRAM), or the running conguration, however, causes the new le to be
merged with what is already stored in DRAM.
Copyright © 1996–2013 Boson Software, LLC. All rights reserved. NetSim software and documentation are protected by copyright law.