Implementing Automation for Cisco Service Provider Solutions (SPAUTO) — Question 36
The Netmiko BaseConnection class contains a method called "send_config_set()". Which two actions does this method perform on the device? (Choose two.)
Answer options
- A. It takes a filename parameter that executes commands contained in that file on the device.
- B. It requires the user to explicitly send configure terminal and exit commands to the device to enter and exit configuration mode.
- C. It automatically enters and exits configuration mode on the device.
- D. It takes a Python iterable, such as a list of commands, and executes them in order on the device.
- E. It saves the running configuration to the startup configuration after executing the configuration commands on the device.
Correct answer: C, D
Explanation
The correct answer is C and D because the 'send_config_set()' method is designed to automate the process of entering and exiting configuration mode while executing a list of commands. Options A and E are incorrect as the method does not take a filename parameter or save the configuration automatically, and option B is wrong because it eliminates the automation feature of the method.