From: Fang Gao (fanggao@gmail.com)
Date: Tue Jan 29 2008 - 00:41:00 ARST
Hi, Darren,
A static mac entry is saved in running-configure, as well as startup-config
if you copy runing to startup-config. It will not be lost after reboot.
I did the following at cat 3560.
interface FastEthernet0/20
switchport mode access
switchport port-security
switchport port-security mac-address 0050.04fd.9f73
After reboot, the above configuration is still in Fa0/20.
You can try it on your lab. It is simple.
HTH
Fang
On Jan 28, 2008 5:22 AM, Darren Johnson <dazza_johnson@yahoo.co.uk> wrote:
> Hey all. I'm stuggling to get me head around this. With port-security, if
> I
> configure a static mac entry (switchport port-security mac-address
> xxxx.xxxx.xxxx) then it is added to the running-config only - doesn't
> survive a reboot. With 'sticky' port-security, the dynamically learned MAC
> is added to the running config. However, this too will not survive a
> reboot.
> Therefore, whats the difference?!?
>
> With BOTH methods, you STILL NEED TO SAVE the RUNNING-CONFIG - or they are
> lost (of course the sticky will get re-learned). The only difference I can
> see between the two, is that:
> Sticky automatically adds the MAC address to running-config
> Static configuration requires manual entry of the MAC address to
> running-config
>
> Any thoughts/comments?
>
> Dazzler
>
> P.S. My lab is 21st Feb Brussells, anyone else out there that day?
>
>
>
> ___________________________________________________________
> Inbox full of spam? Get leading spam protection and 1GB storage with All
> New Yahoo! Mail. http://uk.docs.yahoo.com/nowyoucan.html
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Fri Feb 01 2008 - 10:38:02 ARST