A-14
File Transfers
Transferring Switch Configurations
File Transfers
TFTP: Copying a Configuration File to a Remote Host.
Syntax: copy <startup-config | running-config> tftp <ip-addr> <remote-file>
This command copies the switchs startup configuration (startup-config file)
to a remote TFTP host.
For example, to upload the current startup configuration to a file named
sw4108 in the configs directory on drive "d" in a remote host having an IP
address of 10.28.227.105:
HP4108# copy startup-config tftp 10.28.227.105
d:\configs\sw2512
Xmodem: Copying a Configuration File from the Switch to a Serially
Connected PC or Unix Workstation. To use this method, the switch must
be connected via the serial port to a PC or Unix workstation to which you
want to copy the configuration file. You will need to:
Determine a filename to use.
Know the directory path you will use to store the the configuration file.
Syntax: copy <startup-config | running-config> xmodem <pc | unix>
For example, to copy a configuration fil e to a PC serially connected to the
switch:
1. Determine the file name and directory location on the PC.
2. Execute the following command:
3. After you see the above prompt, press [Enter].
4. Execute the terminal emulator command s to begin the file transfer.