cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
19136
Views
10
Helpful
9
Replies

copy startup-config running-config

kope
Level 1
Level 1

I am replacing a css-11150 switch. I received as version 4.01; therefore I upgraded it to version 6.10-405. The upgrade went fine.

Then I ftp the config file to the css box and copy it to startup-config. It worked ok also.

The problem started here -> when I copy startup-config to running-config, it appeared copied ok (no error message), but when I did a "sh run", the running config is empty, (no statements at all). My startup config has about 100 lines of coding. I hate to type in every single line.

Do any one running into this kind of strange problem?

thanks.

9 Replies 9

Gilles Dufour
Cisco Employee
Cisco Employee

can you try a 'clear running-config' and then a 'copy start run'

What if you reboot the box ?

Does it come up with a running config ?

Thanks,

Gilles.

I rebooted it, the running config is not there. I cleared the running-config; and copy start run; the running config is not there either. If I manually edit the running config, and the config is there. I can do a copy run startup-config; but I am unable to copy stratup-config run.

are you certain your startup-config contains something ?

Could you capture 'sho start', 'sho run', 'sho ver' and attach it to this discussion.

How did you upload the startup config ?

Could you also give us the exact procedure step by step.

Thanks,

Gilles.

I upgraded from Ver 4 to ver 6.10 using the upgrade script.

upgrade

To upload the startup-config

copy ftp

____________________________

Below is the "sh start", "sh run" "sh ver",

as you can see, when I did a sh run, it returns nothing. (i deleted some lines on sh start here since it is too big to post)

__________________________________

CSS11150# sh startup-config

!*************************** GLOBAL ***************************

sntp server 168.38.250.142 version 1

snmp location "701 West 51 st, Austin, TX 78751 "

snmp community Shirt1 read-only

snmp contact "Network Engineer, NGIT, (512)377-2222"

ip route 0.0.0.0 0.0.0.0 168.38.131.1 1

!************************* INTERFACE *************************

interface e1

bridge vlan 12

phy 100Mbits-FD

interface e2

bridge vlan 12

phy 100Mbits-FD

interface e3

bridge vlan 12

phy 100Mbits-FD

interface e4

bridge vlan 12

phy 100Mbits-FD

interface e5

bridge vlan 12

phy 100Mbits-FD

interface e6

bridge vlan 12

phy 100Mbits-FD

interface e7

bridge vlan 12

phy 100Mbits-FD

interface e8

bridge vlan 12

phy 100Mbits-FD

interface e9

bridge vlan 12

phy 100Mbits-FD

interface e10

--Cancelled---

CSS11150# sh run

CSS11150# copy startup-config running-config

Copying(\)

CSS11150# sh run

CSS11150# sh start

^

%% Invalid input detected at '^' marker.

CSS11150# sh startup-config

!*************************** GLOBAL ***************************

sntp server 168.38.250.142 version 1

snmp location "701 West 51 st, Austin, TX 78751 "

snmp community Shirt1 read-only

snmp contact "Network Engineer, NGIT, (512)377-2222"

ip route 0.0.0.0 0.0.0.0 168.38.x.x

!************************* INTERFACE *************************

interface e1

bridge vlan 12

phy 100Mbits-FD

interface e2

bridge vlan 12

phy 100Mbits-FD

interface e3

bridge vlan 12

phy 100Mbits-FD

interface e4

bridge vlan 12

phy 100Mbits-FD

interface e5

bridge vlan 12

phy 100Mbits-FD

interface e6

bridge vlan 12

phy 100Mbits-FD

interface e7

bridge vlan 12

phy 100Mbits-FD

interface e8

bridge vlan 12

phy 100Mbits-FD

interface e9

bridge vlan 12

phy 100Mbits-FD

interface e10

bridge vlan 12

phy 100Mbits-FD

interface e11

bridge vlan 12

phy 100Mbits-FD

interface e12

bridge vlan 12

phy 100Mbits-FD

interface e15

bridge vlan 12

phy 100Mbits-FD

description "Link to PRSSWINTERS1-7/21"

interface e16

phy 100Mbits-FD

description "Link to PRSSWINTERS1-7/1"

!************************** CIRCUIT **************************

circuit VLAN1

ip address 168.38.x.x 255.255.255.128

circuit VLAN12

ip address 168.38.x.y 255.255.255.128

!************************** SERVICE **************************

service Web29-tare.dfps.state.tx.us

ip address 168.38.49.122

protocol tcp

port 8010

keepalive type tcp

service Web29-tarefile.dfps.state.tx.us

ip address 168.38x.x

protocol tcp

keepalive type tcp

port 8010

service iws-86

protocol tcp

ip address 168.38.x.x

keepalive port 80

keepalive type tcp

active

content www.txabusehotline.org

add service www.txabusehotline.org-113

vip address 168.38.x.x

protocol tcp

advanced-balance sticky-srcip

active

CSS11150#

CSS11150# sh run

CSS11150# sh version

Version: ap0610405 (6.10 Build 405)

Flash (Locked): 4.01 Build 32

Flash (Operational): 6.10 Build 405

Type: PRIMARY

Licensed Cmd Set(s): Standard Feature Set

CSS11150#

CSS11150#

ok, that's a really weird issue.

I don't have a solution at hand, so I can only offer suggestions.

Do you still have version 4.x ?

If so, boot if 4.x and see if the startup-config is copied to running-config.

do a 'archive starup-config startup-config'.

Then reboot again in 6.x

Check running config.

If that does not work, reboot again in 4.x and try to install a 5.0 version and see if you have the problem.

Thanks,

Gilles.

Follow the method below. Did you say 'no' before reboot? It could be as simle as this...not sure but definitely it worked for me many times on the 11506 when I do ftp upload the backed-up configs...just my 0.02 cents..

CSS11506# # clear running-config

CSS11506# # copy startup-config running-config

Copying(-)

CSS11506# (config)# reboot

CSS11506# (config-boot)#

Configuration changes have occurred. Save changes before exiting, [y/n]:n

Are you sure you want to reboot the system, [y/n]:y

** Message from [skumar] **

System Reboot from:console, All sessions will terminate...

Thanks all the help I am getting, but it didn't solve the problem. It almost like the running-config is "write protected" or something, but anyhow it didnt return with error message after the copying.

In summary, the problem is below:

CSS11500# # copy startup-config running-config

Copying(-)

CSS11500# sh run

CSS11500#

The running config is not there.

--------------------------------------

Here is what I had tried:

- Got two RMA from Cisco, they are doing the same thing.

- Tried different versions, including 6, 5 and 4. No help.

- Tried ftp using different config file (in fear of a corrupted config), no help either.

- After copy from ftp to startup-config, save change before exiting, do a reboot, the running-config is NOT there, but the startup-config is there.

I have no clue, and all tech support said was it may be a bad hard disk. (I already had two RMA).

__________________________

Instead of wasting the time to troubleshoot, i am entering all the config codings manually. and did a write mem. Reboot the box, the running config is there.

Do not 'save' before exiting.

It might have helped you I think.

I think I tried that and it didn't helped. I answered "no" before exiting.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: