Specific software images may be required for your NETLAB+ access server and control switches. This procedure describes how you can use NETLAB+ as a TFTP server to assist with software upgrades.
Whether you use this procedure or a different TFTP server, verify that your NETLAB+ access server and control switches have the correct IP addresses and configurations after completing a software upgrade (see step 15).
Determine what software image you need for your access server or control switches by reviewing Supported Hardware and Software Images for your hardware.
If you are upgrading a Catalyst 1912 or 1924 switch, please refer to the Catalyst 1900 upgrade procedure. This procedure does not apply.
Download the software from the Cisco web site or other source to your local PC (the PC you access NETLAB+ with). The files should have a .bin extension. If using FTP, select binary transfer mode, not ASCII.
Login to your NETLAB+ system's administrator account.
From the administration main page, select "Manage System Images in TFTP Directory". NETLAB+ maintains a TFTP directory from which you can load system images and configuration files. Upload the .bin files obtained in step 2.
You should disable logins from the NETLAB+ admin interface. Therefore, no one can access the lab while you are performing the upgrade(s). From the administration main page, select "Enable/Disable User Logins". To disable logins, provide a message that will be displayed to users when they access NETLAB+, then click Disable Logins.
You will use the NETLAB+ server Ethernet 1 interface (eth1 or E1) to accomplish this upgrade. Refer to the printed label on top of your NETLAB+ server case to locate Ethernet 1.
Temporarily connect NETLAB+'s Ethernet 1 interface as follows:
Connect a terminal or PC emulator to the access router or switch console port and power on the device. The normal console settings are 9600, 8, 1, N, no flow control.
Make sure the switch port you have connected is configured in VLAN 1. Substitute the correct port for "n/n" below.
Switch> enable Password: cisco (or other if not previously configured for NETLAB+) Switch# configure terminal Switch(config)# interface FastEthernet n/n (specify correct ethernet port) Switch(config-if)# switchport mode access Switch(config-if)# switchport access vlan 1 Switch(config-if)# end Switch#
Assign a temporary IP address to the device.
For the access server, configure the physical interface:
Router> enable Password: cisco (or other if not previously configured for NETLAB+) Router# configure terminal Router(config)# interface FastEthernet 0/0 (or correct interface) Router(config-if)# ip address 169.254.1.250 255.255.255.0 Router(config-if)# no shutdown Router(config-if)# end
For a control switch, configure VLAN 1 interface:
Switch> enable Password: cisco (or other if not previously configured for NETLAB+) Switch# configure terminal Switch(config)# interface VLAN 1 Switch(config-if)# ip address 169.254.1.250 255.255.255.0 Switch(config-if)# no shutdown Switch(config-if)# end
Switch# dir flash: Directory of flash:/ 5 -rwx 616 Mar 12 1993 20:54:00 +00:00 vlan.dat 7 drwx 640 Mar 01 1993 00:05:30 +00:00 html 18 -rwx 108 Mar 01 1993 00:05:30 +00:00 info.ver 19 -rwx 3086328 Apr 05 1993 18:18:20 +00:00 c2950-i6q4l2-mz.121-22.EA2.bin 20 -rwx 2981 Mar 13 1993 20:53:01 +00:00 config.text 21 -rwx 25 Mar 13 1993 20:53:01 +00:00 private-config.text 7741440 bytes total (2976256 bytes free)
If the current image is supported, you can skip to step 14.
You should be able to ping the NETLAB+ server at 169.254.1.1.
Device# ping 169.254.1.1 Sending 5, 100-byte ICMP Echos to 169.254.1.1 !!!!! Success rate is 100 percent (5/5)
Do not proceed further unless you can ping the server!
Determine the amount of free space in flash (from step 10). If the new image will fit, proceed to step 13 and complete step 12 after uploading the new image. If the new image will not fit, complete step 12 now.
Switch# delete image.bin (substitute image name obtained from step 10) Delete filename [image.bin]? ENTER Delete flash:image.bin? [confirm] ENTER
If you have deleted the last image, you should not turn off or reboot the switch until step 13 is completed.
Copy the new image from NETLAB+ to flash. The correct source address is 169.254.1.1.
Device# copy tftp://169.254.1.1/newimage.bin flash: Destination filename [newimage.bin]? ENTER !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!... [OK - nnn/nnn bytes]
You should repeat the above steps to upgrade your access server and control switches to a NETLAB+ supported version.
Cables, IP addresses and configuration elements may have have been modified during the upgrade process.
If necessary re-connect your NETLAB+ Ethernet 1 interface to the highest numbered RJ45 port (12, 24, 48) on control switch 1.
After completing software upgrades, be sure that the access server and control switches have the correct IP addresses and configuration files loaded. Go to the "Configure Control Devices" link on the NETLAB+ administration web page to obtain the proper IP addresses.
From the administration main page, select "Enable/Disable User Logins" and re-enable user login access to NETLAB+.