They are learned dynamically from the devices connected to the switchport, are put into the address table AND are entered into the running configuration as a static secure MAC address (sometimes referred to as a static sticky MAC address). After enabling, you will notice the currently connected MAC address (es) will appear in the running config: switchport port-security mac-address sticky. This will stay in the config until the switch is rebooted, so it’s important to write the config. Subsequently, one may also ask, how do I create a sticky MAC address? In this example, secure MAC addresses are immediately timed out after 60 minutes. If the absolute option is not configured, the secure MAC addresses time out. To enable sticky learning, enter the switchport port-security mac- address sticky command. When you enter this command, the interface converts all the dynamic secure MAC addresses, including those that were dynamically learned before sticky learning was enabled, to sticky secure MAC addresses. When you use the aging timer together with the inactivity aging feature, the aging timer restarts once traffic data is detected from the secure MAC addresses. The sticky secure addresses remain part of the running configuration. Static secure MAC addresses – configured manually with switchport port-security mac- address mac- address. You can use port security aging to set the aging time for static and dynamic. These MAC addresses are stored in the address table and in the running configuration of the switch. To delete a sticky secure MAC addresses from the address table, use the no switchport port-security sticky mac-address macaddress command. CISCO MAC ADDRESS STICKY AGING TIME MACĭynamic secure MAC addresses – are dynamically learned by the switch and stored in its MAC address table. To delete all the sticky addresses on an interface or a VLAN, use the no switchport port-security sticky interface interface-id command.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |