Port Security: Sticky MAC, Allowed MACs & Violation Explained | Cisco Switch |

Опубликовано: 27 Апрель 2026
на канале: TungaBadra Networks
2,928
119

Welcome to Tungabadra Networks!
In this video, we continue our Cisco Port Security lab by focusing on:

✅ Sticky MAC address configuration
✅ Limiting the number of allowed MAC addresses
✅ Understanding port security violations and shutdown behavior

🖥 Lab Device: Cisco Catalyst 2960
📍 Interface Used: fa0/22
📌 Security Mode: Shutdown
📌 Max MACs Allowed: 1
📌 Sticky MAC Captured Automatically

🛠️ Commands Used:

IND_SW2# configure terminal
IND_SW2(config)# interface fa0/1
IND_SW2(config-if)# switchport mode access
IND_SW2(config-if)# switchport port-security
IND_SW2(config-if)# switchport port-security maximum 1
IND_SW2(config-if)# switchport port-security violation shutdown
IND_SW2(config-if)# switchport port-security mac-address sticky

✅ Verification Command:

IND_SW2# show port-security interface fa0/22


📌 Output Explained:

Port Status shows if the port is shut due to violation

Sticky MAC Address shows learned MACs

Violation Count shows how many times an unauthorized device was detected

📢 Stay tuned for the next video, where we'll show you how to manually configure static MACs and recover from port shutdowns!

🎓 Like, Share & Subscribe for more real-time CCNA Labs!