QuestionQ36

VerifiedNetwork Element Programmability

Refer to the exhibit.

Question Image

The exhibit displays a Cisco NX-OS switch configuration, an Ansible playbook, and the output from running the playbook. The playbook failed with the error msg' 'Request failed <urlopen error [Errno 61] Connection refused>', 'status' -1, "url" "http://192.168.251.129:80/ins".

Which Cisco NX-OS configuration command resolves this failure?

Explanation

The Ansible NX-OS provider accesses the switch through the NX-API HTTP endpoint at /ins. The management-interface ACL already allows TCP port 80, but NX-API itself must be enabled for the switch to listen and serve that endpoint. The feature nxapi command enables NX-API.

Learn more

Community Discussion

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