05-18-2021 08:30 PM
Attempting an initial go at some basic LAN Automation tasks utilising pnp on a C3560CX to do a day 0 build. Having issues with the switch not getting an default gateway via dhcp when using the 'pnp startup-vlan' on the upstream switch (C3850) the 3560 is being connected to.
Utilising DHCP option 43 and having the 3560 dhcp off vlan 1 (no pnp startup-vlan configured) sees a successful HELLO being sent to DNAC and the device being ready to claim in the Web UI. The upstream port is configured as a switchport in a VLAN (not 1) with a DHCP Scope configured. Breaking the PNP Boot process by logging into the switch confirms that a default gateway is operating (via 'sh ip default-gateway')
Changing the upstream port to a trunk and configuring pnp startup-vlan on the upstream switch sees the 3560 boot and create the pnp startup vlan successfully. The SVI then proceeds to receive a DHCP Address but fails to contact DNAC. Breaking the PNP process by logging in locally shows no default gateway address configured (again via 'sh ip default-gateway'). The pnp startup-vlan is the same access vlan used in the previous step with successful DHCP so I have a working DHCP Config.
This an issue seen by anyone else. Still trying to isolate exactly the conditions via some other testing but any pointers would be awesome.