Cisco 350-601 Practice Test - Questions Answers, Page 50
Related questions
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']
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']
D.
>>> output = json.loads(clid('show ip eigrp neighbors')) >>> output['asn']
Question