Ansible Playbook to automate "configure replace" command
Budget: $10 – $30 USD
Hi,
I have a Cisco network consist of switch and two routers, i reach out this network using SSH. I have not used protocol such as (RIP, OSPF or NETCONF). But I want to get a recording of a complete configuration, or resetting a configuration (changed on the device) to a certain known ground state for a Cisco router.
For example, I want to change the routing from RIP to OSPF:
Cisco 'copy' commands are usually additive, meaning that commands are only added to the configuration, but none are deleted. In the IOS there is the 'configure replace' command.
Do you know how I can write an ansible playbook that achieves this?
Thanks in advance.
I have a Cisco network consist of switch and two routers, i reach out this network using SSH. I have not used protocol such as (RIP, OSPF or NETCONF). But I want to get a recording of a complete configuration, or resetting a configuration (changed on the device) to a certain known ground state for a Cisco router.
For example, I want to change the routing from RIP to OSPF:
Cisco 'copy' commands are usually additive, meaning that commands are only added to the configuration, but none are deleted. In the IOS there is the 'configure replace' command.
Do you know how I can write an ansible playbook that achieves this?
Thanks in advance.