An engineer must bring 40 unclaimed access switches in one 10.10.40.0/24 subnet into Catalyst Center using CLI credentials, then confirm every switch appears in the inventory. The script today only queries devices. Which sequence of Catalyst Center API calls should the script make to discover the subnet and verify the devices?
Select an answer to reveal the explanation.
Short Explanation
You’ll create a subnet discovery for 10.10.40.0/24 with your CLI credentials, then poll it until it’s complete. Discovery is like sweeping the whole block for devices; once it’s done, query inventory to confirm all 40 switches are there.
Full Explanation
The required sequence is to create a discovery job for the specified 10.10.40.0/24 subnet using CLI credentials, poll that job until it completes, and then query inventory to verify that all 40 expected switches are present. Discovery initiates contact with the unclaimed devices; polling establishes that the asynchronous job has finished before verification; the inventory query confirms the outcome the question requires. Querying discovery results for responding switches can show which addresses answered during discovery, but it does not establish that every switch was added to Catalyst Center inventory. Using SNMP credentials is a valid discovery pattern in environments configured for SNMP, but it does not meet this scenario’s explicit CLI-credential requirement. Querying inventory only for the discovered switches does not verify that inventory contains all 40 expected devices; a partial result could therefore appear successful. Exam caveat: discovery completion means the job ended, not necessarily that every target was successfully discovered or onboarded. Practical check: compare inventory entries against the expected set of 40 switch management IP addresses, and investigate any missing or duplicate entries.