Cisco Nexus 5000 Series Switch CLI Software Configuration Guide (OL-16597-01, July 2009)

PurposeCommand or Action
Specifies a preshared key for all TACACS+ servers. You
can specify a clear text ( 0 ) or encrypted ( 7 ) preshared
switch(config)# tacacs-server key
[0 | 7] key-value
Step 2
key. The default format is clear text. The maximum length
is 63 characters.
By default, no preshared key is configured.
Exits configuration mode.switch(config)# exit
Step 3
(Optional)
Displays the TACACS+ server configuration.
switch# show tacacs-server
Step 4
The preshared keys are saved in encrypted form in
the running configuration. Use the show
running-config command to display the encrypted
preshared keys.
Note
(Optional)
Copies the running configuration to the startup configuration.
switch# copy running-config
startup-config
Step 5
The following example shows how to configure global preshared keys:
switch# configure terminal
switch(config)# tacacs-server key 0 QsEfThUkO
switch(config)# exit
switch# show tacacs-server
switch# copy running-config startup-config
Related Topics
Enabling TACACS+ , page 258
Configuring TACACS+ Server Preshared Keys
You can configure preshared keys for a TACACS+ server. A preshared key is a shared secret text string
between the Cisco Nexus 5000 Series switch and the TACACS+ server host.
To configure the TACACS+ preshared keys, perform this task:
Procedure
PurposeCommand or Action
Enters configuration mode.switch# configure terminal
Step 1
Specifies a preshared key for a specific TACACS+ server.
You can specify a clear text ( 0 ) or encrypted ( 7 )
switch(config)# tacacs-server host
{ipv4-address | ipv6-address |
host-name} key [0 | 7] key-value
Step 2
preshared key. The default format is clear text. The
maximum length is 63 characters.
This preshared key is used instead of the global preshared
key.
Exits configuration mode.switch(config)# exit
Step 3
(Optional)
Displays the TACACS+ server configuration.
switch# show tacacs-server
Step 4
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
260 OL-16597-01
About Configuring TACACS+
Configuring TACACS+ Server Preshared Keys