All topics ›
Cisco / Network Engineer ›
Network Automation
Network Automation · Cisco / Network Engineer Show me a basic Ansible playbook to push a config to 10 Cisco switches.
---\n- name: Push VLAN config to switches\n hosts: cisco_switches\n gather_facts: no\n connection: network_cli\n tasks:\n - name: Configure VLAN 100\n cisco.ios.ios_config:\n lines:\n - vlan 100\n - name DATA_VLAN\n match: line\n replace: line\n register: result\n - name: Save config\n cisco.ios.ios_config:\n save_when: modified\n— Inventory file lists hosts under [cisco_switches]. Run with: ansible-playbook playbook.yml -i inventory.ini -u admin --ask-pass.
Want the full explanation? This is the atomic answer suitable for
quick interview prep. For the structured deep-dive — including code samples,
strong-answer vs weak-answer notes, common follow-up questions, and how this fits
the larger cisco / network engineer topic — see the full Q&A on Networkers Home:
→ Cisco / Network Engineer Interview Hub — Full Q&A with deep context
→ Cisco / Network Engineer Interview Hub — Full Q&A with deep context
How Networkers Home prepares students for this kind of question
This question reflects real interview rounds at Bangalore's top enterprise networking and infrastructure teams. Networkers Home's flagship courses include mock interview sessions drilling exactly these question patterns, with feedback from interviewers who have hired for the role.
→ View the complete cisco / network engineer interview prep hub
→ View the related Networkers Home course
→ Book a free career consultation
Related Network Automation questions
Network Automation
Q. What is Netmiko and how does it differ from Paramiko?
Paramiko — generic Python SSH library, low-level. You handle connect, authenticate, send commands, parse output yourself. Netmiko — built on top of Paramiko, network-device-specific. Knows Cisco IOS / Junos / Arista EOS …
Read full answer →