Question 31 of 32 from exam 300-635-DCAUTO: Automating and Programming Cisco Data Center Solutions

Question 31 of 32 from exam 300-635-DCAUTO: Automating and Programming Cisco Data Center Solutions

Question

Refer to the exhibit.

‘command: show running-config

feature hsrp

Switch configuration Ansible playbook

- name: Vlan Provisioning
hosts: nxos
gather_facts: no

ip access-list allow http traffic

10 permit tep any any eq ww vars:
1 nxos_provider:
vrf context management username: "{{ un }}"
ip route 0.0.0.0/0 192.168.151.2 Password: "{{ pwd })"

interface mgmto

transport: nxapi
"({ inventory_hostname }}"

hos'

ip address 192.168.251.129 255.255.255.0

vrf member management tasks

= name: CREATE VLANS AND ASSIGN A NAME, USING VLAN_ID
nxos_vlan:
vian_id: "({ item.vlan_id })"
name: "{{ item.name }}"
provider: "{{ nxos provider })"

name: Native
- vian_id: 15

name: Web
- vlan_id: 20
name: App
- vlan_id: 30
name: DB
Playbook output

§ ansible-playbook playbook. ym)

PLAY [Vlan Provisioning] ssxasssseneanaeeseeeeeaaeeeeeeeeenaeeeeeeseseeeeeeeeeaaeseenneeseenee

‘TASK [CREATE VLANS AND ASSIGN A NAME, USING VLAD ID]+sssssssesssssesssessssesasssseeassseons
ble_facts": (‘discovered
false, ‘item’: ‘name’
Connection ‘refused>!

failed: [192.168.252.129] (item=('vlan_id': 2, ‘name’: ‘Native'}) => ("an

terpreter_python": "/usr/bin/python"}, “ansible loop_var": "item", ‘changed’

vlan_id": 2}, "msg": “Request failed: <urlopen error [Errno 6
* ‘nttp: //192.168.251.129:80/ ins")

“status

The exhibit shows a Cisco NX-OS switch configuration, an Ansible playbook, and the output of running this playbook.

The playbook failed due to 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?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

A.