Now rather than configuring switch to manually I've created a script that accomplishes the same thing
so top enable confetti change the host name to switch to shut down any unused interfaces so gigabit
one slash one to three gigabit to slash zero to three gigabit three slash There are two or three will
change the mode to transparent and then configure the lands on the switch.
So simply copy that config go to the console of switch to so Iowas the hell to high hyphen to the switch
and then I'll paste that config in interfaces have gone down.
So as you can see the hostname of the switch changed.
Previously it was called switch.
But now its switch to show villaine brief.
Shows me villaine 10 and 20 show VTB status shows me that the switch is configured in transparent mode.
Show IP interface brief shows me that all unused interfaces have been shut down show run will allow
me to see the full config of the switch.
So as an example here you can see the villans that were configured.
You can see that ports have been shut down.
Now what I didn't do on the previous switch is save the config.
So let's save the config on both the switches before we go any further.
So on switch one I've saved the config and on switch to off saved it you can see that the configuration
was compressed and has been saved successfully.
So shows thought up
config shows me the configuration that we saved as you can see here shows startup and we using so many
bytes out of so many bytes last configuration change was made on the 5th of July.
Now for switch 3 What do we need to configure here.
While means to change the switch name we need to shut down any unused interfaces
on the switch.
We are only using interfaces gigabit 0 0 0 1 and 0 2 so gigabit 0 3 is not being used so that interface
can be shut down and then any other interfaces on the switch can be shut.
Not so good idea.
Just to confirm the interfaces on the switch.
So show IP interface brief shows me the various interfaces.
So the only interface that we need are 0 0 0 1 and 0 2.
Those three interfaces all of interfaces on the switch can be shut down and that's all we are going
to do through this config.
I'm also going to enable the switches a transparent switch and configure villains 10 and 20.
So let's paste that config in top and and then I'll save the config.
Now if see cna you would be expected to know the full command copy running config startup config and
then Precentor to save the configuration to the startup config.
But for the real world w r is the old command that saves a lot of time and it doesn't prompt me to specify
where you want to save the file.
It simply saves that to the start of config.
So that's a lot quicker and hence we're using that here.
So we've configured switch 3 lets configure switch for switch over here so this will be exactly the
same as switch 3.
Same interfaces.
Gigabit 0 0 0 1 and 0 2 will be used.
All of the interfaces will be shut down and we will configure villain 10 and 20 on to that switch.
Now you might say that you don't actually need a villain 10 on the switch because we only have hosts
in the land 20 connected to the switch and that would be correct.
But I'm going to keep the villans consistent on all my switches because we may want to add a host in
violent 10 to the switch and a host in veel and 20 to the switch.
So copy the config go to the console of switch for so notice form and then paste it in
control or control Zayd save the config.
So we've configured the links on the switches configured the names of the switches we now need to configure
the routers so on Rotto one and I'll just do this manually because it will be quick.
Rather one is just booted and we've got the initial system configuration dialog asking us whether we
want to enter that.
I'm going to say no I'm going to manually configure the router so I don't want to go through the initial
configuration dialog.
In this example I press Return to continue.
You can see various interfaces are coming up so top enable confetti interface if zero slushes zero.
Now before I configure interfaces I notice when I type do show IP interface brief on the router router
interfaces are administratively down by default unlike switching to faces.
So I don't need to disable interfaces what I need to do is enable the interface before I enable the
interface all configured the IP address of the router so configured is 10.0 1 to 10 11 with a subnet
mask of slushed 24 and then all know shut the interface of the router.
I also need to configure the name.
So I'm just going to configure that as router 1 and then save for the config.
So all I've done is no shut the interface and configure an IP address on Phos.
Ethan it is 0 0 on Route 1 on router 2 will do something similar.
So we'll bypass the initial configuration dialog press and to continue
top enable top confetti.
Change the name of this router to router to go to the first Ethan needed to face no shut it and give
it an IP address of 10 1 to 20 to 12 and slide 24 mosque show IP interface brief that IP address is
configured and the interface up up save the Conficker.
The last device to configure initially is router 3.
Here it is.
It's already being configured with the hostname C interface.
Brief
interfaces are all shut down on.
Ethan It's 0 0.
I'm going to know.
Shut it.
And in this case I'll give it an IP address of 10.
One dot one hundred twenty five three will use to 5:4 for HS sapi later.
So I'll configure an IP address on the face of 10 1 to 100 to 5 3.
So that's an IP address of router 3 on Fosset.
Ethan at 0.
Interfaces up going to the fast.
Ethan it is 0 1 interface and face is currently down and hasn't got an IP address assigned to it.
So rather than configuring the IP address manually I'm going to type IP address DHP so that it gets
an IP address from my local physical network.
And went on no shut the interface what we should see in a moment is that it gets an IP address through
DHV.
At the moment we're still waiting for an address to be assigned.
But there you go.
This address 1 2 1 6 8 1 128 has been assigned via DHP to Route 3.
So show IP interface brief.
Once again notice IP address is configured on the scene to face that was allocated via my local DHP
server which is actually my DSL router here at home.
I'll save the config so we have an IP address configured on.
Ethan It's 0 0 and we have an IP address configured on Fosset.
Ethan it is 0 1.
What I haven't done is configure IP addresses on the switches so let's do that.