Hi Ed,

The authentication type is MD5, but the key itself is not MD5 hashed in the 
config. The "7" on the end of the key string indicates the password type:

Router(config)#ntp authentication-key 1 md5 121 ?
  <0-4294967295>  Authentication key encryption type
  <cr>

So you can decrypt the key with the "usual" type 7 trick of throwing it into a 
key chain:


Router(config)#do sh run | s ntp
ntp authentication-key 1 md5 121A0C0411045D52797C7D 7
ntp authenticate
ntp trusted-key 1
ntp master 1

Router(config)#
Router(config)#
Router(config)#
Router(config)#key chain hax0r
Router(config-keychain)#key 1
Router(config-keychain-key)#key-string 7 121A0C0411045D52797C7D
Router(config-keychain-key)#
Router(config-keychain-key)#end

Router#show key chain
Key-chain hax0r:
    key 1 -- text "cisco16379"
        accept lifetime (always valid) - (always valid) [valid now]
        send lifetime (always valid) - (always valid) [valid now]



PS- Good to see you on the list. It's been a while, but we met back when you 
worked at Endo. I work for Jason Sonon.

Regards,
Bob



On Jul 29, 2011, at 7:10 AM, Bodnar, Edward wrote:

> ntp authentication-key 1 md5 121A0C0411045D52797C7D 7
> ntp authenticate
> ntp trusted-key 1
> ntp master 1

_______________________________________________
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