Configuring TACACS+ Server Preshared Keys
Step 2
Step 3
Step 4
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
Step 1
Step 2
Step 3
Step 4
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
260
Command or Action
switch(config)# tacacs-server key
[0 | 7] key-value
switch(config)# exit
switch# show tacacs-server
switch# copy running-config
startup-config
Command or Action
switch# configure terminal
switch(config)# tacacs-server host
{ipv4-address | ipv6-address |
host-name} key [0 | 7] key-value
switch(config)# exit
switch# show tacacs-server
Purpose
Specifies a preshared key for all TACACS+ servers. You
can specify a clear text ( 0 ) or encrypted ( 7 ) preshared
key. The default format is clear text. The maximum length
is 63 characters.
By default, no preshared key is configured.
Exits configuration mode.
(Optional)
Displays the TACACS+ server configuration.
The preshared keys are saved in encrypted form in
Note
the running configuration. Use the show
running-config command to display the encrypted
preshared keys.
(Optional)
Copies the running configuration to the startup configuration.
Purpose
Enters configuration mode.
Specifies a preshared key for a specific TACACS+ server.
You can specify a clear text ( 0 ) or encrypted ( 7 )
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.
(Optional)
Displays the TACACS+ server configuration.
About Configuring TACACS+
OL-16597-01