Tftp: Copying A Configuration File From A Remote Host (Cli); Tftp: Copying A Customized Command File To A Switch (Cli) - HP Aruba JL253A Management And Configuration Manual

For arubaos-switch 16.08
Table of Contents

Advertisement

TFTP: Copying a configuration file from a remote host (CLI)

Syntax:
copy tftp {<startup-config | running-config> < ip-address > < remote-file >} [pc | unix]
copy tftp config <filename> <ip-address> <remote-file> [pc | unix]
This command can copy a configuration from a remote host to a designated config file in the switch. For more
information, see "Multiple Configuration Files" in the basic operation guide for your switch.
For more information on flash image use, see "Using Primary and Secondary Flash Image Options" in the basic
operation guide for your switch.
Example:
To download a configuration file named sw8200 in the configs directory on drive "d" in a remote host having an
IP address of 10.28.227.105:
switch# copy tftp startup-config 10.28.227.105
d:\configs\sw8200

TFTP: Copying a customized command file to a switch (CLI)

Using the copy tftp command with the show-tech option provides the ability to copy a customized command
file to the switch. When the show tech custom command is executed, the commands in the custom file are
executed instead of the hard-coded list of commands. If no custom file is found, the current hard-coded list is
executed. This list contains commands to display data, such as the image stamp, running configuration, boot
history, port settings, and so on.
Syntax:
copy tftp show-tech <ipv4 or ipv6 address> <filename>
Copies a customized command file to the switch (see Using the copy tftp show-tech command to upload a
customized command file on page 359).
Using the copy tftp show-tech command to upload a customized command file
switch(config)# copy tftp show-tech 10.10.10.3 commandfile1
Syntax:
show tech custom
Executes the commands found in a custom file instead of the hard-coded list.
NOTE:
Exit the global config mode (if needed) before executing show tech commands.
You can include show tech commands in the custom file, with the exception of show tech custom. For
example, you can include the command show tech all.
If no custom file is found, a message displays stating "No SHOW-TECH file found." (No custom file was uploaded
with the copy tftp show-tech command.)
Chapter 11 File Transfers
359

Advertisement

Table of Contents
loading

Table of Contents