
File Transfers
Transferring Switch Configurations and ACL Command Files
For example, to download a configuration file named sw5300 in the configs
directory on drive “d” in a remote host having an IP address of 10.28.227.105:
ProCurve# copy tftp startup-config 10.28.227.105
d:\configs\sw2512
TFTP: Copying a Configuration File to a Remote Host
Syntax: copy < startup-config | running-config > tftp < ip-addr > < remote-file > [ pc
| unix ]
copy config < filename > tftp < ip-addr > < remote-file > [ pc | unix ]
All Switches: This command copies the switch’s startup
configuration (startup-config file) or running
configuration (running-config file) to a TFTP server.
5300xl or 4200vl: On a 5300xl switch running software
release E.09.xx or greater or on a 4200vl switch, this
command can copy a designated config file in the switch to
a TFTP server. For more on multiple configuration files,
refer to “Multiple Configuration Files on 5300xl and 4200vl
Switches” on page 6-22.
For example, to upload the current startup configuration to a file named
sw5300 in the configs directory on drive “d” in a TFTP server having an IP
address of 10.28.227.105:
HPswitch# copy startup-config tftp 10.28.227.105
d:\configs\sw5300
TFTP: Uploading an ACL Command File from a TFTP Server
This section describes how to upload and execute a command file to the
switch for configuring or replacing an Access Control List (ACL) in the switch
configuration. Such files should contain only ACE (Access Control Entry)
commands. For an example of creating an ACL command file offline, refer to
A-24
Kommentare zu diesen Handbüchern