JN0-221 Exam QuestionsBrowse all questions from this exam

JN0-221 Exam - Question 44


While conducting an automation test, you must issue a command using the curl tool to request the text formatted output from the show interfaces ge-

0/0/0 terse command.

In this scenario, which command would you use?

Show Answer
Correct Answer: D

To issue a curl command requesting the text formatted output from the show interfaces ge-0/0/0 terse command, you need to ensure that the format is specified as text and the interface name along with the terse parameter are correctly included in the URL. The correct command syntax would be: curl -u "lab:lab123" "http://10.210.10.155:3000/rpc/get-interface-information@format=text?interface-name=ge-0/0/0&terse=". This format includes all necessary parameters correctly.

Discussion

3 comments
Sign in to comment
lucabobanOption: D
Feb 18, 2021

Correct answer is: D

mkizwanOption: D
Nov 26, 2021

yup it's D

penguin02007Option: D
Nov 17, 2023

D. @format=text is the key.