Then, I have connected a device to the hub (just some another switch) and allowed my switch to learn its MAC address(es) as dynamic MAC. I have furthermore shortened the CAM aging time to 30 seconds: I have connected a hub to the Fa0/1 to keep the interface up and running. Switchport port-security mac-address 0200.0001.0002 vlan access Switchport port-security aging type inactivity Static secure MAC address must be configured manually - it will not be learned automatically - but it will be also placed into the running-config. The difference between sticky and static secure MAC address is that the sticky address get learned automatically, and is put into running-config. If that command is configured, static secure MAC addresses age out just like ordinary dynamic secure MAC addresses. Static secure MAC address do not age until you configure the port using the command switchport port-security aging static (at least I hope that is the correct syntax ). It will be placed both into the running-config and into the MAC address table, and of course if you store the configuration, it will be saved in the startup-config and loaded when the switch reboots. The switchport port-security mac-address creates a statically defined secure MAC address.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |