HP (Hewlett-Packard) 2848 Switch User Manual


 
File Transfers
Transferring Switch Configurations
TFTP: Copying a Configuration File to a Remote Host.
Syntax: copy < startup-config | running-config > tftp < ip-addr > < remote-file >
This command copies the switch’s startup configuration (startup-config file)
to a remote TFTP host.
For example, to upload the current startup configuration to a file named
sw4100 in the configs directory on drive "d" in a remote host having an IP
address of 10.28.227.105:
HPswitch# copy startup-config tftp 10.28.227.105
d:\configs\sw4100
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 file to a PC serially connected to the
switch:
1. Determine the file name and directory location on the PC.
2. Execute the following command:
HPswitch# copy startup-config xmodem pc
3. After you see the following prompt, press
[Enter].
Press ’Enter’ and start XMODEM on your host...
4. Execute the terminal emulator commands to begin the file transfer.
A-19