cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3257
Views
4
Helpful
5
Replies

Cisco Smart Install - Help

LAN-Management
Level 1
Level 1

Hey guys,

I'm trying to configure Cisco Smart Install but it won't work.

My director is a 3750 E-Serie. I copied the IOS-image which I wanna install (c3750-ipservicesk9-tar.122-55.SE.tar) on some C3750-48TS-S into flash. As well I copied three TXT-files on the director. 1. client_cfg.txt, 2. smi_image_list.txt, 3. final_client_smi_config.txt.

1. The client_cfg.txt includes this (as it is said in this instruction-page (http://www.cisco.com/en/US/docs/switches/lan/smart_install/release_12.2_52_se/configuration/guide/tasks.html)):

!

version 12.2

!

enable password cisco

!

username cisco

!

do telnet 10.10.10.1 4787

!

end

!

2. The smi_image_list.txt has the name of the IOS-image (c3750-ipservicesk9-mz.122-55.SE) in it.

3. The final_client_smi_config.txt has in a little bit of configuartion in it:

username cisco priv 15 secret cisco

aaa new-model
aaa authentication login default local
enable secret 0 cisco
!
interface vlan 1
ip address dhcp
no shut
exit
!
vstack director 10.10.10.1
!
spaning-tree mode rapid-pvst
!
end

DHCP- and TFTP-Server are configured on the director. And when I now boot up another switch connected via ethernet to the director it gets an ip-adress from the director but after a few seconds the following message appears:

00:01:33: AUTOINSTALL: Vlan1 is assigned 10.10.10.2

00:01:33: AUTOINSTALL: Obtain tftp server address (opt 150) 10.10.10.1

Loading client_cfg.txt from 10.10.10.1 (via Vlan1): !

[OK - 82 bytes]

Trying 10.10.10.1, 4787 ... Open

[Connection to 10.10.10.1 closed by foreign host]

00:01:44: %SYS-5-CONFIG_I: Configured from tftp://10.10.10.1/client_cfg.txt by console

can someone help me out here?

thanks

jan

5 Replies 5

LAN-Management
Level 1
Level 1

Some additional information:

The switches I'm trying to update run IP-Base12.2(35)SE.

Now I tried a 3750-48TS-S runnig C3750-IPSERVICESK9 12.2(52)SE and it won't work too. But the console-message was different:

*Mar  1 00:01:39.656: AUTOINSTALL: Vlan1 is assigned 10.10.10.2 got vend id vend spec. info ret: succeed got vend id vend spec. info ret: succeed
Loading final_client_smi_config.txt from 10.10.10.1 (via Vlan1): !
[OK - 238 bytes]

*Mar  1 00:02:00.309: %SMI-6-AUTOINSTALL: Aborted AUTOINSTALL
*Mar  1 00:02:00.309: AUTOINSTALL: Aborted
*Mar  1 00:02:00.309: %SMI-6-UPGRD_STARTED: Switch (IP address: 10.10.10.2) startup-config upgrade has started
Loading smi_image_list.txt from 10.10.10.1 (via Vlan1): !
[OK - 31 bytes]

*Mar  1 00:02:09.436: %SYS-5-CONFIG_NV_I: Nonvolatile storage configured from tftp://10.10.10.1/final_client_smi_config.txt by console
Could not buffer tarfile...using multiple downloads
examining image...
%Error opening tftp://10.10.10.1/c3750-ipservicesk9-mz.122-55.SE (No such file or directory)
%Error opening flash:update/info (No such file or directory)
ERROR: Image is not a valid IOS image archive.
*Mar  1 00:02:10.501: %SMI-6-UPGRD_SUCCESS: Switch (IP address: 10.10.10.2) startup-config has upgraded successfully
*Mar  1 00:02:10.509: %SMI-6-UPGRD_STARTED: Switch (IP address: 10.10.10.2) image upgrade has started
*Mar  1 00:02:11.558: %SMI-3-UPGRD_FAILED: Switch (IP address: 10.10.10.2) image upgrade failed

Here is also the configuration on my director:

tftp-server flash:
tftp-server flash:client_cfg.txt
tftp-server flash:smi_image_list.txt
tftp-server flash:final_client_smi_config.txt
tftp-server flash:c3750-ipservicesk9-tar.122-55.SE
vstack config tftp://10.10.10.1/final_client_smi_config.txt
vstack image tftp://10.10.10.1/smi_image_list.txt
!
!
vstack dhcp-localserver dhcp_pool
address-pool 10.10.10.0 255.255.255.0
file-server 10.10.10.1
default-router 10.10.10.1
!
vstack director 10.10.10.1
vstack basic

Hope this helps.

Alright so, first off... the telnet line in client_cfg.txt is wrong, it should be using port 39419, also with 12.2(55)SE these configuration files are automatically created by the director instead of having to create them manually.

Check out the newest configuration guide located here: http://www.cisco.com/en/US/docs/switches/lan/smart_install/release_12.2_55_se/configuration/guide/smart_install.pdf

Secondly, when you define vstack image, you need to define the .tar archive image filename itself or a text file containing the .tar image name (text file is more useful when dealing with switch stacks)

Go here to obtain the correct .tar archive to use with Smart Install. http://www.cisco.com/cisco/psn/web/download/index.html

dbetker-nait
Level 1
Level 1

Oh, I forgot to mention, also... when upgrading a non-smart install capable switch (the telnet client_cfg.txt method) the process will appear to stall (it will look like nothing is happening) but i assure you, there is activity and if you be patient you'll start to see messages begin to scroll again.

iceteanolemon
Level 5
Level 5

I am doing smart install with 12.2.55.... You look like you dont have the actual tar file in your flash but instead are sharing the already extracted and installed image directory. I had to place the unextracted tar in my flash and then share it with tftp-server command just like you did with the client_cfg...

Your error msg looks like its telling the story. I dont understand all the different port numbers we have for the client_cfg yet :/

My client config file looks like this

W230#more flash:client_cfg.txt
!
version 12.2
!
enable password cisco
!
username cisco
!
do telnet 10.10.10.1 58238
!
end
!

hey you guys,

thanks for the responses.

i tried it again by using the new configuration guide and apparently it worked. i upgraded a 3750 switch from 122-53 to 122-55 ios.

after that i wanted to take the next step and implement an external tftp-server and use build-in groups.

it did that for a 3750 48-port poe switch. config looks like that:

vstack group built-in 3750 48poe
image tftp://10.10.10.2/c3750-ipservicesk9-tar.122-55.SE.tar
config tftp://10.10.10.2/config.txt

and when i now boot up the client switch the following error messages appear:

Loading config.txt from 10.10.10.2 (via Vlan1): !
[OK - 238 bytes]

*Mar  1 00:02:16.247: %SMI-6-UPGRD_STARTED: Switch (IP address: 10.10.10.3) startup-config upgrade has starte
d
*Mar  1 00:02:26.364: %SYS-5-CONFIG_NV_I: Nonvolatile storage configured from tftp://10.10.10.2/config.txt by
console
Loading c3750-ipservicesk9-tar.122-55.SE.tar from 10.10.10.2 (via Vlan1): !
mifs[4]: Cannot accept filenames longer than 45 characters.
%Error opening flash:/c3750-ipservicesk9-tar.122-55.SE.tar.2063526649l (Name too long)
*Mar  1 00:02:27.429: %SMI-6-UPGRD_SUCCESS: Switch (IP address: 10.10.10.3) startup-config has upgraded succe
ssfully
*Mar  1 00:02:27.438: %SMI-6-UPGRD_STARTED: Switch (IP address: 10.10.10.3) image upgrade has started
Loading c3750-ipservicesk9-tar.122-55.SE.tar from 10.10.10.2 (via Vlan1): !
mifs[4]: Cannot accept filenames longer than 45 characters.
%Error opening flash:/c3750-ipservicesk9-tar.122-55.SE.tar.2063526649l (Name too long)
Loading c3750-ipservicesk9-tar.122-55.SE.tar from 10.10.10.2 (via Vlan1): !
mifs[4]: Cannot accept filenames longer than 45 characters.
%Error opening flash:/c3750-ipservicesk9-tar.122-55.SE.tar.2063526649l (Name too long)
Loading c3750-ipservicesk9-tar.122-55.SE.tar from 10.10.10.2 (via Vlan1): !
mifs[4]: Cannot accept filenames longer than 45 characters.
%Error opening flash:/c3750-ipservicesk9-tar.122-55.SE.tar.2063526649l (Name too long)
*Mar  1 00:02:37.026: smi_get_image_array: ERROR : could not download imagelist file:
*Mar  1 00:02:37.026: HSMI_ERR:
!! smi_ibc_download_image : error in getting image array
*Mar  1 00:02:37.026: %SMI-3-UPGRD_FAILED: Switch (IP address: 10.10.10.3) image upgrade failed

i tried to short the filename but it won't work too. the client switch says that he can't find a valid ios. but at leat the file is downloaded  from the tftp-server.

second problem is that i can't upgrade switches running an ios lower that 122-52. i have plenty of old switches which i wanna upgrade. the message is still the same:

00:01:33: AUTOINSTALL: Vlan1 is assigned 10.10.10.2

00:01:33: AUTOINSTALL: Obtain tftp server address (opt 150) 10.10.10.1

Loading client_cfg.txt from 10.10.10.1 (via Vlan1): !

[OK - 82 bytes]

Trying 10.10.10.1, 4787 ... Open

[Connection to 10.10.10.1 closed by foreign host]

00:01:44: %SYS-5-CONFIG_I: Configured from tftp://10.10.10.1/client_cfg.txt by console

can you guys help me out? i hope so.

~jan