Q: 2
Refer to the exhibit.
What is the correct ncclient method to use to collect the running configuration of a Cisco IOS XE
device that uses NETCONF?
What is the correct ncclient method to use to collect the running configuration of a Cisco IOS XE
device that uses NETCONF?Options
Discussion
D . The
get_config method is specifically for fetching configs like running or startup, not operational state. B (get) is tempting but that's for operational data, config needs D. Easy to get those mixed up if you don't check the API docs.Option D is correct. 'get_config' is exactly what the official guide and most labs say to use for grabbing running config with ncclient and NETCONF. Pretty sure if you check Python API docs, you'll see the same. Anyone seen exam questions flip between this and 'get'?
D. not A. Only
get_config is valid for pulling the running config using ncclient with NETCONF. A is used for copying configs, which doesn't match what they're asking here. Pretty sure about this but open to other takes.Definitely D here. get_config is the ncclient method made for pulling device configs like running or startup. The others don't actually retrieve config data directly. Pretty sure that's right, correct me if I'm off.
D
Ugh, Cisco could make this easier. Probably D-
get_config is the right ncclient method for dumping running config with NETCONF. The others don't match Python client syntax from what I've seen.Is the question asking for retrieving the config only, or also making changes after? Would that change A vs D?
Its B
I don’t think it’s B. D is the one that actually retrieves the running config with ncclient, B is for operational data mostly, easy to mix those up.
A is wrong, D. Only get_config fetches the running config with ncclient, others don't match. Pretty sure that's right here.
Be respectful. No spam.