cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
986
Views
20
Helpful
5
Replies

TACACS configuration clarification

3iron
Level 1
Level 1

Hi,

 

I have been reading through the following tacacs configuration guide;

https://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus5000/sw/configuration/guide/cli/CLIConfigurationGuide/sec_tacacsplus.html#71793

 

Example configuration is provided as follows;

tacacs-server key 7 "ToIkLhPpG"
tacacs-server host 10.10.2.2 key 7 "ShMoMhTl"

 

I'm having a bit of trouble with this. According to the document, key ( 7 ) indicates an encrypted key will follow but the preshared key supplied looks to be plain text. Its also "quoted" but I did not think quotes were escape characters and in this example would form part of the string?

 

Should this not read;

tacacs-server key 0 ToIkLhPpG
tacacs-server host 10.10.2.2 key 0 ShMoMhTl

 

Or am I missing something?

 

Thanks

Ben

 

1 Accepted Solution

Accepted Solutions

ngkin2010
Level 7
Level 7
Hi,

>>> tacacs-server key 7 "ToIkLhPpG"
>>> tacacs-server host 10.10.2.2 key 7 "ShMoMhTl"

"ToIkLhPpG" and "ShMoMhTl" are the encrypted string, not the plain text.

View solution in original post

5 Replies 5

ngkin2010
Level 7
Level 7
Hi,

>>> tacacs-server key 7 "ToIkLhPpG"
>>> tacacs-server host 10.10.2.2 key 7 "ShMoMhTl"

"ToIkLhPpG" and "ShMoMhTl" are the encrypted string, not the plain text.

Hi ngkin2010

 

OK thanks for the confirmation. Mixed up IOS and NXOS. I understand NXOS uses AES to encrypt the key?

 

Cheers

Ben

Hi 3iron,

I am not sure which encryption algorithm used for type 7 password in NX-OS, but it's not AES encryption.

Type 6 password is encrypted by AES encryption, which require user-defined master key and AES encryption feature enabled.

Hi,
Type 7 uses a Vigenere cipher that was cracked years ago and is considered insecure.
As noted Type 6 password uses AES encryption, it is considerably more secure than Type 7.

HTH

Many thanks ngkin2010 and RJI for taking the time to reply to this - much appreciated.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: