Afrikaans
Akan
Albanian
Amharic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
English
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
French
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Hungarian
Icelandic
Igbo
Indonesian
Interlingua
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranî)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Persian
Polish
Portuguese (Brazil)
Portuguese (Portugal)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Russian
Samoan
Scots Gaelic
Serbian
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Sinhalese
Slovak
Slovenian
Somali
Spanish
Spanish (Latin American)
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkish
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Vietnamese
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
This is a free, complete course for the CCNA.
If you like these videos, please subscribe\n
Also, please like and leave a comment, and\n
If you want more labs like this, I highly\n
NetSim is a network simulator like Packet\n
over 100 detailed guided labs covering the\nCCNA exam topics.
If you want to get NetSim, follow the link\nin the description.
In this video we’ll configure port security\non SW1 and SW2.
We’ll configure it on SW1’s interfaces\n
Some of the commands I introduced in the lecture\n
but the most important ones are.
On the F0/1, 2, and 3 interfaces we’ll enable\n
mode, 1 MAC address allowed, sticky learning\n
CONF T. The port security configuration of\n
By default, the violation mode is shutdown,\n
Sticky MAC address learning is also disabled\n
Let’s just set the aging time to 1 hour.
With the default time of 0 minutes, secure\n
SWITCHPORT PORT-SECURITY AGING TIME, and then\n
Now, port security itself isn’t actually\n
But the command is rejected, a common mistake\n
These interfaces have the default administrative\n
DO SHOW INTERFACES F0/1 SWITCHPORT.
Up here you can see it, administrative mode\ndynamic auto.
To enable port security, the interface must\n
I’ll check one of the interfaces.
DO SHOW PORT-SECURITY INTERFACE F0/1.
Okay, port security is enabled and the default\n
The aging time of 60 minutes I configured\nis shown here.
That’s all we need to configure on SW1.
We’ll configure port security on G0/1 with\n
4 addresses, and sticky MAC address learning\nenabled.
Why 4 addresses, even though there are only\n
It’s because SW2 will be receiving CDP messages\n
The default port security violation mode is\n
SWITCHPORT PORT-SECURITY VIOLATION RESTRICT.
And then the maximum number of addresses.
SWITCHPORT PORT-SECURITY MAXIMUM 4.
And then enable sticky MAC address learning.
SWITCHPORT PORT-SECURITY MAC-ADDRESS STICKY.
Finally let’s enable port security.
There is only 1 VLAN in the network, VLAN\n
port, although trunk is an option too.
Okay, let’s check those settings.
DO SHOW PORT-SECURITY INTERFACE G0/1.
Okay, port security is enabled, the violation\n
As for sticky learning, we’ll test that\nnow.
I’ll ping from each PC to R1 so that SW1\n
DO SHOW PORT-SECURITY INTERFACE G0/1.
So, the total MAC addresses learned is 4,\nPCs 1, 2, 3, and SW1.
And all 4 of those MAC addresses are sticky.
Let’s check the config of G0/1.
Scroll down to G0/1, and here we can see the\n
And let’s check the MAC address table.
Okay, there are the same 4 MAC addresses.
Notice the type of STATIC, even though they\n
That’s because of sticky learning.
And one more command, DO SHOW PORT-SECURITY.
So, G0/1 has a maximum of 4 secure MAC addresses,\n
violations, and the security action is restrict.
Now let’s trigger some violations and see\nwhat happens.
First, I’ll trigger a violation on SW2.
To do that, I’ll go on SW1 and configure\nthe VLAN 1 SVI.
IP ADDRESS 10.0.0.10 255.255.255.0.
Okay, so if SW1 tries to ping R1, the source\n
SW2 learned the MAC address of SW1’s G0/1\n
That’s because SW2 is blocking the pings\n
DO SHOW PORT-SECURITY INTERFACE G0/1.
Okay, notice the port status is still secure-up,\n
There haven’t been any syslog messages,\n
By default, a syslog message should be displayed\nin the console.
Anyway, that’s the restrict mode.
Now let’s trigger a violation on SW1.
To do that, I’ll change the MAC address\nof PC1.
To do that in packet tracer, go to the config\n
I’ll change the last ‘1’ to an ‘A’.
Okay, it doesn’t work this time.
Okay, here syslog messages have been shown\n
no actual port security related syslog messages.
Anyway, let’s check the interface.
DO SHOW PORT-SECURITY INTERFACE F0/1.
Okay, the state is secure-shutdown, and the\n
Now, errdisable recovery isn’t available\n
the interface, you’ll need to do it manually.
Anyway, in this lab we did some basic port\n
shutdown and restrict violation modes work.
Next, let’s take a look at a bonus lab in\n
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.