ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 491 - 350-601 discussion

Report
Export

Refer to the exhibit.

Refer to the exhibit. An engineer uses Python in Cisco NX-OS guest shell to retrieve the configuration of the EIGRP ASN on interface eth1/1.

The engineer has written this script:

>>> import json

>>> from cli import*

Which command set must be used to retrieve the value of the 'asn' key?

A.

>>> output = json.loads(clid('show ip eigrp neighbors')) >>> output['TABLE_asn']['ROW_asn']['asn']

Answers
A.

>>> output = json.loads(clid('show ip eigrp neighbors')) >>> output['TABLE_asn']['ROW_asn']['asn']

B.

>>> output = json.dumps(clid('show ip eigrp neighbors')) >>> output['TABLE_asn']['ROW_asn']['asn']

Answers
B.

>>> output = json.dumps(clid('show ip eigrp neighbors')) >>> output['TABLE_asn']['ROW_asn']['asn']

C.

>>> output = json.dumps(clid('show ip eigrp neighbors')) >>> output['asn']

Answers
C.

>>> output = json.dumps(clid('show ip eigrp neighbors')) >>> output['asn']

D.

>>> output = json.loads(clid('show ip eigrp neighbors')) >>> output['asn']

Answers
D.

>>> output = json.loads(clid('show ip eigrp neighbors')) >>> output['asn']

Suggested answer: D
asked 10/10/2024
Ackim Sanuka
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first