cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
823
Views
0
Helpful
7
Replies

How to get a 3560 Switch to run from new conf file on reload

Jay Matrona
Beginner
Beginner

Hi All,

I uploaded a new config file via TFTP to a 3560 switch.  What are the order of commands to get it to boot from this new config file instead of the file listed in 'sh boot':

Directory of flash:/

    2  -rwx    10468443  Feb 28 1993 19:51:11 -05:00  c3560-ipservicesk9-mz.122-44.SE2.bin

    3  -rwx       23732   Nov 8 2011 15:48:10 -05:00  uswal-sw6-confg    ***FILE I WANT TO USE

    4  -rwx       19439  Feb 28 1993 19:02:57 -05:00  config.text            

    5  -rwx         916  Feb 28 1993 23:16:12 -05:00  vlan.dat

    6  -rwx        2072  Feb 28 1993 19:02:57 -05:00  multiple-fs

    7  -rwx        3842  Feb 28 1993 19:02:57 -05:00  private-config.text

32514048 bytes total (21992960 bytes free)

axs1-1#sh boot

BOOT path-list      : flash:c3560-ipservicesk9-mz.122-44.SE2.bin

Config file         : flash:/config.text

Private Config file : flash:/private-config.text

Enable Break        : no

Manual Boot         : no

HELPER path-list    :

Auto upgrade        : yes

Auto upgrade path   :

Timeout for Config

          Download:    0 seconds

Thanks

2 Accepted Solutions

Accepted Solutions

Hi,

.

Just do a copy tftp://x.x.x.x start and reload and it should work.

Regards.

Alain.

Don't forget to rate helpful posts.

View solution in original post

darren.g
Contributor
Contributor

Jay Matrona wrote:

Hi All,

I uploaded a new config file via TFTP to a 3560 switch.  What are the order of commands to get it to boot from this new config file instead of the file listed in 'sh boot':

Directory of flash:/

    2  -rwx    10468443  Feb 28 1993 19:51:11 -05:00  c3560-ipservicesk9-mz.122-44.SE2.bin

    3  -rwx       23732   Nov 8 2011 15:48:10 -05:00  uswal-sw6-confg    ***FILE I WANT TO USE

    4  -rwx       19439  Feb 28 1993 19:02:57 -05:00  config.text            

    5  -rwx         916  Feb 28 1993 23:16:12 -05:00  vlan.dat

    6  -rwx        2072  Feb 28 1993 19:02:57 -05:00  multiple-fs

    7  -rwx        3842  Feb 28 1993 19:02:57 -05:00  private-config.text

32514048 bytes total (21992960 bytes free)

axs1-1#sh boot

BOOT path-list      : flash:c3560-ipservicesk9-mz.122-44.SE2.bin

Config file         : flash:/config.text

Private Config file : flash:/private-config.text

Enable Break        : no

Manual Boot         : no

HELPER path-list    :

Auto upgrade        : yes

Auto upgrade path   :

Timeout for Config

          Download:    0 seconds

Thanks

There's a couple of methods you could use.

Be warned - if this new config file is not right, you could lock yourself out of the switch and have to get back in via the console.

You could issue the following command

copy flash:uswal-sw6-config startup-config

Or you could do this

delete flash:config.text

rename flash:uswal-sw6-config flash:config.text

then reload the switch (in either case).

If there's something not quite right in the new config,e specially in the management IP configuration, then you will have to console in via the serial port and rectify the problems.

Cheers.

View solution in original post

7 Replies 7