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-1describes the output that is generated from a squeeze command.

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.

 

 

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:

 

 

 

 

Command

Purpose

 

 

 

 

 

 

 

 

 

 

 

Step 1

SLB-Switch#configure terminal

Enter global configuration mode.

 

 

 

 

SLB-Switch(config)#

 

 

 

 

 

 

 

 

 

 

 

 

 

Step 2

SLB-Switch(config)# no boot system

Disable booting from bootflash.

 

 

 

 

 

 

 

 

 

 

Step 3

SLB-Switch(config)# boot system flash

Enable booting from the image name file on the

 

 

 

 

[flash-fs:][partition-number:]

specified Flash file system device.

 

 

 

 

 

 

 

 

 

 

 

[filename]

 

 

 

 

 

 

 

 

 

 

 

 

 

Step 4

SLB-Switch(config)# config-reg 0x2102

Set the configuration register for automatic booting.

 

 

 

 

 

 

 

 

 

 

Step 5

SLB-Switch(config)# end

Exit global configuration modes.

 

 

 

 

SLB-Switch#

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Catalyst 4840G Software Feature and Configuration Guide

 

 

 

 

 

 

 

 

 

 

3-8

 

 

 

78-10416-02

 

 

 

 

 

 

 

Page 8
Image 8
Cisco Systems 4840G appendix Booting from a Flash PC Card