QuestionQ93

VerifiedCisco Platforms and Development

Refer to the exhibits.

Question Image

Question Image

The Python interpreter and Cisco Python SDK are available by default in Cisco NX-OS Software. The SDK documentation demonstrates how the clid() API may be used with JSON and XML. Which two effects result from running the script?

Choose two
Explanation

The cli() command enters configuration mode for interface loopback 5 and applies no shut, which enables the interface. The JSON returned by clid('show interface brief') is iterated interface by interface, and the script prints a name only when that entry’s state value is up.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!