HP 9304m Installation And Getting Started Manual page 292

Procurve routing switches
Table of Contents

Advertisement

If the file contains commands that must be entered in a specific order, the commands must appear in the file
in the required order. For example, if you want to use the file to replace an IP address on an interface, you
must first remove the old address using "no" in front of the ip address command, then add the new address.
Otherwise, the CLI displays an error message and does not implement the command. Here is an example:
The configuration file contains these commands:
interface ethernet 3/11
ip address 10.10.10.69/24
The running-config already has a command to add an address to 3/11, so the CLI responds like this:
HP9300(config)# interface ethernet 3/11
HP9300(config-if-e100-3/1)# ip add 10.10.10.69/24
Error: can only assign one primary ip address per subnet
HP9300(config-if-e100-3/1)#
To successfully replace the address, enter commands into the file as follows:
interface ethernet 3/11
no ip address 20.20.20.69/24
ip address 10.10.10.69/24
This time, the CLI accepts the command, and no error message is displayed:
HP9300(config)# interface ethernet 3/11
HP9300(config-if-e100-3/1)# no ip add 20.20.20.69/24
HP9300(config-if-e100-3/1)# ip add 10.10.10.69/24
HP9300(config-if-e100-3/1)
Always use the end command at the end of the file. The end command must appear on the last line of the
file, by itself.
Loading the Configuration Information into the Running-Config
You can load the configuration information from a TFTP server. To load the file from a TFTP server, use either of
the following commands:
copy tftp running-config <ip-addr> <filename>
ncopy tftp <ip-addr> <filename> running-config
Maximum File Sizes for Startup-Config File and Running-Config
Each HP device has a maximum allowable size for the running-config and the startup-config file. If you use TFTP
to load additional information into a device's running-config or startup-config file, it is possible to exceed the
maximum allowable size. If this occurs, you will not be able to save the configuration changes.
The following table lists the maximum size for the running-config and the startup-config file on HP devices.
Product type
Any chassis product using
Management II modules or
higher
Any chassis product using a
Management I module
a.The running-config and startup-config file can each be the size listed.
The maximum size is not the maximum combined size for the running-
config and startup-config files.
Updating Software Images and Configuration Files
Maximum running-config and
a
startup-config file sizes
256K
128K
10 - 11

Advertisement

Table of Contents
loading

This manual is also suitable for:

9315m

Table of Contents