Cisco Systems 2948G-L3, 4908G-L3 manual Configuring the Hostname, Using the Bootflash Memory Simm

Page 5

Chapter 3 Configurations for the Layer 3 Switch Router

Configuring the Hostname

To see the configuration in NVRAM, enter the following command:

Router# show startup-config

If you made changes to the configuration, but did not write the changes to NVRAM, the results of show running-configwill differ from the results of the show startup-configcommand.

Configuring the Hostname

In addition to the system passwords and enable password, your initial configuration should include the hostname to make it easier to configure and troubleshoot the Layer 3 switch router. To configure the hostname, perform the following task, beginning in enable mode:

 

Command

Purpose

Step 1

 

 

Router# configure terminal

Enter global configuration mode.

 

Router(config)#

 

Step 2

 

 

Router(config)# hostname name-string

Enter a system name. In this example, we set

 

 

the hostname to “Router.”

Step 3

 

 

Router(config)# end

Return to privileged EXEC mode.

 

Router#

 

Step 4

 

 

Router# copy running-config startup-config

Copy your configuration changes to NVRAM.

 

 

 

Using the Bootflash Memory SIMM

The Catalyst 2948G-L3 and Catalyst 4908G-L3 switch routers use the onboard bootflash memory as the file storage system. The bootflash memory single inline memory module (SIMM) stores a copy of the Layer 3 switch router’s software image. The following sections describe how to use the bootflash memory SIMM to perform system administration:

Viewing the Contents of Bootflash Memory, page 3-5

Deleting Files from Bootflash Memory, page 3-6

Backing Up a System Image to a TFTP Server, page 3-6

Copying a System Image from a TFTP Server to a Bootflash Memory SIMM, page 3-7

Erasing Files from a Full Bootflash Memory SIMM, page 3-8

Viewing the Contents of Bootflash Memory

You can perform the following tasks to view the contents of the onboard bootflash memory SIMM:

To determine which file system device you are accessing, enter the print working directory (pwd) command.

Router# pwd bootflash:

Catalyst 2948G-L3 and Catalyst 4908G-L3 Switch Router Software Feature and Configuration Guide

 

78-10408-03

3-5

 

 

 

Image 5
Contents Starting Up the Layer 3 Switch Router Configurations for the Layer 3 Switch RouterModem Support Using the Console and the Management PortsModem Support for Recovering a System Image Passwords Configuring the Management PortPassword password Router# configure terminalRouter# copy running-config Startup-configViewing the Contents of Bootflash Memory Configuring the HostnameUsing the Bootflash Memory Simm Router# delete cat2948g-in-mz.old Deleting Files from Bootflash MemoryBacking Up a System Image to a Tftp Server Router# copy bootflash tftp Router# dir bootflashRouter# copy bootflash tftp Router# copy tftp bootflash Erasing Files from a Full Bootflash Memory SimmRouter# copy tftp bootflash Source filename ? domino/cat2948g-in-mz.120-7.W5.14.46 Router# dir bootflashRecovering a System Image Using Xmodem and Ymodem Xmodem -c -y -s Example of Xmodem Transfer Using the ROM Monitor ModeN yes Xmodem -y -s57600Updating the System Image Steps 2 through 5. If there is enough space, proceed to Step Routerconfig# config-register Reloading the Layer 3 Switch RouterRouter# copy systemrunning-config Nvramstartup-configRouter show version Rommon 1 dir bootflashRommon 2 boot bootflash filename