QuestionQ38

Controller-Based Network Automation

A Cisco DNA Center script must retrieve a list of interfaces on a switch. Drag the API calls needed to return the interface list by using the Command Running APIs into the correct order.

Drag & Drop
run 1
run 2
run 3
run 4
Explanation

Command Runner needs the target switch’s device UUID before it can submit a read-only CLI command. The submission is asynchronous: its task ID is queried to obtain the completed result’s file ID, and that file is then retrieved to obtain the interface output.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!