Basic Operation Guide 2013/06

Table Of Contents
Note: This command requires an empty memory slot in the switch. If there are no
empty memory slots, the CLI displays the following message:
Unable to copy configuration to "<filename>".
You can erase one or more configuration files using the
erase config <filename>
command.
For more on using TFTP to copy a file from a remote host, see "TFTP: Copying a
Configuration File from a Remote Host" in Appendix A of the Management and
Configuration Guide for your switch.
For example, the following command copies a startup-config file named test01.txt from a (UNIX)
TFTP server at IP address 10.10.28.14 to the first empty memory slot in the switch:
HP Switch(config)# copy tftp config test-01 10.10.28.14 test-01.txt unix
Xmodem: copying a configuration file to a serially connected host
Syntax:
copy config <filename>
xmodem <pc | unix>
This is an addition to the copy <config> xmodem command options. Use this
command to upload a configuration file from the switch to an Xmodem host.
For more on using Xmodem to copy a file to a serially connected host, see "Xmodem:
Copying a Configuration File to a Serially Connected PC or UNIX Workstation" in
Appendix A of the Management and Configuration Guide for your switch.
Xmodem: copying a configuration file from a serially connected host
Syntax:
copy xmodem config <dest-file> <pc | unix>
This is an addition to the copy xmodem command options. Use this command to
download a configuration file from an Xmodem host to the switch.
For more on using Xmodem to copy a file from a serially connected host, see
"Xmodem: Copying a Configuration File from a Serially Connected PC or UNIX
Workstation" in Appendix A of the Management and Configuration Guide for your
switch.
Operating notes for multiple configuration files
SFTP/SCP: The configuration files are available for sftp/scp transfer as /cfg/<filename>.
Display configuration of selected interface
The options provided in this feature allow you to display all the configurations on a specified
interface or VLAN with a single command. You can use the options with the startup config command,
show config, and the running config command, show running-config.
Running configuration output
You can display the running configuration using this command. An example of this output is shown
in the ‘Running Configuration Output for Interfaces A2–A4’ example below.
Syntax:
show running-config [interface <port-list | loopback <0-7> | vlan
vlan-id-list] [structured]
84 Switch memory and configuration