|
|
| Browse NETS topics: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z | |
1) Disconnect switch uplink.
2) Power off Catalyst
3) Remove old supervisor card
4) Move flash card from old sup to new sup.
5) Install new supervisor card.
6) Connect with laptop.
7) Power on Catalyst
8) Login and copy the config stored in flash to the supervisor module with this command:
(remember to replace the world "Catalyst" with the name of your Catalyst Ethernet Switch)
Catalyst> (enable) copy slot0:Catalyst config
These commands will get your switch running again.
Second, we'll demonstrate what commands are necessary to keep the configurations on the flash and the nets tftp server updated. The preceding procedure assumes that the system's configuration was previously copied to the flashcard. After every change to the switch's configuration, the procedure update the flash and copy the configuration to the nets server is:
Catalyst>copy conf slot0:Catalyst
nets$mfile /local/tftp/Catalyst
Catalyst>wr nets Catalyst
nets$diff Catalyst configs/Catalyst
nets$mv Catalyst configs/Catalyst
Finally, we'll show how the system image is stored on the flash memory card and how the boot variable is changed. Currently, the sup modules have 4.2(1) stored in their internal flash and the boot variables set to boot that image if the flash card is removed. This lets us quickly reboot the switch back down to the old image if necessary. Once we trust 4.4(1) we'll copy it to the sups NVRAM and change the boot variable to match. Of course, the flashcard will still have the current image and config.
To copy a new image (or config) to the flashcard:
Catalyst> (enable) copy tftp slot0:cat5000-sup3.4-4-1.bin
IP address or name of remote host [128.117.64.152]?
Name of file to copy from
[configs/fl3-2078-c1-es]?images/cat5000-sup3.4-4-1.bin
4565684 bytes available on device slot0, proceed (y/n) [n]? y
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC...
File has been copied successfully.
ml-y2k-c1-es> (enable) squeeze slot0:
All deleted files will be removed, proceed (y/n) [n]? y
Squeeze operation may take a while, proceed (y/n) [n]? y
Sometimes it is useful to prepare a flash card for a switch that is down or not yet connected to the network. Use these commands to copy a configuration and image from the nets machine to a flashcard inserted in another switch: (Use Slot1, because slot0 should already have a card)
Catalyst> copy tftp slot1:<catalyst image or config name>
IP address or name of remote host [128.117.64.152]?
Name of file to copy from [configs/fl3-2078-c1-es]?<images/image or configs/config>