Cisco Systems 4840G Switch User Manual


 
3-8
Catalyst 4840G Software Feature and Configuration Guide
78-10416-02
Chapter 3 Configuring the Catalyst 4840G Processor
Using Flash PC Cards
The following is an example of the delete and squeeze commands used together. Note that the delete
command requires you to specify the filename, while the squeeze command requires that you specify
the Flash memory media (for example, slot0:).
SLB-Switch# delete cat4840G-in-mz.X.bin
SLB-Switch# dir
Directory of slot0:/
4 -rw-2386May 11 1999 17:25:36 startup-config
16384000 bytes total (9360836 bytes free)
SLB-Switch#
The image file is marked for deletion. Enter the squeeze command to complete the operation:
SLB-Switch# squeeze slot0:
All deleted files will be removed, proceed? [confirm] y
Squeeze operation may take a while, proceed? [confirm] Y
ebESESESESESESESES
SLB-Switch# dir
4 -rw-2386May 11 1999 17:25:36 startup-config
12869836 bytes available (1825540 bytes used)
Table 3-1 describes the output that is generated from a squeeze command.
Booting from a Flash PC Card
This section describes how to configure the SLB switch so that it boots from an image on a Flash PC
card. To enable booting from a Flash PC card, perform this task:
Table 3-1 Interpreting the Output from the squeeze Command
Output
Letter Description
e This special location was erased (which must be performed before any write
operation).
b The data about to be written to this special location was temporarily copied.
E The sector temporarily occupied by the data was erased.
S The data was written to its permanent location in Flash memory.
Z This log was erased after the squeeze command was successfully completed.
Command Purpose
Step 1
SLB-Switch# configure terminal
SLB-Switch(config)#
Enter global configuration mode.
Step 2
SLB-Switch(config)# no boot system
Disable booting from bootflash.
Step 3
SLB-Switch(config)# boot system flash
[flash-fs:] [partition-number:]
[filename]
Enable booting from the image name file on the
specified Flash file system device.
Step 4
SLB-Switch(config)# config-reg 0x2102
Set the configuration register for automatic booting.
Step 5
SLB-Switch(config)# end
SLB-Switch#
Exit global configuration modes.