We are testing the setup capabilites on IOS-XE (on CAT9200L and 9300L) and it was working great with IOS-XE 16.12.05b (cat9k_lite_iosxe.16.12.05b.SPA.bin) But with 17.03.03 (cat9k_lite_iosxe.17.03.03.SPA.bin) we get following error while booting up:
*May 12 14:29:17.015: AUTOINSTALL: GigabitEthernet0/0 releasing DHCP ip address 172.16.220.6
*May 12 14:29:17.081: %IP-4-CLASS: Bad IP address and mask 0.0.0.0/0 in class_resolve()
And after that, it just loops with:
No startup-config, starting autoinstall/pnp/ztp...
Autoinstall will terminate if any input is detected on console
No startup-config, starting autoinstall/pnp/ztp...
Autoinstall will terminate if any input is detected on console
No startup-config, starting autoinstall/pnp/ztp...
Autoinstall will terminate if any input is detected on console
No startup-config, starting autoinstall/pnp/ztp...
If we cancel the task and see the configuration of the management interface, the ip part is disabled:
Switch#sh run int gig 0/0
Building configuration...
Current configuration : 94 bytes
!
interface GigabitEthernet0/0
vrf forwarding Mgmt-vrf
no ip address
negotiation auto
end
If we then manually set the interface to dhcp, we immediately get an IP address.
Switch#sh run int gig 0/0
Building configuration...
Current configuration : 96 bytes
!
interface GigabitEthernet0/0
vrf forwarding Mgmt-vrf
ip address dhcp
negotiation auto
end
Switch#
*May 12 14:34:50.663: %DHCP-6-ADDRESS_ASSIGN: Interface GigabitEthernet0/0 assigned DHCP address 172.16.220.6, mask 255.255.255.0, hostname
We have the exact same setup, only difference is the Firmware version. So this seems like a bug in the firmware 17.03.03
EDIT: Just tested all the IOS-XE 17 versions (17.03.01/17.03.02a/17.03.03) and they all have the same issue. When going back to 16.12.05b, the issue is gone.
EDIT2: Just tested on the 9300L devices, and they do not suffer this issue. I get an IP address on the Gi0/0 interface with firmware 17.03.03 on a C9300L-24P-4G