02-08-2012 07:54 PM - edited 03-07-2019 04:49 AM
Hi all,
Facing some issue on Cisco catalyst switch SmartInstall.
A. Below is the log of debug vstack, taken from director switch:
VSTACK_DIR_DB: smi_parse_cdp_cache_entry: Got Neighbor on the port Fa0/24
VSTACK_DIR_DB: smi_parse_cdp_cache_entry: Mac addr after masking Neig mac 2c3f.38d9.9d00, Local Mac 0024.5188.dd00
VSTACK_DIR_DB: smi_parse_cdp_cache_entry:string in parse WS-C2960S-24TS-L
VSTACK_DIR_DB: smi_enqueue_cdp_pkt_q_entry:IBC entry details are ....
VSTACK_DIR_DB: mac_add: 2c3f.38d9.9d00, ip_add: 0.0.0.0,
host_name : Switch, platform : WS-C2960S-24TS-L , port_mac : 0024.5188.dd00
VSTACK_DIR_DB: Ports : local FastEthernet0/24, out port GigabitEthernet1/0/24
VSTACK_DIR_DB: smi_cdp_update_process:In process calling Handler for MSG typ 2
VSTACK_DIR_DB: smi_handle_cdp_event: UPDATE NEIGH EVENT
VSTACK_DOWNLOAD: smi_client_entry_exists : client info against which we need to match : IP:0.0.0.0, MAC:2c3f.38d9.9d00
director_switch#sh vstack status
Director Database:
DevNo MAC Address Product-ID IP_addr Hostname Status
===== ============== ================= =============== ========== =========
0 0024.5188.dd00 WS-C3560-24PS 10.10.1.1 director_s Director
1 2c3f.38d9.9d00 WS-C2960S-24TS-L 0.0.0.0 Switch PND
B. Snipet of director switch config as below
vstack group custom C2960s-24TS-L product-id
image tftp://10.10.1.2/24TS/c2960s-universalk9-tar.122-55.SE3.tar
config tftp://10.10.1.2/24TS/C2960S24TS_config.txt
match WS-C2960S-24TS-L
!
vstack dhcp-localserver pool1
address-pool 10.10.1.0 255.255.255.0
file-server 10.10.1.2
default-router 10.10.1.1
!
vstack director 10.10.1.1
vstack basic
Question
1. What happen to director switch DHCP, why there's no IP DHCP assign to the VStack client?
2. What need to prefix on the client config file (C2960S24TS_config.txt), example should i put no shut on int vlan 1? anything need to mention?
thanks
Noel
02-08-2012 10:07 PM
Yes you need no shut on vlan 1, by default is down
Eugen
02-08-2012 10:18 PM
Hi eugen,
I no shut on int vlan 1, but still no go.
Any more item i need to look into the client config template? Thanks in advance
Noel
02-08-2012 10:23 PM
02-08-2012 10:26 PM
match WS-C2960S-24TS-L
One more thing, you DO NOT need this.
What is the IOS is the director running?
02-09-2012 02:06 AM
Hi leolaohoo,
Thanks for reply and ur zero-touch doc is great !!!!!
Somehow i manage to solve the client switch issue, where director switch able to provision the config file, image file and imagelist.txt to the client switch. Eveyrthing happen like written at your doc.
OK, how i overcome previous issue. I issue 3 command on the config template: no shut on int vlan 1 and ip address dhcp, vstack director IP.IP.IP.IP (point to the director). Then it just work !!
Well, some question need more clarification
1. I found the client switch finish loading, it will auto reboot.After reboot I cannot see any changes on the client switch startup and running config. The difference after reboot found on the config file were the there's selfsign certificate, and
vstack director IP.IP.IP.IP, no change on hostname and etc.
2. anything need to mention or pre-config on the configuration file that load from director to client switch?
Thanks
02-09-2012 02:20 AM
My "config" file contains the "template" of the common configs that will be found in my switch. An example of the "template" configurations will be my MACROS, my username/password, timezone configs, snmp server and community.
02-10-2012 08:13 PM
Hi leolaohoo,
Thanks for the reply. Any template can let me reference with? still stuck with the client switch cannot get its update (example: no new hostname assign it to the client switch)
thanks
Noel
02-11-2012 12:47 AM
Hi Noel,
I'm not at the office right now. I'll check the files I have on Monday. You're after the configuration template, is that correct?
02-11-2012 03:01 AM
yup,
Just take it as a reference material.
Have a nice weekend sir, chill
Noel
02-11-2012 03:12 AM
Oh, if that is the case, it's just the most-common configuration lines you'll need. For example:
1. TACACS/RADIUS;
2. MOTD;
3. Timezones;
4. MLS QoS;
5. Switchport Macros (hidden command);
6. SNMP community;
7. SNMP traps;
8. Remote and Local login details;
9. Syslog details.
So what happens is when the new switch downloads the configuration 'template" (which contains the items listed above), and downloads the IOS of my choice, all one has to do is enter the "unique" details:
1. Management IP Address;
2. SNMP details;
3. Banners;
4. Port assignments based on Switchport Macros
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