Exam 200-901 Question id=6227 Cisco Platforms and Development

Refer to the exhibits.

q91

>>> from cli import * >>> import json >>> >>> cli('configure terminal ; interface loopback 5 ; no shut') '' >>> intflist=json.loads(clid('show interface brief')) >>> i=0 >>> while i < len (intflist['TABLE_interface']['ROW_interface']): ... intf=intflist['TABLE_interface'][ROW_interface][i] ... i=i+1 ... if intf['state'] == 'up': print intf['interface']

The Python interpreter and the Cisco Python SDK are available by default in the Cisco NX-OS Software. The SDK documentation shows how the clid() API can be used when working with JSON and XML. What are two effects of running the script? (Choose two.)

A. configure interface loopback 5
B. show details for the TABLE interface
C. issue shutdown on interface loopback 5
D. show only the interfaces in the up status
E. show only the interfaces in admin shut status

WARNING

the answers are mixed, do not specify in the comment number or the letter of the answer
please write answer#A instead A, answer#B instead B...
Subject:

only logged users can write comments