04-21-2015 09:44 PM - edited 03-07-2019 11:40 PM
Hi,
I try to load an image to a C3750X-12S with Smart Install. The Vstack director is a C3560E with 15.0(2)SE and a custom vstack group for the C3570X since it does not seem to be available in the built-in groups. The image is on a TFTP server. the config looks like this:
vstack group custom WS-C3750X-12S product-id
image tftp://172.18.0.245/c3750e-universalk9-tar.150-2.SE7.tar
match WS-C3750X-12S
!
!
vstack group built-in 2960 24
image tftp://172.18.0.245/c2960-lanbasek9-tar.150-2.SE7.tar
!
vstack group built-in 2960 48
image tftp://172.18.0.245/c2960-lanbasek9-tar.150-2.SE7.tar
!
vstack group built-in 2960g 24
image tftp://172.18.0.245/c2960-lanbasek9-tar.150-2.SE7.tar
!
vstack group built-in 2960g 48
image tftp://172.18.0.245/c2960-lanbasek9-tar.150-2.SE7.tar
!
vstack group built-in 2960s 24-4sfp
image tftp://172.18.0.245/c2960s-universalk9-tar.150-2.SE7.tar
!
vstack group built-in 3560e 12-1gig
image tftp://172.18.0.245/c3560e-universalk9-tar.150-2.SE7.tar
!
vstack group built-in 3750x 24
image tftp://172.18.0.245/c3750e-universalk9-tar.150-2.SE7.tar
!
!
vstack dhcp-localserver DHCP_VSTACK_VLAN1
address-pool 172.18.252.224 255.255.255.240
file-server 172.18.0.245
default-router 172.18.252.225
!
vstack director 172.18.255.17
vstack basic
vstack startup-vlan 1
vstack backup file-server tftp://172.18.0.245/vstack
All other types of switch load without any problem, the C3750X-12S does not. the error message I get is:
*Mar 1 00:02:41.581: %SMI-3-IMG_CFG_NOT_CONFIGURED: IBC (IP Address :172.18.252.235) : The Director does not have a image file or a configuration file configured for this Product-ID
If I do a "show vstack status" on the director it looks like that:
42 3c08.f69d.4980 WS-C3750X-12S 172.18.252.233 Switch S A a X
I fiddled around with some other possible product-id with noc success. Has anyone an idea what trick I could use to get this running?
Kind regards
Mat
04-22-2015 05:07 AM
The Director does not have a image file or a configuration file configured for this Product-ID
Means the VStack Director could not find the IOS file in the TFTP server. Can you please check if the file exist? Do you have an imagelist.txt file?
Also read THIS.
05-05-2015 02:44 AM
Hi
sorry to not get back quicker; it took me some time to get back at the customer site. The file for the C3750X exist on the TFTP server as well as the image-list. So theoretically it should be found. I still believe that something with the product ID is happening in the background.
[user1@host tftpboot]$ more C3750X-12S-imagelist.txt
c3750e-universalk9-tar.150-2.SE7.tar
[user1@CHGNMA01 tftpboot]$ ls -las c3750e-universalk9-tar.150-2.SE7.tar
25112 -rw-rw-rw- 1 user1 user1 25681920 Mar 24 09:52 c3750e-universalk9-tar.150-2.SE7.tar
[user1@host tftpboot]$
05-05-2015 03:21 PM
match WS-C3750X-12S
Ok, I haven't played with 15.0(2)SE2 for a long time so I don't have any recollection on how ZeroTouch behaves.
I am suspecting this match statement is incorrect, in my opinion. It should be "match WS-C3750X-12S-S" or "match WS-C3750X-12S-E". If you run the command "sh cdp neighbor <PORT> detail" and look at "Platform" the feature set of "-S" or "-E" shows up.
Another way of testing is to console into the 3750X-12S and reboot. I want to see what the error messages pop up.
vstack group built-in 3750x 12s image tftp://<TFTP IP Address>/c3750e-universalk9-tar.122-55.SE10.tar config tftp://<TFTP IP Address>/3750X-12S_config.txt
Another thing, I've recently enabled 3750X-12S in my ZeroTouch SmartInstall setup and this is my configuration (above). I am currently running IOS version 15.2(3)E and I don't use "custom built" option. The imagelist.txt filename syntax is "3750x-12s-imagelist.txt".
05-11-2015 07:46 AM
Hi Leo
thanks for your continuing support. I have had the opportunity to go on with the testing. Still no success.
On the director side (WS-C3560E-12SD, 15.0(2)SE, C3560E-UNIVERSALK9-M) the config looks like that:
vstack group custom IE-3000 product-id
image tftp://172.18.0.245/ies-lanbasek9-tar.150-2.SE7.tar
match IE-3000-8TC
!
vstack group custom WS-C3750X-12S product-id
image tftp://172.18.0.245/c3750e-universalk9-tar.150-2.SE7.tar
match WS-C3750X-12S
!
!
vstack group built-in 2960 24
image tftp://172.18.0.245/c2960-lanbasek9-tar.150-2.SE7.tar
!
.....
!
vstack group built-in 3750g 12
image tftp://172.18.0.245/c3750e-universalk9-tar.150-2.SE7.tar
!
vstack group built-in 3750x 24
image tftp://172.18.0.245/c3750e-universalk9-tar.150-2.SE7.tar
!
!
vstack dhcp-localserver DHCP_VSTACK_VLAN1
address-pool 172.18.252.224 255.255.255.240
file-server 172.18.0.245
default-router 172.18.252.225
!
vstack director 172.18.255.17
vstack basic
vstack startup-vlan 1
vstack backup file-server tftp://172.18.0.245/vstack
I tried several things: removing the IE-3000 group so that the WS-C3750X-12S group was first. No success. I had groups with all kind of product IDs like WS-C3750X-12S-S, WS-C3750X-12S-E, C3750X-12S, no success either. The IOS 15.0(2) does not allow me to use a built-in group for the 12s and I have no possibility to upgrade this director quickly. But I can imagine that due to the built-in group 3750x for the 24 and 48 switches the custom group for the same switch type might fail. I will try to build a test with a director with a more recent IOS and let you know the results.
Kind regards
Mat
----------------------------------------------------------------------------------
Console 3750X-12S Switch
debug vstack all on 3560E Vstack Director
*Mar 1 00:01:27.266: %SYS-5-RESTART: System restarted --
Cisco IOS Software, C3750E Software (C3750E-UNIVERSALK9-M), Version 12.2(58)SE2, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2011 by Cisco Systems, Inc.
Compiled Thu 21-Jul-11 01:23 by prod_rel_team
*Mar 1 00:01:28.885: %LINK-3-UPDOWN: Interface GigabitEthernet1/0/12, changed state to up
*Mar 1 00:01:29.112: %USB_CONSOLE-6-MEDIA_RJ45: Console media-type is RJ45.
*Mar 1 00:01:29.221: %LINK-3-UPDOWN: Interface FastEthernet0, changed state to down
*Mar 1 00:01:30.227: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0, changed state to down
*Mar 1 00:01:32.954: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0/12, changed state to up
*Mar 1 00:02:01.970: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up
*Mar 1 00:02:19.301: AUTOINSTALL: Vlan1 is assigned 172.18.252.235 got vend id vend spec. info ret: succeed got vend id vend spec. info ret: succeed
*Mar 1 00:02:39.769: %SMI-3-IMG_CFG_NOT_CONFIGURED: IBC (IP Address :172.18.252.235) : The Director does not have a image file or a configuration file configured for this Product-ID
*Mar 1 00:02:39.769: %SMI-6-AUTOINSTALL: Continue AUTOINSTALL
*Mar 1 00:02:39.769: %SMI-6-AUTOINSTALL: Aborted AUTOINSTALL
----------------------------------------------------------------------------------
May 11 15:40:20.694: VSTACK_PROTOCOL:
smi_insert_dhcp_options: Inside DHCP options
May 11 15:40:20.694: VSTACK_PROTOCOL:
smi_dhcp_shim_interesting_offer:No vstack options inserted, packet
may be flooded,
out_vlan_id is 0
May 11 15:40:20.694: VSTACK_PROTOCOL:
smi_insert_dhcp_options: Inside DHCP options
May 11 15:40:20.694: VSTACK_PROTOCOL:
smi_version_compare: version string is Cisco IOS Software, C3750E Software (C3750E-UNIVERSALK9-M), Version 12.2(58)SE2, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2011 by Cisco Systems, Inc.
Compiled Thu 21-Jul-11 01:23 by prod_rel_team
May 11 15:40:20.694: VSTACK_PROTOCOL:
smi_version_compare: ver is 58
May 11 15:40:20.694: VSTACK_PROTOCOL:
smi_version_compare : value is 58
May 11 15:40:20.694: VSTACK_GROUP:
smi_get_img_cfg_from_mac: Input Mac address is: 3c08.f69d.4980
May 11 15:40:20.694: VSTACK_DIR_DB:
smi_cdp_get_img_cfg_from_conn: Entry mac for connectivity 3c08.f69d.4980
May 11 15:40:20.694: VSTACK_DIR_DB:
smi_cdp_get_img_cfg_from_conn: input port and ip GigabitEthernet0/2 172.18.255.17
May 11 15:40:20.694: VSTACK_GROUP:
smi_get_img_cfg_from_conn: Input address is: 172.18.255.17
May 11 15:40:20.694: VSTACK_GROUP:
and interface is: GigabitEthernet0/2
May 11 15:40:20.694: VSTACK_GROUP:
smi_get_img_cfg_from_conn: error return:
May 11 15:40:20.694: VSTACK_DIR_DB:
smi_cdp_get_img_cfg_from_conn: input port and ip GigabitEthernet0/21 172.18.253.229
May 11 15:40:20.694: VSTACK_GROUP:
smi_get_img_cfg_from_conn: Input address is: 172.18.253.229
May 11 15:40:20.694: VSTACK_GROUP:
and interface is: GigabitEthernet0/21
May 11 15:40:20.694: VSTACK_GROUP:
smi_get_img_cfg_from_conn: error return:
May 11 15:40:20.694: VSTACK_GROUP:
smi_get_img_cfg_from_sku_id: Input Sku-id is: WS-C3750X-12S
May 11 15:40:20.694: VSTACK_GROUP:
smi_get_img_cfg_from_sku_id: Group is: IE-3000
May 11 15:40:20.694: VSTACK_GROUP:
smi_get_img_cfg_from_sku_id: Group sku: IE-3000-8TC
May 11 15:40:20.694: VSTACK_GROUP:
smi_get_img_cfg_from_sku_id: Group is: WS-C3750X-12S
May 11 15:40:20.694: VSTACK_GROUP:
smi_get_img_cfg_from_sku_id: Group sku: WS-C3750X-12S
May 11 15:40:20.694: VSTACK_GROUP:
smi_get_img_cfg_from_sku: Sku is WS-C3750X-12S
May 11 15:40:20.694: VSTACK_GROUP:
smi_get_img_cfg_from_sku: Sku No 97
May 11 15:40:20.694: VSTACK_GROUP:
!!smi_get_group_info: Failed to get the CFG and IMG
May 11 15:40:20.694: VSTACK_PROTOCOL:
smi_ibd_get_image_config_name_from_chaddr: Did not match any group, the default group is also not configured
May 11 15:40:20.694: %SMI-6-INCORRECT_CFG: No image and config configured for this sku type WS-C3750X-12S
May 11 15:40:20.694: VSTACK_PROTOCOL:
smi_prepare_option67: copied the tailored cfg file
May 11 15:40:20.694: VSTACK_PROTOCOL:
smi_prepare_opt150: create the option 150 ip addr
May 11 15:40:20.694: VSTACK_PROTOCOL:
smi_insert_dhcp_options:image name is , cfg name is
May 11 15:40:20.694: VSTACK_PROTOCOL:
smi_prepare_opt125: create the option 125
May 11 15:40:20.694: VSTACK_PROTOCOL:
!! smi_parse_cfg_img_file_dhcp_opt : server ip address not found
May 11 15:40:20.694: VSTACK_PROTOCOL:
smi_prepare_opt125_subopt5: inserting dummy image file name
May 11 15:40:20.694: VSTACK_PROTOCOL:
smi_prepare_opt125_subopt16: create the sub option 16 dir ip addr
May 11 15:40:20.694: VSTACK_PROTOCOL:
smi_insert_dhcp_options: hostname option not present
May 11 15:40:20.694: VSTACK_PROTOCOL:
smi_insert_dhcp_options: 1st option tftp (150)
May 11 15:40:20.703: VSTACK_PROTOCOL:
smi_insert_dhcp_options: 2nd option tftp (150), 3rd option vendor (125)
May 11 15:40:20.711: VSTACK_PROTOCOL:
smi_insert_dhcp_options: Inside DHCP options
May 11 15:40:20.711: VSTACK_PROTOCOL:
smi_dhcp_shim_interesting_offer:No vstack options inserted, packet
may be flooded,
out_vlan_id is 0
----------------------------------------------------------------------------------
05-11-2015 04:10 PM
May 11 15:40:20.694: %SMI-6-INCORRECT_CFG: No image and config configured for this sku type WS-C3750X-12S
Ok, this message means a whole-lot of sense.
This means the configuration to your VStack is correct. The problem now is the image files and configuration file.
Do you have a imagelist.txt file for the 3750X-12S?
05-12-2015 01:51 AM
4 -rw-rw-rw- 1 nobody nobody 36 May 11 17:18 WS-C3750X-12S-imagelist.txt
[anyvizor@HOST tftpboot]$ cat WS-C3750X-12S-imagelist.txt
c3750e-universalk9-tar.150-2.SE7.tar[anyvizor@HOST tftpboot]$
25112 -rw-rw-rw- 1 anyvizor anyvizor 25681920 Mar 24 09:52 c3750e-universalk9-tar.150-2.SE7.tar
The image file exists, the imagelist exists and other tar files and imagelists for C2960G and C2960S exist and are transferred to the devices without any problem. The only device that does not want to load the image file is the 3750X.
What I try to do is to load only the image, no config should be installed on the devices. It's kind of a initialization factory for new switches.
I have already changed the software on the director to 15.0(2)SE7 (highest available release for the C3560E) without any noticeable effect. For me the messages
May 11 15:40:20.694: VSTACK_PROTOCOL smi_ibd_get_image_config_name_from_chaddr: Did not match any group, the default group is also not configured
May 11 15:40:20.694: %SMI-6-INCORRECT_CFG: No image and config configured for this sku type WS-C3750X-12S
are puzzling. When I do a show cdp neighbor detail I get
Device ID: Switch
Entry address(es):
IP address: 172.18.252.2
Platform: cisco WS-C3750X-12S, Capabilities: Switch IGMP
Interface: GigabitEthernet0/14, Port ID (outgoing port): GigabitEthernet1/0/1
Holdtime : 139 sec
Version :
Cisco IOS Software, C3750E Software (C3750E-UNIVERSALK9-M), Version 12.2(58)SE2, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2011 by Cisco Systems, Inc.
Compiled Thu 21-Jul-11 01:23 by prod_rel_team
advertisement version: 2
Protocol Hello: OUI=0x00000C, Protocol ID=0x0112; payload len=27, value=00000000FFFFFFFF010231FF0000000000003C08F69D4980FF0000
VTP Management Domain: ''
Native VLAN: 1
Duplex: full
Power Available TLV:
Power request id: 0, Power management id: 1, Power available: 0, Power management level: -1
Management address(es):
IP address: 172.18.252.2
The platform in the CDP neighbor command matches my match clause in the vstack group statement. I already did a second group with all lower case characters in the match command, no success either.
Can it be that I hit some kind of a bug? I have not found any in the bug toolkit so far but it really seems to me that I have tried mostly everything possible to get it running.
05-12-2015 03:18 PM
Out of curiosity, what IOS version is the 3750X-12S currently running on?
05-12-2015 09:19 PM
Hi Leo
I have been thinking about that too, it's a C3750E Software (C3750E-UNIVERSALK9-M), Version 12.2(58)SE2. The software should be at least 'a bit' vstack-capable and the only thing it really needs to do is to send the right product-id and to pull the software image from the source that the director is telling it. But with the error messages on the director I doubt that the 3750X is the culprit. Since the director on the 3560 already complains that there is no matching group and no image file can be found.
I can change the image on the 3750X just for testing purposes but I doubt that this will change anything. I will take some time since I am two weeks off now.
Thanks for your ongoing support.
Mat
05-12-2015 09:55 PM
12.2(58)SE2
It's not the IOS. This version is "VStack ready".
Something is "not right" on the VStack director switch.
05-12-2015 10:26 PM
That's my opinion too. I'll probably have to raise a TAC case.
05-12-2015 10:31 PM
Let me now how you go. I'm keen to know where the problem is.
05-12-2015 11:02 PM
Sure will. Thanks again!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide