QuestionQ29

VerifiedREST API

While performing an automation test, you must use the curl tool to request text-formatted output from the show interfaces ge-0/0/0 terse command.

Which command would you use in this scenario?

Explanation

For a Junos REST API GET request, an RPC output-format attribute is appended to the RPC method as @format=text. RPC parameters begin after ?, with subsequent parameters separated by &. The get-interface-information RPC uses interface-name=ge-0/0/0, and terse is a valueless option corresponding to the terse interface display.

Learn more

Community Discussion

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