Transferring switch configurations (2024)

Using the CLI commands described in the section beginning with TFTP: Copying a configuration file to a remote host (CLI), you can copy switch configurations to and from a switch, or copy a software image to configure or replace an ACL in the switch configuration.

Transferring switch configurations (1)

NOTE: For greater security, you can perform all TFTP operations using SFTP, as described in the section Using SCP and SFTP.

You can also use the include-credentials command to save passwords, secret keys, and other security credentials in the running config file. For more information, see the section on "Saving Security Credentials in a Config File" in the Access Security Guide for your switch.

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

Syntax:

copy <startup-config | running-config> tftp <ip-addr> <remote-file> [ pc | unix ]

copy config <filename> tftp <ip-addr> <remote-file> [ pc | unix ]

This command can copy a designated config file in the switch to a TFTP server. For more information, see "Multiple Configuration Files" in the Basic Operation Guide for your switch.

Example:

To upload the current startup configuration to a file named sw8200 in the configs directory on drive "d" in a TFTP server having an IP address of 10.28.227.105:

ProCurve# copy startup-config tftp 10.28.227.105 d:\configs\sw8200

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:

HP Switch# copy tftp startup-config 10.28.227.105 d:\configs\sw8200

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).

Using the copy tftp show-tech command to upload a customized command file

HP 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.

Transferring switch configurations (2)

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.)

The show tech custom command

HP Switch# show tech customNo SHOW-TECH file found.

Xmodem: Copying a configuration file to a serially connected PC or UNIX workstation (CLI)

To use this method, the switch must be connected via the serial port to a PC or UNIX workstation. You will need to:

  • Determine a filename to use.

  • Know the directory path you will use to store the configuration file.

Syntax:

copy <startup-config | running-config> xmodem <pc | unix>

copy config <filename> xmodem <pc | unix>

Uses Xmodem to copy a designated configuration file from the switch to a PC or UNIX workstation. For more information, see "Multiple Configuration Files" in the Basic Operation Guide for your switch.

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:

    HP Switch# copy startup-config xmodem pcPress 'Enter' and start XMODEM on your host...
  3. After you see the above prompt, press [Enter].

  4. Execute the terminal emulator commands to begin the file transfer.

Xmodem: Copying a configuration file from a serially connected PC or UNIX workstation (CLI)

To use this method, the switch must be connected via the serial port to a PC or UNIX workstation on which is stored the configuration file you want to copy. To complete the copying, you need to know the name of the file to copy and the drive and directory location of the file.

Syntax:

copy xmodem startup-config <pc | unix>

copy xmodem config <filename> < pc | unix>

Copies a configuration file from a serially connected PC or UNIX workstation to a designated configuration file on the switch.

For more information, see "Multiple Configuration Files" in the Basic Operation Guide for your switch.

Example:

To copy a configuration file from a PC serially connected to the switch:

  1. Execute the following command:

    HP Switch# copy xmodem startup-config pcDevice will be rebooted, do you want to continue [y/n]? yPress 'Enter' and start XMODEM on your host...
  2. After you see the above prompt, press [Enter].

  3. Execute the terminal emulator commands to begin the file transfer.

  4. When the download finishes, you must reboot the switch to implement the newly downloaded software. To do so, use one of the following commands:

    Syntax:

    boot system flash [ primary | secondary ]

    boot system flash [config <filename>]

    Switches boot from the designated configuration file. For more information, see "Multiple Configuration Files" in the Basic Operation Guide for your switch.

    Syntax:

    reload

    Reboots from the flash image currently in use.

    (For more on these commands, see "Rebooting the Switch" in the Basic Operation Guide for your switch.)

USB: Copying a configuration file to a USB device (CLI)

To use this method, a USB flash memory device must be connected to the switch's USB port.

Syntax:

copy startup-config usb <filename>

copy running-config usb <filename>

Uses the USB port to copy a designated configuration file from the switch to a USB flash memory device. For more information, see "Multiple Configuration Files" in the Basic Operation Guide.

Example:

To copy the startup configuration file to a USB flash drive:

  1. Insert a USB device into the switch's USB port.

  2. Execute the following command:

    HP Switch# copy startup-config usb HP Switch-config

    where HP Switch-config is the name given to the configuration file that is copied from the switch to the USB device.

