01-13-2018 06:53 AM - edited 03-08-2019 01:24 PM
Hi,
I am doing a practice lab as per attached step by step, and as per page 10-11, I enabled switchport security on ALS2 interfaces f0/6, f0/15-24. Contrary to the lab document, when doing show port-security interface f0/6, Total MAC address is not showing as 1.
Additionally on ALS1 I enabled the mac address sticky feature, and again when doing show port-security interface f0/6, Total MAC address is not showing as 1 while also Sticky MAC address is still set to 0.
Assigning an IP on the host and pinging the vlan gateway solved the issue, but at that moment the lab doesn't tell you to do so, so I'm worried I'm doing something wrong, since following the lab should provide the same results. Is this because a switch will not learn a MAC address if it doesn´t receive any packet from the host?
I am also attaching the pkt file as png for your perusal. Thanks in advance!
01-13-2018 06:52 PM
01-13-2018 10:53 PM
As you mentioned that it is showing correct after sending a packet to switch SVI or another host.
I hope you are performing your lab on Cisco Packet Tracer or other software so there is no traffic without user interaction but in the real network, a system will generate some traffic without user information as DNS test, OS update etc. So you will not face the same issue in a real network.
I hope this will be helpful for you.
Thanks,
Deepak Kumar
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide