- Community Home
- >
- Networking
- >
- Legacy
- >
- Switches, Hubs, Modems
- >
- Load Remote Configuration File at Boot from TFTP S...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2010 05:38 AM
тАО06-23-2010 05:38 AM
Load Remote Configuration File at Boot from TFTP Server
I am using some HP ProCurve 2510g switches and I need to know if there is a command for these switches that I can add to make them automatically check a TFTP server for their startup-config configuration files.
Notice I need them to get and load a remote config file at bootup from a TFTP server and NOT an IOS image.
Thanks in advance,
Alan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2010 10:15 AM
тАО06-24-2010 10:15 AM
Re: Load Remote Configuration File at Boot from TFTP Server
You can use DCHP server to point the switch to TFTP server at bootup. Here is an example from ProCurve Series 2510G Switches Management and Configuration Guide (http://cdn.procurve.com/training/Manuals/2510G-MgmtCfg-Jun2008-59923095.pdf):
j2510Gswitch:\
ht=ether:\
ha=0030c1123456:\
ip=10.66.77.88:\
sm=255.255.248.0:\
gw=10.66.77.1:\
lg=10.22.33.44:\
T144=├в switch.cfg├в :\
vm=rfc1048
where:
j2510Gswitch is a user-defined symbolic name to help you find the correct section of the bootptab file. If you have multiple switches that will be using Bootp to get their IP configuration, you should use a unique symbolic name for each switch.
ht is the ├в hardware type├в . For the switches covered in this guide, set this to ether (for Ethernet). This tag must precede the ha tag.
ha is the ├в hardware address├в . Use the switch's (or VLAN's) 12-digit MAC address.
ip is the IP address to be assigned to the switch (or VLAN).
sm is the subnet mask of the subnet in which the switch (or VLAN) is installed.
gw is the IP address of the default gateway.
lg TFTP server address (source of final configuration file)
T144 is the vendor-specific ├в tag├в identifying the configuration file to download.
vm is a required entry that specifies the Bootp report format. For the switches described in this guide, set this parameter to rfc1048.
HTH
Oleg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2010 10:39 AM
тАО06-24-2010 10:39 AM
Re: Load Remote Configuration File at Boot from TFTP Server
Thanks for your response. Is there a way to do it without the use of a DHCP server?
On a Cisco switch, there is a command called "boot network tftp: //tftp_server_ip/
Is there a similar command for these HP ProCurve switches?
Thanks again for your help,
Alan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2010 11:05 AM
тАО06-24-2010 11:05 AM
Re: Load Remote Configuration File at Boot from TFTP Server
Usage: [no] auto-tftp [IP-ADDR FILENAME-STR]
Description: Enable/disable automatic OS image download via TFTP during
boot. The OS image will be downloaded if it has a different
version from the OS running on the switch. The command requires
the parameters to be specified when used without 'no'.
o IP-ADDR - specifies the TFTP server IP address to download
an OS image from.
o FILENAME-STR - specifies the file-name to download.
Oleg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2010 11:19 AM
тАО06-24-2010 11:19 AM
Re: Load Remote Configuration File at Boot from TFTP Server
It will however download the configuration file from the TFTP server if the current one on the switch does not match the one on the TFTP server.
Am I correct in assuming this? If I am, that means if I make changes to the config on the switch, if the switch ever reboots, it will download the OLD config from the TFTP server since they don't match.....right?
Something to keep im mind. I'll give it a try and let you know how it goes.
I think you deserve Full points for this. Let me test and then i'll come back to close this thread.
Thanks!
Alan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2010 06:56 AM
тАО07-01-2010 06:56 AM
Re: Load Remote Configuration File at Boot from TFTP Server
Sorry for the delay. I have note had a chance to test this yet, but I should be able to later on today.
I have not abandoned the thread.
I will definitely post my findings once I test.
Thanks,
Alan H.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2010 07:05 AM
тАО07-12-2010 07:05 AM
Re: Load Remote Configuration File at Boot from TFTP Server
I thought that the auto-tftp command may have had a parameter for downloading the startup configuration for the switch as well, but this is only for the OS.
I wanted a way to automatically get the config from the TFTP server but I had to do it manually using the "copy tftp startup-config" command in global config mode.