HP (Hewlett-Packard) M208 Switch User Manual


 
USING THE M208’S ADDITIONAL OPTIONS: FTP Daemon 151
If you are restoring a configuration saved from another unit, the configuration must be
of the same version as the unit receiving the configuration.
1 Change to the local directory on the host where the saved configuration files
reside.
2 Login to the M208 using ftp.
ftp
ipname
3 Login as root.
You must be a root user in order to FTP files to the /config directory.
4 Change to the config/stored directory.
cd config/stored
5 Set mode to binary. Configuration files are always in binary form.
bin
6 Turn off the interactive mode.
prompt
7 Upload all the files from the user’s local directory.
put *
Copies all files from the local directory to the config/stored directory.
8 Logout of the FTP session.
quit
It will be necessary to reset the M208 for the changes to take effect.
2. /exec directory
Using the /exec directory, users can upload a text file that includes a number of config-
uration commands. When this file is placed in the /exec directory, the commands con-
tained in it are executed as if they were commands entered sequentially from a telnet
session using npsh. This feature enables the user to create a single text configuration
file that can be used to quickly and easily configure a number of M208s.
The command syntax for the text configuration file is exactly the same as if you were
entering individual commands with npsh through a telnet session. Please see USING
THE M208’S COMMAND SET on page 93 for details regarding the commands and
N
o
t
e
N
o
t
e
N
o
t
e
N
o
t
e