background image
630
Appendix B
Configuring the Catalyst 1900 Switch
where:
copy
tftp tells the switch to copy an IOS from a TFTP host.
tftp_host_address
is the address of the TFTP host.
IOS_filename
is the IOS file stored in your TFTP default directory
(for example, cat1900EN_9_00.bin is my enterprise edition).
opcode
is the command that tells the router to download the file to
flash memory.
Here is an example of the command being used:
1900B#copy tftp://192.168.0.120/cat1900EN_9_00.bin opcode
TFTP operation succeeded
1900B#
Backing Up and Restoring the Catalyst 1900 Configuration
The configuration file for a Cisco Catalyst 1900 switch is just called nvram
on the 1900 switch. The command to copy the file to a TFTP host is
copy nvram tftp://tftp_host_address/config_name
Before you make a backup, it's a good idea to ping the TFTP host from the
console of the device to make sure you have good LAN connectivity:
1900B#ping 192.168.0.120
Sending 5, 100-byte ICMP Echos to 192.168.0.120, time out
is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max
0/2/10/ ms
After checking the connectivity, you can issue the copy nvram tftp: com-
mand to make a backup copy of the configuration, as in the following example:
1900B#copy nvram tftp://192.168.0.120/1900en
Configuration upload is successfully completed
And here's an example of the output from the console of a TFTP host:
Wed June 05 14:16:10 2002: Receiving '1900en' file from
192.168.0.120 in ASCII mode
##
Wed Mar 06 14:16:11 2002: Successful.
Copyright ©2002 SYBEX, Inc., Alameda, CA
www.sybex.com