In this practical session we'll check to see which port configuration.
Together we have two suites again in here.
Our suites are Madrid and Miami and we have six steps to accomplish.
This is gonna be a real fantastic session nice and we're gonna learn lots of things.
We'll make a great configuration together and let's go with the first step.
The first step is saying as to configure ports between fast internet at 0 0 2 fast attack 0 24 as access
port Alright let's do it
what I need to do is first I need to set the hostname
This is my order it and what questions saying in the first step
is configuring the ports between festival 0 0 2 FaceTime and 0 24 as access ports Okay let's go interface
first Internet 0 0 0 0.
I'm well it show IP interface brief
okay this guy's starting from first tried 0 1 as you see then I'm gonna make the configuration starting
from first 0 1 2 first turn at 0 24
config mode interface first Internet 0 1
switchboard mod access
where in interface mode and when you are gonna configure another interface you don't need to do this
you can do but you don't need to do if you're in interface mode you can go to another interface by typing
interface first Internet 0 2 the same comment OK you could do by typing exit and this command again
but you don't really need to OK well I'm going to do is switchboard more access
to define and access port I'm using the switch port mode access more access command as you will remember
from our sessions
then on it to go to the interface faster to net zero two and switch port mode access
and add it to go to the first zero for our coming guy are you kidding me am I gonna configure the whole
thing step by step one by one are killing us actually no you don't need to do this if you want to configure
a range we have a great command
as you can see that interface range command if you want to configure a range we have interface range
command to make a configuration between an interface range so you don't need to configure one by one
the fall of the 24 ports and what we're gonna do is we are gonna select the range right now and make
the configuration to the whole range and our configuration will affect the whole range that's a great
feature in the phase range fast internet I'm starting from zero one right and I'll go until 24.
And please pay attention that how I'm defining here.
That's important.
I need to put a space and dash and one more space pretty cool huh.
And tune in for
and there as you can see that I'm in the cool freak if range mode instead of the coffee if not this
not means that you're in the range you choose their range and your configuration will affect all the
port in this range.
So what I need to type is switch port more access and enter.
That's it.
You don't need to configure the whole thing.
You don't need to configure one by one.
What you need to do is just to configure a range outright configure ports between this is one to 24
as access will accomplish the vertical.
Let's get into the second step configure the 0 1 ports as trunk strong but first I had to wear five
my last configuration what I'm going to do is
type the show running conflict command and check 01 switch port mode access protocol to access 3 Access
access access X and X and Access access access access and access political.
You can see that range is working now I need to go to the geek ops interface gate 0 1
and switch port
trunk
no switch port mode trunk
why I type this first
in some of the Ayaz devices you need to choose the encapsulation type first and you need to type switch
port trunk encapsulation that line you first.
But in some other areas you don't need this.
That's why I type this but I wish I saw that we don't need this so what we're going to do for trunk
configuration is just to type switch port more trunk on Medicaid and we need to do the same configuration
in Miami to
hostname First Boston and Miami
I'm not going to Oh okay I'm going to do in the face range 0 to 24 and switch port mode says and exit
interface click 0 1 and switch port not truck
pretty cool.
Political pretty cool and pretty easy.
Second Step.
Accomplished as you can see that there is nothing to scare about this comments are pretty straightforward.
But what I'm offering you to do is make this lab or your own pick a choice of please and implement the
commands yourself to one more time
OK.
Now let's go to the Turks that create will Hans groups I'm sorry create villains 3 4 and 5 and their
names will be phone with and wireless O K.
Yes I'm in the configuration mode right now and I should be in the configuration mode to define me with
less okay.
Do you remember that.
How we define the lands I'm gonna show you that within
three
wire type three because questions saying that to create villain three 4 and 5
and the command is real n space villain nay.
This time my villain villain No I'm sorry villain space villain no will and 3 and name of the villain
will be let's check it out will and 3 will be for funky name for
OK real long for this time
4 will be really your name.
Video
and I need to define a villain.
5 which then will be
wireless pretty straightforward as you can see that it's where we're easy to define real ends on the
slates okay.
I defined my will learns but I need to verify it to where fight this I need to issue the show real and
correct show will then
okay.
We have we learned 3 4 and 5 and their names are phone video and wireless
but please pay attention that there are no ports assigned to these villains.
Right now all ports are in the default villain which is v wound right now
OK I created the villains too and I accomplished this that and I am in for now a infested tonight 0
3 2 villain 3 0 4 2 v long 4 and 0 5 2 villain 5.
Now I'm going to assign the puts as you can see the 3 4 and 5 first tune at 3 4 and 5 are in the William
1 which is the default villain right now what I'm gonna do is I'll take these and assigned to the formula
on I'm going to take these and assigned to the video and I'm going to take these and I'll assign this
port to the wireless whaler.
Alright let's go call four year term.
No
if you want to make a change for an interface you need to go to the interface mode interface first Internet
0 3 if I want to assign a port to a v lan my comment is switch poor access Milan and we'll end no
I'm in the first line at 0 3 and questions saves me that assign these two we land 3
so each port access will entry and that's it let's go to the
0 4 this is gonna be so which port access we plan for
and 5 will be we land 5
okay pretty cool and I need to take a look to the show will and I get it to where find my congregation
show will earn
oh right that's well I completely want to see as you can see that pastor at 0 3 is in Milan 3 0 4 in
4 and 0 5 in Milan 5.
Here is the good news
for step is okay right now to alright in the fifth step let's say is that shut down
these parts so I need to shut down first out 0 6 7 8 9 10 and 11
I'm going into the configuration once again
interface branch surely range fast internet 0 6 to allow 1
and not down
alright.
Great as you can see that my ports changed their state to administratively down which I configured.
And as you can see that I use the range.
Comment again.
To accomplish this goal pretty cool and in the next step
commentary you put security on fast internet zero 12th and port will let only five mac addresses if
a relational tours port will shut down
okay.
Let me make some explanation first.
In it's
first zero 12th port let's say that we have a hub that was
in the hub to us.
We have five pieces connected
and somebody is coming and he's trying to plug his cable as the sixth MAC address.
What I'm gonna do is if this guy comes here
I will shut down the first net zero twelve completely
okay.
Let's go
interface first Internet zero first
please remember that if I want to configure the port security the first step is configuring port.
First step is enabling the port security globally under the in the face more first switch port port
security and enter
then I need to define the maximum make addresses that I'm going to accept from that port with sewage
port Port Security
all was going right here maximum command so each port Port Security
maximum
and what question wants me from as a less than is shut down the port.
If the sixth guy comes in switch port port security and
I need to define my violation which is gonna be shut down for this example.
Violation and as you got to him as you were gonna remember we have
three violation modes
we have project restrict and shut down and for this example I'm going to use the shut down
okay.
I am in my configuration and fast Internet zero twelve will accept just five pieces and if a six P.C.
tries to come via hop to our port the port will shutdown itself and yes we finished our configuration
lab tanks were wearing.
That was a real really cool session and see you on the next session.