|
|
This chapter explains the function and syntax of the system image and microcode commands. For more information about defaults and usage guidelines, see the corresponding chapter of the Cisco IOS Configuration Fundamentals Command Reference, Release 12.1.
Cisco platforms use one of three different Flash memory file system types. Some commands are supported on only one or two file system types. This chapter notes commands that are not supported on all file system types.
Refer to Table 5 to determine which Flash memory file system type your platform uses.
| Type | Platforms |
|---|---|
Class A | Cisco 7000 family, C12000, LS1010 |
Class B | Cisco 1003, Cisco 1004, Cisco 1005, Cisco 2500 series, Cisco 3600 series, Cisco 4000 series, Cisco AS5200 |
Class C | Cisco MC3810, disk0 of SC3640 |
Commands in this chapter that have been replaced by new commands continue to perform their normal functions in the current release but are no longer documented. Support for these commands will cease in a future release. Table 6 maps the old commands to their replacements.
.
| Old Command | New Command |
|---|---|
copy erase flash | erase flash: (Class B Flash file systems only) format (Class A and C Flash file systems only) |
copy verify | verify |
copy xmodem | xmodem |
copy ymodem | xmodem -y |
copy verify bootflash | verify bootflash: |
copy verify flash | verify flash: |
show flh-log | more flh: logfile |
verify bootflash | verify bootflash: |
verify flash | verify flash: |
The erase flash: command replaces the copy erase flash command. Refer to the description of the erase command for further details.
The verify command replaces the copy verify command. Refer to the description of the verify command for further information.
The verify bootflash: command replaces the copy verify bootflash command. Refer to the description of the verify command for further information.
The verify flash: command replaces the copy verify flash command. Refer to the description of the verify command for further information.
To copy a Cisco IOS image from a local or remote computer (such as a PC, Macintosh, or UNIX workstation) to Flash memory on a Cisco 3600 series router using the Xmodem protocol, use the copy xmodem: EXEC command.
copy xmodem: flash-filesystem:
Syntax Description
flash-filesystem: Destination of the copied file.
To copy a Cisco IOS image from a local or remote computer (such as a PC, Macintosh, or UNIX workstation) to Flash memory on a Cisco 3600 series router using the Ymodem protocol, use the copy ymodem: EXEC command.
copy ymodem: flash-filesystem:
Syntax Description
flash-filesystem: Destination of the copied file.
The erase flash: and erase flash commands are identical. Refer to the erase command for further details.
To specify the location of the microcode that you want to download from Flash memory into the writable control store (WCS) on Cisco 7000 series (including RSP based routers) or Cisco 7500 series routers, use the microcode global configuration command. Use the no form of this command to load the microcode bundled with the system image.
microcode interface {flash-filesystem:filename [slot] | rom | system [slot]]}
Syntax Description
interface One of the following interface processor names: aip, cip, eip, feip, fip, fsip, hip, mip, sip, sp, ssp, trip, vip, or vip2. flash-filesystem: Flash file system. The colon is required. Valid file systems include bootflash, slot0, and slot1. Slave devices such as slaveslot0 are invalid. The slave file system is not available during microcode reloads. filename Name of the microcode file. slot (Optional) Number of the slot. Range is 0 to 15. rom If ROM is specified, the router loads from the onboard ROM micocode. system If system is specified, the router loads the microcode from the microcode bundled into the system image you are running for that interface type.
To configure a default override for the microcode that is downloaded to the hardware on a Cisco 7200 series router, use the microcode global configuration command. Use the no form of this command to revert to the default microcode for the current running version of the Cisco IOS software.
microcode {ecpa | pcpa} location
Syntax Description
ecpa ESCON Channel Port Adapter (CPA) interface. pcpa Parallel CPA interface. location Location of microcode, including the device and filename.
To load a Cisco IOS software image on a line card from Flash memory or the GRP card on a Cisco 12000 series Gigabit Switch Router, use the microcode global configuration command. To load the microcode bundled with the GRP system image, use the no form of this command.
microcode {oc12-atm | oc12-pos | oc3-pos4} {flash file-id [slot] | system [slot]}
Syntax Description
oc12-atm | oc12-pos | oc3-pos4 (Required) Interface name. flash Loads the image from the Flash file system. file-id Specifies the device and filename of the image file to download from Flash memory. A colon (:) must separate the device and filename (for example, slot0:gsr-p-mz). Valid devices include: slot (Optional) Slot number of the line card that you want to copy the software image to. Slot numbers range from 0 to 11 for the Cisco 12012 and 0 to 7 for the Cisco 12008. If you do not specify a slot number, the Cisco IOS software image is downloaded on all line cards. system Loads the image from the software image on the GRP card.
To reload the processor card on the Cisco 7000 series with RSP7000 or Cisco 7500 series, use the microcode reload global configuration command.
microcode reloadSyntax Description
This command has no arguments or keywords.
Syntax Description
all Resets and reloads all hardware types that support downloadable microcode. ecpa Resets and reloads only those slots that contain hardware type ecpa. pcpa Resets and reloads only those slots that contain hardware type pcpa. slot slot# (Optional) Resets and reloads only the slot specified, and only if it contains the hardware specified.
To reload the Cisco IOS image from a line card on Cisco 12000 series routers, use the microcode reload global configuration command.
microcode reload [slot-number]
Syntax Description
slot-number (Optional) Slot number of the line card that you want to reload the Cisco IOS software image on. Slot numbers range from 0 to 11 for the Cisco 12012 and 0 to 7 for the Cisco 12008. If you do not specify a slot number, the Cisco IOS software image is reloaded on all line cards.
To view the system console output generated during the Flash load helper operation, use the more flh:logfile privileged EXEC command.
more flh:logfileSyntax Description
This command has no arguments or keywords.
The more flh:logfile command replaces the show flh-log command. Refer to the more flh:logfile command for more information.
To display microcode image information available on line cards, use the show microcode EXEC command.
show microcodeSyntax Description
This command has no arguments or keywords.
Either of the identical verify bootflash: or verify bootflash commands replaces the copy verify bootflash command. Refer to the verify command for more information.
Either of the identical verify flash: or verify flash commands replaces the copy verify flash command. Refer to the verify command for more information.
To copy a Cisco IOS image to a router using the ROM monitor and the Xmodem or Ymodem protocol, use the xmodem ROM monitor command.
xmodem [-c] [-y] [-e] [-f] [-r] [-x] [-s data-rate] [filename]
Syntax Description
-c (Optional) CRC-16 checksumming, which is more sophisticated and thorough than standard checksumming. -y (Optional) Uses Ymodem protocol for higher throughput. -e (Optional) Erases the first partition in Flash memory before starting the download. This option is only valid for the Cisco 1600. -f (Optional) Erases all of Flash memory before starting the download. This option is only valid for the Cisco 1600. -r (Optional) Downloads the file to DRAM. The default is Flash memory. -x (Optional) Do not execute Cisco IOS image on completion of the download. -s data-rate (Optional) Sets the console port's data rate during file transfer. Values are 1200, 2400, 4800, 9600, 19200, 38400, and 115200 bps. The default rate is specified in the configuration register. This option is only valid for the Cisco 1600 series. filename (Optional) Filename to copy. This argument is ignored when -r is specified, because only one file can be copied to DRAM. On the Cisco 1600 series, files are loaded to the ROM for execution.
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Wed Jul 26 15:43:19 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.