Switch Port Security Configuration with Cisco Packet Tracer

switch port security

Packet Tracer Switch Port Security Configuration

In this article, we will focus on detailed Port Security configuration. For our Port Security configuration, we will use the below topology. In this topology we will make examples for the configuration cases on Port Security.


You can DOWNLOAD the Cisco Packet Tracer example with .pkt format at the End of This Lesson.


You can also DOWNLOAD all the Packet Tracer examples with .pkt format in Packet Tracer Labs section.


switch port security topology
 

Switch Port Security Topology

Here we will use four scenario on four switch port. According to these scenarios, the below Port Security configuration will be done:

1.port
– max MAC 2
– 1 static MAC (PC1)
– 1 dynamic MAC (PC2)
– 1 violation (PC3)
– violation type shutdown

Switch(config)#inter fastEthernet 0/1
Switch(config-if)#switchport mode access 
Switch(config-if)#switchport port-security
Switch(config-if)#switchport port-security maximum 2
Switch(config-if)#switchport port-security mac-address 00E0.B085.4951
Switch(config-if)#switchport port-security mac-address 0003.e445.1485
Switch(config-if)#switchport port-security violation shutdown

2.port
– max MAC 2
– 2 dynamic MAC (PC6,PC7)
– 1 violation (PC8)
– violation type restrict

Switch(config)# interface fastEthernet 0/2
Switch(config-if)# switchport mode access 
Switch(config-if)# switchport port-security 
Switch(config-if)# switchport port-security maximum 2
Switch(config-if)# switchport port-security mac-address sticky 
Switch(config-if)# switchport port-security violation restrict

You can also DOWNLOAD all the Packet Tracer examples with .pkt format in Packet Tracer Labs section.


We're Sorry!
Full Access is for only IPCisco Crew...
With IPCisco Membership, You Can Access:
• All Certification Courses (Cisco, Juniper, Nokia and Huawei),
• Thousands of Questions (Lesson Quizes and Special Quiz Section),
• Carieer Consultancy, CV/Resume Check, Career Advice Meeting,
• Cheat Sheets, Job Interview Trainings, Network Tools,
You will be Member of a Big IPCisco Community,
You will Learn Network Lessons with Always,
New And Different Learning Styles!
We are waiting for you!

Lesson tags: Port Security, Security, swicth security
Back to: CCNA > Basic Security and Port Security

Comments are closed.




CCNA