So we've been able to automate a single device.
Now let's extend the genius three topology and add multiple switches to the topology and automate multiple
switches at the same time, in the same way as I've done with previous labs.
I'm going to start off with a simple script and then iterate it and make it more complex as we go through
the various labs.
So let's add five switches to the topology.
I'll make this switch to this can be switched three.
Switch four, switch five and switch six.
Now, if you don't want to watch me build this topology, skip ahead to the next video where I create
the Python scripts.
In this initial video, I'm going to be building the three topology.
So if you don't want to watch me do that, then jump ahead.
Let's assume in this network that we're using an out-of-band.
Management Network.
It's a good idea to use an OUT-OF-BAND management network when using network automation.
The problem using an inbound management network is that you can have issues where.
Spanning tree and other protocols can block links and thus stop your scripts communicating with your
network devices.
So in this topology, these links to switch one.
All part of the management network.
And the other links between the network devices.
Or our data network.
Assume, for example, in this topology that switch two and switch three are cause switches.
And that switch for five and six hour access switches.
In the June three topology.
And that the links to switch one are the management links or the links in the management network.
Now you can make this topology look pretty.
I'm not too concerned about doing that.
I'm more concerned about making sure that we can automate the network.
So there's our new Gen three topology.
We have five new switches, which I'll start up.
We've got our original switch, switch one and our rather rata one.
So what we're going to do is use the network automation container to automate these network devices.
Again.
If you don't want to watch me build the network, skip ahead.
You can also download the attached Genius three topology, which will make it a lot easier for you to
follow along now to speed things up.
I'm going to copy the configuration from switch one.
So on switch one.
I want to copy this information.
We want to configure a username and password.
I also want to configure an IP address on the switch.
And I want to configure the V lines.
So switch to in our topology, I'm going to make 1921681 2282.
So the hostname for our first additional switch will be switched to because our first switch has the
name switch one.
So copy that.
Open up a console to the switch.
So here's the switch.
I'll paste that configuration in.
What I should have done is no shunt of VLAN one.
So no shut here.
So.
Back in the console of switch to aisle no shot of VLAN one.
So show IP interface brief.
Interfaces up.
On the network automation container can we ping 1921681 2282?
Yes, we can.
Can we tell that to 1921681 2282?
Yes, we can.
And we can log in.
So switch to is configured.
So what I'll do is open up consoles to the other switches.
And let's configure switch three.
So here's switch three.
Enable confetti.
Here's our configuration.
Hostname is going to be host three.
IP address is going to be 1921681 2283.
So paste of that configuration in and save the configuration.
Owner.
The network automation container.
Can we ping 83?
Yes, we can.
Can we tell it to 83?
Yes, we can.
So we can get to switch three.
Switch four will be configured with IP address 84.
Copy the configuration.
Paste that into switch for and save the configuration.
On the network automation container.
Can we ping switch forward?
Yes, we can.
Can we tell it to switch four rather?
So 84?
Yes, we can.
So we can also access switch for switch five.
Well, ed the config as follows.
It will have an IP address of 85.
So on switch five paced the configuration in.
Under the network automation container.
Can we telnet to switch five?
Yes, we can.
So switch five is working.
Switch six.
Oh.
Pasted the configuration in.
Can we telnet to switch six?
Yes, we can.
So.
I made a mistake.
So on the side.
Let's clear a line to.
The line has been disconnected.
But again, we can ping 1921681 2272.
That's switch 182, switch 283, switch 384.
Switch for 85 is switch five.
86 is switch six.
Okay.
So we've built the network.
We've proven that we have IP connectivity from the network automation container to the switches in the
network.
And now let's automate the network.