Dynamic Configuration Loading; Usage Considerations; Preparing The Configuration File - IBM 4002-C4A Installation And User Manual

Hide thumbs Also See for 4002-C4A:
Table of Contents

Advertisement

For example, to make a backup copy of the startup-config file and save the backup
file to a TFTP server, enter a command such as the following at the Privileged
EXEC level in the CLI:
Syntax: copy startup-config tftp <ip-address> <dest-file-name>
The <ip-address> variable specifies the IP address of the TFTP server that you
want to save the startup configuration to.
The <dest-file-name> specifies the name of the file you copied to a new
destination.

Dynamic configuration loading

You can load dynamic configuration commands (commands that do not require a
reload to take effect) from a file on a TFTP server into the switch's running-config.
You can make configuration changes off-line, then load the changes directly into the
device's running-config, without reloading the software.

Usage considerations

v Use this feature only to load configuration information that does not require a
v Do not load port configuration information for secondary ports in a trunk group.

Preparing the configuration file

A configuration file that you create must follow the same syntax rules as the
startup-config file the device creates.
v The configuration file is a script containing CLI configuration commands. The CLI
v The software retains the running-config that is currently on the device, and
v The file can contain global CONFIG commands or configuration commands for
v The default CLI configuration level in a configuration file is the global CONFIG
52
IBM Ethernet Switch c-series Installation and User Guide
NetIron# copy startup-config tftp 10.28.40.21 startup-config.bak
software reload to take effect. For example, you cannot use this feature to
change statically configured memory (system-max command).
Since all ports in a trunk group use the port configuration settings of the primary
port in the group, the software cannot implement the changes to the secondary
port.
reacts to each command entered from the file in the same way the CLI reacts to
the command if you enter it. For example, if the command results in an error
message or a change to the CLI configuration level, the software responds by
displaying the message or changing the CLI level.
changes the running-config only by adding new commands from the configuration
file. If the running config already contains a command that is also in the
configuration file you are loading, the CLI rejects the new command as a
duplicate and displays an error message. For example, if the running-config
already contains a command that configures ACL 1, the software rejects ACL 1 in
the configuration file, and displays a message that ACL 1 is already configured.
interfaces, routing protocols, and so on. You cannot enter User EXEC or
Privileged EXEC commands.
level. Thus, the first command in the file must be a global CONFIG command or
" ! ". The ! (exclamation point) character means "return to the global CONFIG
level".

Advertisement

Table of Contents
loading

This manual is also suitable for:

4002-c4b4002-c5a4002-c5b

Table of Contents