cc/td/doc/product/atm/c8540/wa5/12_0/12_1
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

Managing Configuration Files, System Images, and Functional Images

Managing Configuration Files, System Images, and Functional Images

This chapter describes some fundamental tasks you perform to maintain the configuration files, system images, and hardware functional images used by your ATM switch router. The following sections are included:

Check the information in the first sections of the chapter to determine if it applies to your installation. Also, familiarize yourself with the Cisco IOS File System section, as this describes new features in this release. If you are an experienced IOS user, you can skip the third section. Read the fourth section to learn about maintaining functional images used by the hardware controllers on your ATM switch router.


Note For a complete description of the commands mentioned in this chapter, refer to the Catalyst 8540 MSR Command Reference publication.

Configuring a Static IP Route

If you are managing the ATM switch router through an Ethernet interface or ATM subinterface on the multiservice route processor, and your management station or Trivial File Transfer Protocol (TFTP) server is on a different subnet than the ATM switch router, you must first configure a static IP route.

Caution
Failure to configure a static IP route prior to installing the new image will result in a loss of remote administrative access to the ATM switch router. If this happens, you can regain access from a direct console connection, although this requires physical access to the console port.

To configure a static IP route, perform the following tasks, beginning in global configuration mode:
Step Command Task
1

ip route prefix1 mask2 [ethernet0 | atm0][.subinterface]

Configure a static IP route on the Ethernet interface or ATM subinterface of the route processor.

2

end

Return to privileged EXEC mode.

3

copy system:running-config nvram:startup-config

Save the configuration to NVRAM.

1The IP route prefix of the remote network where the management station or TFTP server resides.
2The subnet mask of the remote network where the management station or TFTP server resides.

The following example shows how to configure an IP address on the main Ethernet port, then save the configuration.

Switch(config)# interface ethernet0
Switch(config-if)# ip address 172.20.52.11 255.255.255.224
Switch(config-if)# end
Switch# copy system:running-config nvram:startup-config

Understanding the IOS File System

This release of the ATM switch router system software uses the Cisco IFS (IOS File System). With IFS, you now access files on a storage device by specifying a filename and the file system containing the file. The following old command, for example, accesses the running-config and startup-config files:

Switch# copy running-config startup-config
 

With IFS, you additionally specify the system containing the files using the syntax filesystem:filename. For example:

Switch# copy system:running-config nvram:startup-config
 

The syntax filesystem:filename is called the file URL. In addition, remote file systems (such as TFTP, FTP, and rcp) allow you to specify additional options in the file URL, such as username, password, remote host, and so on. This way, you can enter all the required information at once without having to respond to prompts.

With IFS, some show commands have been replaced with more commands. For example:

Switch# show running-config
 

has been replaced with the following command:

Switch# more system:running-config
 

For complete information on using file URLs and the new IFS commands and syntax, refer to the Configuration Fundamentals Configuration Guide and the Configuration Fundamentals Command Reference publication.

File Systems and Memory Devices

File systems on the ATM switch router include read-only memory (RAM, or system), Flash memory (such as bootflash and the PCMCIA cards in slot0 and slot1), and remote file systems (such as TFTP or rcp servers).

You can use the show file systems privileged EXEC command to display the valid file systems on your ATM switch router. For example:

Switch# show file systems
File Systems:
 
     Size(b)     Free(b)      Type  Flags  Prefixes
           -           -   unknown     rw   rcsf:
*   16384000     6124736     flash     rw   slot0: flash:
           -           -     flash     rw   slot1:
     7602176     4674820     flash     rw   bootflash:
           -           -     flash     rw   sec-slot0:
           -           -     flash     rw   sec-slot1:
           -           -     flash     rw   sec-bootflash:
           -           -     nvram     rw   sec-nvram:
           -           -     nvram     rw   sec-rcsf:
           -           -    opaque     rw   null:
           -           -    opaque     rw   system:
           -           -   network     rw   tftp:
      520184      520184     nvram     rw   nvram:
           -           -   network     rw   rcp:
           -           -   network     rw   ftp:
     5242880           0    opaque     ro   atm-acct-ready:
     5242880     5242880    opaque     ro   atm-acct-active:

File System Tasks

Refer to the Configuration Fundamentals Configuration Guide for details on the following frequently performed tasks:

Maintaining System Images and Configuration Files

The following sections list common tasks you perform to maintain system images and configuration files on your ATM switch router:

For detailed instructions on performing these tasks, refer to the Configuration Fundamentals Configuration Guide.

