Foundry NetIron MLX Series Installation and Basic Configuration Guide
7-32
© 2008 Foundry Networks, Inc.
December 2008
Configuring File Size for Startup and Running Configuration
The NetIron system allocates 8 MB of contiguous memory per session (console, TELNET, SSH) for processing
different configuration commands, such as show run, config terminal, and copy tftp run. In a low memory state,
memory is generally fragmented resulting in a failure to allocate contiguous memory to support the session. We
now pre-allocate one configuration buffer so that at least one CLI session will remain operational even in low
memory condition.
NOTE:
The low memory condition is not a normal operating condition, and may indicate scaling the network
beyond system max limits. However, this feature ensures that one CLI session remains operational so that the
user can take suitable actions to recover from the condition.
To specify a configuration file size for both startup and running configuration, enter the following command:
NetIron(config)# system-max
Syntax:
[no] system-max [config-file-size <decimal>]
By default, no system-max parameter is configured.
The
config-file-size
option allows you to specify the configuration file size you want for processing various
commands.
The
decimal
parameter specifies the range that is supported for configuring file size. The minimum configuration
supported is 2 MB, and the maximum supported is 16 MB. If the file size is not configured, then the default size of
8 MB is used.
NOTE:
Foundry strongly recommends using the default size (8MB) when configuring file size.
After you issue the system-max command, with the config-file-size parameter included, additional information
following will display:
NetIron(config)# system-max config-file-size 2097152
Reload required. Please write memory and then reload or power cycle.
Failure to reload could cause system instability on failover.
Newly configured system-max will not take effect during hitless-reload.
Replacing the Startup Configuration with the Running Configuration
NOTE:
You must write this command to memory and perform a system reload for this command to take effect.
Replacing the Startup Configuration with the Running Configuration
After you make configuration changes to the active system, you can save those changes by writing them to code
flash. When you write configuration changes to code flash, you replace the startup configuration with the running
configuration.
To replace the startup configuration with the running configuration, enter the following command at any Enable or
CONFIG command prompt:
NetIron# write memory
Replacing the Running Configuration with the Startup Configuration
If you haven’t yet executed a
write memory
command to overwrite the startup configuration with the running
configuration and you want to back out of the changes you have made to the running configuration and return to
the startup configuration, enter the following command at the Privileged EXEC level of the CLI:
NetIron# reload
When the system detects differences between the running and startup configurations, it prompts you as follows:
Are you sure? (enter ‘y’ or ‘n’):
Enter y, and press the Enter key.