A logistics company can retrieve show command output through NX-API, but a request that should add an NTP server never changes the configuration. The request uses the show message type. What should the client send instead?
Select an answer to reveal the explanation.
Short Explanation
Asking for a readout is not the same as handing someone a change order. You send a configuration message type when the payload should add the NTP server, because the show type only returns command output. A first-boot script is not required for NX-API to accept configuration.
Full Explanation
NX-API accepts a message type with the request. The show type, including the JSON cli_show type, runs a display command and returns the output. It does not enter configuration mode, so an NTP server wrapped in a show request never changes the logistics switch even though show commands succeed. The configuration type, cli_conf, is the request that applies CLI configuration. Sending the NTP command that way is the fix, and the feature is already working because show calls succeed. Using a second show type still asks for output rather than a commit, so the server is not added. POAP runs only when a switch boots without startup configuration. NX-API configuration is a normal management session and is not limited to first boot. A SPAN session copies frames to a destination. It is not the transport NX-API uses to commit configuration. Caveat: the client still needs an account that is allowed to configure, or a correct message type fails authorization and the NTP server is still missing. Operational check: resend the change as a configuration request, then confirm the NTP server appears in the running configuration and not only in the API reply text.