Cisco Systems 4840G Formatting a Flash PC Card, Copy the file startup-config to the Flash PC

Page 6

Chapter 3 Configuring the Catalyst 4840G Processor

Using Flash PC Cards

Formatting a Flash PC Card

A Flash PC card is blank and must be formatted before use. The formatting procedure erases all information on the Flash PC card.

To format a Flash PC card, follow these steps:

Step 1 Back up files that you have on an existing Flash PC card by copying them to a TFTP server using the copy flash tftp: command.

Step 2 Insert the Flash PC card you want to format into slot 0. Step 3 Format the Flash PC card using the format command.

This example shows how to format a Flash PC card in slot 0 and name it “NewPCcard”:

SLB-Switch#format slot0:

Format operation may take a while. Continue? [confirm] y

Enter volume ID (up to 30 characters): NewPCcard

Formatting sector 1

Format device slot0 completed

This example uses a 16-MB Flash PC card. At the line Formatting sector 1, the system counts the card’s sectors backward from 128 to 1 as it formats them. For 20-MB Flash PC cards, the system counts backward from 160 to 1.

Note For more information on inserting a Flash PC card, refer to the Catalyst 4840G Chassis Installation Guide.

Copying the Startup Configuration File to the Flash PC Card

To copy the startup configuration file from NVRAM to a Flash PC card after the Flash PC card is formatted and ready to use, perform this task:

Command

Purpose

 

 

SLB-Switch#copy nvram:startup-config

Copy the file startup-config to the Flash PC

flash-device

card in the specified location.

 

 

 

This example shows how to copy the startup configuration file to the Flash PC card in slot 0; the default filename is used:

SLB-Switch#copy nvram:startup-config slot0:

Destination filename [startup-config]? y 3790 bytes copied in 0.484 secs SLB-Switch#

Catalyst 4840G Software Feature and Configuration Guide

3-6

78-10416-02

 

 

Image 6
Contents You can now begin configuring the SLB switch Before Starting Up the Catalyst 4840GYou see the following user Exec prompt Using the Console Port or a Management Port Connecting a ModemUsing Passwords Configuring the Management Port Displaying the Operating Configuration Enabling Fast Ethernet ClientConfiguring a Host Name Using Flash PC CardsFormatting a Flash PC Card Copying the Startup Configuration File to the Flash PC CardCopy the file startup-config to the Flash PC Card in the specified locationViewing the Contents of Flash Memory Deleting Files from Flash MemoryBooting from a Flash PC Card Backing Up a System Image to a Tftp Server SLB-Switch#copy tftp flash Verify that you are in the right directoryCopy a file from a Tftp server to Flash memory