2012/10/28 Matt Hill <[email protected]>

Hello,
>
> I am playing with port-security right now.
>
> Now, is there a way for a MAC learned via sticky to "survive" reboot
> and remain in the config?  I know that once it is learned , one may do
> a write mem and that will save it, however is there a way that it can
> be saved without intervention?
>

[...]

There's a solution, but it is still based on "write memory", so I would
call it rather a workaround. It uses "kron" command to do "write memory"
every 10 minutes:

kron occurrence WRITE-MEM in 10 recurring
policy-list WRITE-MEM
!
kron policy-list WRITE-MEM
cli "write memory"

So in this case, if the switch learns MAC address via "sticky" in
port-security, the address will be saved in running-config immediately and
in startup-config after 10 minutes.

--

Marta SokoĊ‚owska.
_______________________________________________
For more information regarding industry leading CCIE Lab training, please visit 
www.ipexpert.com

Are you a CCNP or CCIE and looking for a job? Check out 
www.PlatinumPlacement.com

Reply via email to