Modifying, Downloading, and Maintaining Configuration Files

The following are frequently performed tasks to maintain configuration files:

Modifying, Downloading, and Maintaining System Images

The following are frequently performed tasks to maintain system image files:

Rebooting and Specifying Startup Information

The following commonly performed tasks are used to reboot the ATM switch router and specify startup information:

Additional File Transfer Features

Maintaining Functional Images

You can load functional images used by certain hardware controllers in the ATM switch router. The following sections describe the function and maintenance of functional images:

Understanding Functional Images

Functional images provide the low-level operating functionality for various hardware controllers. On hardware controllers with insystem programmable devices, such as Field Programmable Gate Arrays (FPGAs) and Erasable Programmable Logic Devices (EPLDs), the hardware functional images can be reprogrammed independently of loading the system image and without removing the devices from the controller.

On the ATM switch router, you can reprogram the functional images on the route processors, rommon, switch processors, switch processor feature cards, SuperCAMs, full-width modules, and network clock modules.

All new hardware is shipped with functional images preloaded. Loading a different functional image is therefore required only when upgrading or downgrading functional image versions.

Loading Functional Images

You load a functional image in two steps:

Step 1 Copy the image to a Flash memory device (bootflash, slot0, or slot1). For instructions on copying files to a Flash memory device, refer to the Configuration Fundamentals Configuration Guide.

Step 2 Load the image from the Flash memory device to the hardware controller.


Note The command for loading functional images on the ATM switch router differs from that described in the Cisco IOS documentation.

To download a functional image from a Flash memory device to a hardware controller, use the following command in privileged EXEC mode:
Command Task

reprogram device:filename {slot [subcard] | rommon}

Load the functional image with the specified filename to a device.

The reprogram command checks the compatibility of the image for the selected card type before downloading the functional image. If you have specified a slot number without a subcard, the functional image is downloaded to the full-width module that occupies that slot.


Note After loading a new functional image on the primary route processor or on one of the switch processors, you must power-cycle the switch for the hardware to reconfigure itself with the new image.
Caution
Do not interrupt the download procedure. Wait until it has finished before attempting any commands on the switch.
Example

The following example demonstrates loading the functional image fi_c8540_rp.B.3_91 from the PCMCIA card in slot 0 to the controller for the route processor in slot 4.

Switch# reprogram slot0:fi_c8540_rp.B.3_91 4

Displaying the Functional Image Information

To display the functional image version in a hardware controller, use the following command in privileged EXEC mode:
Command Task

show functional-image-info slot slot

Display the functional image information.

The following example shows the functional image information in the controller for the route processor module in slot 4:

Switch# show functional-image-info slot 4
Functional Version of the FPGA Image: 3.8
 #Jtag-Distribution-Format-B
 #HardwareRequired: 100(3.1,4.0,5.0)
 #FunctionalVersion: 3.8
 #Sections: 1
 #Section1Format: MOTOROLA_EXORMAX
 
  Copyright (c) 1996-98 by cisco Systems, Inc.
  All rights reserved.
  generated by:       holliday
  on:                 Fri Jul  3 14:43:15 PDT 1998
  using:              /cougar/bin/jtag_script Version 1.08
  config file:        cpu.jcf
 
  Chain description:
  Part type Bits Config file
  10k50     10   /cougar/custom/cpu/cidrFpga2/max/cidr_fpga.ttf
  xc4062    3    /cougar/custom/cpu/cubiFpga2/xil/cubi.bit
  xc4062    3    /cougar/custom/cpu/cubiFpga2/xil/cubi.bit
  generic   2    
  XC4005    3    /cougar/custom/common/jtcfg/xil/jtcfg_r.bit
  Number devices             = 5
  Number of instruction bits = 21 
 
  FPGA config file information:
  Bitgen date/time  Sum   File
  98/07/03 14:39:17 26503 /cougar/custom/cpu/cidrFpga2/max/cidr_fpga.ttf
  98/06/25 09:44:49 63850 /cougar/custom/cpu/cubiFpga2/xil/cubi.bit
  98/06/25 09:44:49 63850 /cougar/custom/cpu/cubiFpga2/xil/cubi.bit
  98/06/11 16:56:44 49904 /cougar/custom/common/jtcfg/xil/jtcfg_r.bit
 


hometocprevnextglossaryfeedbacksearchhelp
Posted: Thu Sep 2 10:17:10 PDT 1999
Copyright 1989-1999©Cisco Systems Inc.