USB: Copying a configuration file from a USB device (CLI)

To use this method, the switch must be connected via the USB port to a USB flash drive on which is stored the configuration file you want to copy. To execute the command, you will need to know the name of the file to copy.

Syntax:

copy usb startup-config <filename>

Copies a configuration file from a USB device to the startup configuration file on the switch.

Example:

To copy a configuration file from a USB device to the switch:

  1. Insert a USB device into the switch's USB port.

  2. Execute the following command:

    HP Switch# copy usb startup-config HP Switch-config

    where HP Switch-config is the name of the file to copy.

  3. At the prompt, press [Enter] to reboot the switch and implement the newly downloaded software.

Transferring switch configurations (2024)
Top Articles
Hashing Algorithms - SHA256 vs Scrypt
MEME Stock Price | Roundhill MEME ETF ETF - Investing.com
Tyson Employee Paperless
Nyu Paralegal Program
Mackenzie Rosman Leaked
Culver's Flavor Of The Day Wilson Nc
St Als Elm Clinic
Lost Ark Thar Rapport Unlock
EY – все про компанію - Happy Monday
Arrests reported by Yuba County Sheriff
Craigslist/Phx
Nioh 2: Divine Gear [Hands-on Experience]
Buff Cookie Only Fans
Dr. med. Uta Krieg-Oehme - Lesen Sie Erfahrungsberichte und vereinbaren Sie einen Termin
Panorama Charter Portal
Vanessawest.tripod.com Bundy
Vrachtwagens in Nederland kopen - gebruikt en nieuw - TrucksNL
Skip The Games Fairbanks Alaska
Marine Forecast Sandy Hook To Manasquan Inlet
Universal Stone Llc - Slab Warehouse & Fabrication
Free Personals Like Craigslist Nh
The best brunch spots in Berlin
kvoa.com | News 4 Tucson
Urbfsdreamgirl
Keshi with Mac Ayres and Starfall (Rescheduled from 11/1/2024) (POSTPONED) Tickets Thu, Nov 1, 2029 8:00 pm at Pechanga Arena - San Diego in San Diego, CA
Sam's Club Gas Price Hilliard
Parent Management Training (PMT) Worksheet | HappierTHERAPY
Xfinity Outage Map Lacey Wa
Forager How-to Get Archaeology Items - Dino Egg, Anchor, Fossil, Frozen Relic, Frozen Squid, Kapala, Lava Eel, and More!
Netherforged Lavaproof Boots
Samsung 9C8
Reborn Rich Ep 12 Eng Sub
Edict Of Force Poe
Bimmerpost version for Porsche forum?
Austin Automotive Buda
Tiny Pains When Giving Blood Nyt Crossword
2007 Jaguar XK Low Miles for sale - Palm Desert, CA - craigslist
Lamont Mortuary Globe Az
Deepwoken: How To Unlock All Fighting Styles Guide - Item Level Gaming
Mychart University Of Iowa Hospital
Eat Like A King Who's On A Budget Copypasta
Studentvue Calexico
Conan Exiles Colored Crystal
Dragon Ball Super Card Game Announces Next Set: Realm Of The Gods
Meet Robert Oppenheimer, the destroyer of worlds
Headlining Hip Hopper Crossword Clue
Who Is Nina Yankovic? Daughter of Musician Weird Al Yankovic
The Hardest Quests in Old School RuneScape (Ranked) – FandomSpot
Itsleaa
Sunset On November 5 2023
Latest Posts
Article information

Author: Carlyn Walter

Last Updated:

Views: 6047

Rating: 5 / 5 (50 voted)

Reviews: 89% of readers found this page helpful

Author information

Name: Carlyn Walter

Birthday: 1996-01-03

Address: Suite 452 40815 Denyse Extensions, Sengermouth, OR 42374

Phone: +8501809515404

Job: Manufacturing Technician

Hobby: Table tennis, Archery, Vacation, Metal detecting, Yo-yoing, Crocheting, Creative writing

Introduction: My name is Carlyn Walter, I am a lively, glamorous, healthy, clean, powerful, calm, combative person who loves writing and wants to share my knowledge and understanding with you.