TIMESTAMPS:
1:16 Begin building routed topology
3:10 Configuring the routed topology
7:15 Configuring the Network Automation Appliance
10:47 Begin Migration from EIGRP to OSPF
11:07 First Ansible Playbook, configuring OSPF
12:30 Second Ansible Playbook, returns routing table
14:27 Third Ansible Playbook, returns OSPF database
15:27 Fourth Ansible Playbook, removes EIGRP process from Routers
Building the Topology:===========================
-Rename the devices by double-clicking on the name
-Change symbol by right-clicking and finding it in the menu
-Duplicate device by right-clicking on device and finding it on the drop-down menu
Initial Config Routing:==========================
R1:=======================
hostname R1
int gi0/0
description TO R2
no sh
ip add 10.0.0.1 255.255.255.252
int gi0/1
description TO R3
no sh
ip add 10.0.0.5 255.255.255.252
int l0
no sh
ip add 10.1.1.1 255.255.255.255
R2:=======================
hostname R2
int gi0/0
description TO R5
no sh
ip add 10.0.0.9 255.255.255.252
int gi0/1
description TO R1
no sh
ip add 10.0.0.2 255.255.255.252
int gi0/2
description TO R8
no sh
ip add 10.0.0.13 255.255.255.252
int l0
no sh
ip add 10.2.2.2 255.255.255.255
R3:=======================
hostname R3
int gi0/0
description TO R6
no sh
ip add 10.0.0.17 255.255.255.252
int gi0/1
description TO R1
no sh
ip add 10.0.0.6 255.255.255.252
int gi0/2
description TO R4
no sh
ip add 10.0.0.21 255.255.255.252
int l0
no sh
ip add 10.3.3.3 255.255.255.255
R4:=======================
hostname R4
int gi0/0
description TO R5
no sh
ip add 10.0.0.25 255.255.255.252
int gi0/1
description TO R3
no sh
ip add 10.0.0.22 255.255.255.252
int l0
no sh
ip add 10.4.4.4 255.255.255.255
R5:=======================
hostname R5
int gi0/0
description TO R4
no sh
ip add 10.0.0.26 255.255.255.252
int gi0/1
description TO R2
no sh
ip add 10.0.0.10 255.255.255.252
int l0
no sh
ip add 10.5.5.5 255.255.255.255
R6:=======================
hostname R6
int gi0/0
description TO R8
no sh
ip add 10.0.0.29 255.255.255.252
int gi0/1
description TO R3
no sh
ip add 10.0.0.18 255.255.255.252
int l0
no sh
ip add 10.6.6.6 255.255.255.255
int gi0/2
description TO NET AUTO
no sh
ip add 192.168.0.1 255.255.255.0
R7:=======================
hostname R7
int gi0/0
description TO R6
no sh
ip add 10.0.0.30 255.255.255.252
int gi0/1
description TO R2
no sh
ip add 10.0.0.14 255.255.255.252
int l0
no sh
ip add 10.7.7.7 255.255.255.255
ALL ROUTERS:================
router ei 1
net 0.0.0.0
usern cisco pas cisco
usern cisco priv 15
lin vty 0 4
tr i a
logi loc
exi
ip domain-n netautomation.com
cry key gen rsa
1024
do wr
do sh ip ei nei
do sh ip ro ei
NA Appliance:===========================
IP Config:===========
nano /etc/network/interfaces
auto eth0
iface eth0 inet static
address 192.168.0.2
netmask 255.255.255.0
gateway 192.168.0.1
TESTS:===============
ping 10.0.0.1
route
ansible.cfg:=========
nano ansible.cfg
[defaults]
inventory = ./myhosts
host_key_checking = false
timeout = 15
deprecation_warnings=False
etc/hosts:===========
nano /etc/hosts
10.1.1.1 R1
10.2.2.2 R2
10.3.3.3 R3
10.4.4.4 R4
10.5.5.5 R5
10.6.6.6 R6
10.7.7.7 R7
myhosts:=============
nano myhosts
[routers]
R1
R2
R3
R4
R5
R6
R7
NA Verification commands:===============
cat myhosts
ping SW1
ansible –hosts-list all
ifconfig
cat ansible.cfg
cat myhosts
cat /etc/hosts
ansible –list-hosts all
CHECK:==================================
do show ip ei int
do show ip ei nei
do sh ip ro ei
This is an Ansible Network Automation Cisco course where we teach network automation in gns3. The big idea is to get something out there on ansible for network engineers and get automating with gns3 network automation ansible. I will demonstrate how to set the gns3 network automation ip address and set up a gns3 network automation lab. Those labs include gns3 network automation docker and gns3 network automation container.
This is a video course for ansible network automation training designed for network engineers that are beginners with automation and programmability. This ansible network automation tutorial will focus bringing up a gns3 network automation lab with the gns3 network automation appliance.
In this training we will have several ansible network automation examples/scripts and give thorough explanation. The Ansible network automation course will primarily feature cisco IOS on the devices and executing ansible playbooks. There are several ansible network automation scripts that can be taken and used in real world automation and troubleshooting scenarios.
This video in particular has numerous Ansible playbook examples for Network Automation.
source