|
|
This chapter explains the function and syntax of the router memory 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. See Table 7 to determine which Flash memory file system type your platform uses.
| Type | Platforms |
|---|---|
Class A | Cisco 7000 family, C12000, LightStream1010 |
Class B | Cisco 1003, Cisco 1004, Cisco 1005, Cisco 2500 series, Cisco 3600 series, Cisco 4000 series, Cisco AS5200 |
Class C | Cisco MC3810, disk0 and disk1 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. See the chapter "Cisco IOS File System Commands" in this book for a description of the copy command. Table 8 maps the old commands to their replacements.
| Old Command | New Command |
|---|---|
configure network | copy source-url system:running-config |
configure overwrite-network | copy source-url nvram:startup-config |
write memory | copy system:running-config nvram:startup-config |
write network | copy system:running config destination-url |
To enable the Memory Scan feature on a Cisco 7500 series router, use the memory scan command. Use the no form of this command to restore the router configuration to the default.
memory scanSyntax Description
This command has no arguments or keywords.
To reallocate the percentage of DRAM to use for input/output memory and processor memory on Cisco 3600 series routers, use the memory-size iomem global configuration command. The no form of this command reverts to the default allocation of 25 percent I/O memory and 75 percent processor memory.
memory-size iomem i/o-memory-percentage
Syntax Description
i/o-memory-percentage The percentage of DRAM allocated to I/O memory. The values permitted are 10, 15, 20, 25, 30, 40, and 50 percent. A minimum of 4 MB of memory is required for I/O memory.
Cisco 1600 series and Cisco 3600 series
partition flash-filesystem: [number-of-partitions][partition-size]
no partition flash-filesystem:
All other Class B platforms
partition flash partitions [size1 size2]
no partition flash
Syntax Description
flash-filesystem One of the following Flash file systems, which must be followed by a colon (:). The Cisco 1600 series can only use the flash: keyword. number-of-partitions (Optional) Number of partitions in Flash memory. partition-size (Optional) Size of each partition. The number of partition size entries must be equal to the number of specified partitions. partitions Number of partitions in Flash memory. Can be 1 or 2. size1 (Optional) Size of the first partition in megabytes. size2 (Optional) Size of the second partition in megabytes.
To display the layout and contents of a Flash memory file system, use the show EXEC command.
Class A Flash file systems
show flash-filesystem: [all | chips | filesys]
Class B Flash file systems
show flash-filesystem: [partition number] [all | chips | detailed | err | summary]
Class C Flash file systems
show flash-filesystem:
Syntax Description
flash-filesystem Flash memory file system (bootflash:, flash:, slot0:, slot1:, slavebootflash:, slaveslot0:, or slaveslot1:). all (Optional) On Class B Flash file systems, all shows complete information about Flash memory, including information about the individual ROM devices in Flash memory and the names and sizes of all system image files stored in Flash memory, including those that are invalid. On Class A Flash file systems, all shows the following information: chips (Optional) Shows information per partition and per chip, including which bank the chip is in plus its code, size, and name. filesys (Optional) Shows the Device Info Block, the Status Info, and the Usage Info. detailed (Optional) Shows detailed file directory information per partition, including file length, address, name, Flash memory checksum, computer checksum, bytes used, bytes available, total bytes, and bytes of system Flash memory. err (Optional) Shows write or erase failures in the form of number of retries. partition number (Optional) Shows output for the specified partition number. If you do not specify a partition in the command, the router displays output for all partitions. You can use this keyword only when Flash memory has multiple partitions. summary (Optional) Shows summary information per partition, including the partition size, bank size, state, and method by which files can be copied into a particular partition. You can use this keyword only when Flash memory has multiple partitions.
To monitor the number and type of parity (memory) errors on your system, use the show memory scan EXEC command.
show memory scanSyntax Description
This command has no arguments or keywords.
The copy system:running-config nvram: startup-config command replaces the write memory command. See the copy command for more information.
The copy system:running-config destination-url command replaces the write network command. See the copy command for more information.
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Wed Jul 26 15:45:21 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.