Cisco Implementing Cisco Data Center Core Technologies (350-601 DCCOR) 350-601 Question # 7 Topic 1 Discussion
350-601 Exam Topic 1 Question 7 Discussion:
Question #: 7
Topic #: 1
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:
Which command set must be used to retrieve the value of the “asn” key?
A.
>>> output = json.loads(cli('show ip eigrp neighbors'))
>>> output['TABLE_asn']['ROW_asn']['asn']
B.
>>> output = json.loads(cli('show ip eigrp neighbors'))
>>> output['asn']
C.
>>> output = json.dumps(cli('show ip eigrp neighbors'))
>>> output['asn']
D.
>>> output = json.dumps(cli('show ip eigrp neighbors'))
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit