cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
383
Views
0
Helpful
2
Replies

AutoInstall - Issue with IOS-XE on IR platform (17.03)

YoannWolf
Level 1
Level 1

Good Afternoon,

I'm currently preparing a massive deployment of cisco IR router and I'm trying optimizing the wholde build process.
I'd like implementing autoinstall (autoconfig and autoupgrade) with the router but seems not working as expected.

Autoconfig is working pretty well and is correctly documented unlike Autoupgrade feature, which is in my option, another story..

Here is the debug collected from trace : the image txt file is correctly retrieved in flash but then nothing happens (no downloading of bin or tar (used both bin or tar extension, as I've seen that tar was mandatory): 

09/15/23 12:39:28.714 UTC 1 499] autoinstall: start-up config empty
[09/15/23 12:39:28.714 UTC 2 499] autoinstall: autoinstall starting
[09/15/23 12:39:28.714 UTC 3 499] No startup-config, starting autoinstall...
[09/15/23 12:39:28.716 UTC 4 499] autoinstall: SHIM enable v6 unicast routing 1
[09/15/23 12:39:28.716 UTC 5 499] autoinstall: turn ON v6 global unicast routing
[09/15/23 12:39:28.764 UTC 6 638] IPv6 autoinstall proc: started
[09/15/23 12:39:44.715 UTC 7 499] GigabitEthernet0/0/0 - Interface_up: False, Is_lan: True, Ip_enabled: True
[09/15/23 12:39:44.715 UTC 8 499] Cellular0/1/0 - Interface_up: False, Is_lan: False, Ip_enabled: True
[09/15/23 12:39:44.715 UTC 9 499] Cellular0/1/1 - Interface_up: False, Is_lan: False, Ip_enabled: True
[09/15/23 12:39:56.775 UTC A 638] autoinstall: Start stateful DHCP for Gi0/0/0, cnt=4
[09/15/23 12:39:58.775 UTC B 638] Autoinstall trying DHCPv6 on GigabitEthernet0/0/0
[09/15/23 12:39:59.715 UTC C 499] Autoinstall trying DHCPv4 on GigabitEthernet0/0/0
[09/15/23 12:40:04.697 UTC D 416] DHCP ip assigned flag = 1
[09/15/23 12:40:14.714 UTC E 499] autoinstall: Enable ipv6 for Gi0/0/0, cnt=7
[09/15/23 12:40:14.714 UTC F 499] autoinstall: IPv6 NO address acquired so far 7
[09/15/23 12:40:14.714 UTC 10 499] GigabitEthernet0/0/0 - Interface_up: True, Is_lan: True, Ip_enabled: True
[09/15/23 12:40:14.714 UTC 11 499] Received following DHCP options:
[09/15/23 12:40:14.714 UTC 12 499] bootfile : iti1-confg
[09/15/23 12:40:14.714 UTC 13 499] imagefile : autoimage.txt
[09/15/23 12:40:14.714 UTC 14 499] tftp-server-ip : 192.168.4.205
[09/15/23 12:40:14.715 UTC 15 499] Autoinstall: resolved ipv4 for Gi0/0/0 is 192.168.123.1
[09/15/23 12:40:14.722 UTC 16 499] autoinstall: ip address dhcp configured on GigabitEthernet0/0/0
[09/15/23 12:40:16.158 UTC 17 499] Configured ip add dhcp client cisco-ecc0.1808.5f00-Gi0/0/0
[09/15/23 12:40:16.158 UTC 18 499] mgmt_dhcp_enable:Enter
[09/15/23 12:40:16.158 UTC 19 499] mgmt_dhcp_enable:no vbond support
[09/15/23 12:40:26.159 UTC 1A 499] AUTOINSTALL: ip_enabled set to FALSE for Cellular0/1/0
[09/15/23 12:40:26.159 UTC 1B 499] AUTOINSTALL: ip_enabled set to FALSE for Cellular0/1/1
[09/15/23 12:40:26.159 UTC 1C 499] pnp etherchan cleanup skipped on this platform
[09/15/23 12:40:26.159 UTC 1D 499] autoinstall: release other DHCP lease done
[09/15/23 12:40:27.362 UTC 1E 499] autoinstall:boot file retrieved from DHCPC iti1-confg

[09/15/23 12:40:31.407 UTC 1F 499] Script status is 10
[09/15/23 12:40:31.407 UTC 20 499] AUTOINSTALL: Script type not matched for Gi0/0/0
[09/15/23 12:40:31.428 UTC 21 499] AUTOINSTALL: Trying file tftp://192.168.4.205/iti1-confg
[09/15/23 12:40:39.527 UTC 22 499] AUTOINSTALL: file tftp://192.168.4.205/iti1-confg succeeded
[09/15/23 12:40:40.526 UTC 23 499] AUTOINSTALL: script execution successful for Gi0/0/0. Calling set up abort.
[09/15/23 12:40:40.533 UTC 24 499] Copy file outside of autoinstall process
[09/15/23 12:40:40.775 UTC 25 638] IPv6 autoinstall proc: v6 autoinstall terminate2 5 no
[09/15/23 12:40:40.775 UTC 26 638] autoinstall: v6 cleanup
[09/15/23 12:40:40.775 UTC 27 638] autoinstall:IPv6 config cleanup for Gi0/0/0
[09/15/23 12:40:40.775 UTC 28 638] IPv6 RA other-config-flag notify for Gi0/0/0 flg 0
[09/15/23 12:40:40.776 UTC 29 638] IPv6 RA other-config-flag notify for Gi0/0/0 flg 0
[09/15/23 12:40:40.782 UTC 2A 638] autoinstall: SHIM disable v6 unicast routing 0
[09/15/23 12:40:40.784 UTC 2B 638] autoinstall: turn OFF v6 global unicast routing
[09/15/23 12:40:40.784 UTC 2C 638] autoinstall v6: ipv6 clean up done
[09/15/23 12:40:40.786 UTC 2D 3] IPv6 RA other-config-flag notify for Nu0 flg 0
[09/15/23 12:40:45.592 UTC 2E 499] autoinstall: process kill 5
[09/15/23 12:40:45.592 UTC 2F 499] autoinstall: v6 cleanup
[09/15/23 12:40:45.592 UTC 30 499] autoinstall v6: ipv6 clean up done
[09/15/23 12:40:46.533 UTC 31 540] autoinstall: IPv6 module check no
[09/15/23 12:40:47.831 UTC 32 416] DHCP ip assigned flag = 1
[09/15/23 13:03:34.976 UTC 33 392] autoinstall: IPv6 module check yes
51 entries printed

 

Any clue appreciated

 

Kind regards

Yoann

2 Replies 2

balaji.bandi
Hall of Fame
Hall of Fame

what version of code running and what code you trying to upgrade ?

The logs show auto install  - Do you see any more Logs

what happens when you login to device is the files available ? (do you have enough space in the device ?)

some reference how the IOS autoupgrade works :

https://www.cisco.com/c/en/us/td/docs/ios/12_4t/cfg_fund/configuration/guide/osin_aum.html

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

No other logs and your link is not applicable to my current platform...

Here is the current software :

prep-router#sh vers
Cisco IOS XE Software, Version 17.03.06
Cisco IOS Software [Amsterdam], ISR Software (ARMV8EL_LINUX_IOSD-UNIVERSALK9_IOT-M), Version 17.3.6, RELEASE SOFTWARE (fc2)

here is the process that I'm currently trying to setup;

https://www.cisco.com/assets/sol/sb/Switches_Emulators_v2_3_5_xx/help/250/index.html#page/tesla_250_olh/auto_update.html

As per my understanding, filename included in dhcp option 125 should (and is) retrieved but then, the image should be downloaded and it's exactly where I don't see anything.

Kind regards,

Yoann Wolf

 

Review Cisco Networking for a $25 gift card