300-435 · Question #30
Which two Netmiko methods are used to configure a device? (Choose two.)
The correct answer is C. send_config_set() D. send_command(). The Netmiko methods send_config_set() and send_config_from_file() are specifically designed for applying configuration commands to network devices.
Question
Options
- Asend_config()
- Bsend_control_from_file()
- Csend_config_set()
- Dsend_command()
- Esend_config_from_file()
How the community answered
(51 responses)- B2% (1)
- C94% (48)
- E4% (2)
Why each option
The Netmiko methods `send_config_set()` and `send_config_from_file()` are specifically designed for applying configuration commands to network devices.
`send_config()` is not a standard Netmiko method for device configuration.
`send_control_from_file()` is not a standard Netmiko method.
`send_config_set()` is a Netmiko method used to send a list of configuration commands to a network device, making it ideal for applying multiple configuration changes programmatically.
Concept tested: Netmiko configuration methods
Source: https://pynet.twb-tech.com/blog/automation/netmiko-what-is-it.html
Topics
Community Discussion
No community discussion yet for this question.