![]() ![]() The first thing the switch would do when receiving the traffic is create a new entry in its MAC address table for PC1's MAC address (PC1 -> Fa0/3). It would encapsulate an Ethernet frame and send it off toward the switch. Now suppose PC1 wants to send traffic to the server that has a MAC address of 00:00:00:00:00:01. In this case, the MAC address table of the switch would be empty (ignoring any system MAC addresses shown in the table by default). ![]() Let's assume that all of the devices are powered on but have not sent any traffic. In other words, when you want to manually configure a MAC address on a port, you use switchport port-security mac-address īut when you want the switch to automatically learn the first MAC seen on a port and remember that (even if there is no traffic seen from that MAC for a long time), then you use: switchport port-security mac-address stickyĪnd after the swich learns a MAC address, you will see that it has automatically added: switchport port-security mac-address sticky Figure 1, a switch is surrounded by a number of common devices. (source: Catalyst 4500 Series Switch Cisco IOS Software Configuration Guide, 12.2(20)EWA - emphasis is mine) Sticky learning was enabled, to sticky secure MAC addresses. MAC addresses, including those that were dynamically learned before You enter this command, the interface converts all the dynamic secure To enable sticky learning,Įnter the switchport port-security mac-address sticky command. Sticky secure MAC addresses and to add them to the runningĬonfiguration by enabling sticky learning. You can configure an interface to convert the dynamic MAC addresses to Manually configured, it is not recommended. If these addresses are saved in theĬonfiguration file, the interface does not need to dynamically relearn Learned or manually configured, stored in the address table, and added You can configure MAC addresses to be sticky. While you can manually configure a sticky address, it is not usually used that way (and in fact Cisco recommends against it): ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |