Have recently started to test the PnPapplication with some switches. Option 43 is configured and my switches get listed in the unplanned device section. However, when trying to provision them with some uploaded configuration, the status gets to ´Device_conf´ state but ends up in an ´Error´ as in the picture below.
The strange thing is, the configuration file gets fully uploaded on the devices but once the error appears, no further actions are possible (usage of the device in a project,...etc).
verify if device has connectivity to APIC-EM after the config push?
DHCP runs and assigns an IP address to the interface VLAN1. (interface vlan 1 is an SVI, if you are familiar with that term).
This IP address will be used to communicate to the APIC-EM as VLAN1 is the only interface that will have an IP address and is the management IP address.
If you wish to use a different VLAN for management, then you need to tell the switch to boot up and run DHCP on a vlan interface other than vlan 1.
You use the "pnp startup-vlan xx" command on the upstream device. When the pnp switch boots up, it will use CDP to discover the upstream neighbour and be told to use vlan "xx" for management ("xx" is the vlan number eg. 22). The switch will first create the SVI "interface VLAN xx", and use DHCP to get an IP address. it will then use that IP address for communication. All active ports on the switch will also be in vlan "xx".
the simplest way is to see if you can ping the controller when the device has an issue.
apart from that there are the following debugs:
pap-switch: debug pnp all
upstream switch: show cdp tlv app
if pnp-startup vlan is doing the right thing, you should see the following:
- interface vlan xx created
- and active ports will have the following configuration
switchport access vlan XX
macro description CISCO_SMI_EVENT