Now we're told that one of the first things we need to do is configure host names
but notice the problem in the topology when I click on a switch and go to CLI
we're told that the device needs to be powered on. So one of the first things we need to do is add a
power supply module to the switch. In this example
I'll add two because this is a core switch and as you can see there the switch is now booting up and
we see a system configuration dialog asking us whether we want to enter the initial configuration dialog
we're going to say no for these labs and we're going to manually configure the switch so the switch
has a base config.
This is a base config that will be applied when you raise the configuration of a switch, so switch one
has booted up.
Let's do something similar to the other switches, so in the second core switch I'll add power to the
switch
and as you can see it's booting up
do something similar with the access switches.
In this example, because the access switches I'll only add a single power supply, switch is booting up
here's the second access switch
switch is booting up as well and here's the last switch, single power supply switch is booting up. In the
router
if we try and go to CLI we're told that the device must be powered on.
So what we need to do is turn the router on now, unlike the switches we don't have to insert power supplies.
We simply need to turn the router on most Cisco routers have an on-off switch, lower end Cisco switches
don't, you simply plug in the power to turn them on. Now that the switches are booted we can configure
host names.
So this is core 1
give it a name of core 1,
core 2 hostname core 2.
You can see the prompt is changed to show that it's core 2.
It's a very good idea to configure hostnames and other basics on your switches.
Now what a lot of network engineers will do is they will have this in notepad so that they can simply
copy and paste a bunch of configuration into multiple devices.
What we'll do here is do it manually so that you can learn all the commands. So that's access one configured
there's access 2 configured here's access 3 so hostname access 3.
So host names for the switches are configured.
What about the router?
I'm going to call this Internet router you could call it really anything you want to, in the exam
just follow the instructions if they tell you to configure it with a specific name then do that.
The next thing we need to do is shut down unused interfaces.
So in this topology switch 1 has interfaces gigabit 101 2 3 20 23 and 24 in use.
Show IP interface brief will show us the status of interfaces so, scrolling up we can see that various
interfaces are up up 1 2 and 3 which is correct per our topology, 20 is up
23 and 24 are also up we can already see a problem however this code switch has a bunch of interfaces
marked in orange that means that spanning tree is blocking those ports.
So we'll need to fix that later
but as you can see here interface 2 3 and 24 are blocking on that core switch.
We gonna wanna optimize that and fix it but for now, let's manually shut down unused interfaces.
It's important to do that from a security point of view.
So interface gigabit
1 0 4 2 19 needs to be shut down.
So what we're gonna do here is actually use the range command, so interface range 4 to 19 and shut
those interface is down.
So we've essentially shut down this interface, this interface,
this interface and others in the range 4 to 19 so scrolling up notice port 19 has been shut down 20
hasn't been shut down.
It needs to stay up, 21 and 22 need to be shut down, however, so show IP interface brief
these two need to be administratively shut down.
Its interface range gigabit 1 0 21 to 22
shut that down,
show IP interface brief.
We need to do something similar on these interfaces, so interface gig 101/124 and I should use a
range there
shut those ports down. So show IP interface brief now shows us that all unused ports are administratively
shut down I'll save the configuration at this point.
Get in the habit of saving your config on a regular basis.
So on this switch we need to do something similar.
Show IP interface brief there are multiple interfaces on the switch that need to be shut down.
This command shows us that these three interfaces are up.
That's correct 23 and 24 need to stay up as well as 22.
This interface is showing down because we'd need to know shut the interface on the router.