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?
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?
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.
Correct answer is: D
yup it's D
D. @format=text is the key.