Which module would you use to send configuration commands to Cisco devices?

Prepare for the Cisco Certified DevNet Associate Exam. Use flashcards and multiple choice questions to boost your knowledge, with hints and explanations to guide you. Ace your exam effectively!

The ios_config module is specifically designed to send configuration commands to Cisco devices running IOS (Internetwork Operating System). This module allows users to manage the device configuration in a declarative way, which means you can specify the desired configuration state, and the module will handle the steps required to achieve that state on the device.

One of its key features is that it can handle both the addition and removal of configuration lines based on the parameters specified, making it very efficient for managing changes. It supports pushing configuration changes dynamically and can be used in automation scripts to consistently manage network configurations across multiple devices.

The other modules mentioned have their purposes: the ios_command module is more suited for executing one-off commands rather than managing configuration states. The nxos_command module is tailored for Cisco NX-OS devices, not IOS devices, while ansible_config is not a standard module within the Ansible ecosystem. Thus, ios_config is the most appropriate choice for configuring Cisco IOS devices.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy