DELL 8132 ユーザーズマニュアル

ページ / 1818
768
TACACS+ Commands
tacacs-server key
Use the tacacs-server key command in Global Configuration mode to set the 
authentication and encryption key for all TACACS+ communications 
between the switch and the TACACS+ daemon. To disable the key, use the 
no form of this command.
Syntax
tacacs-server key [
key-string]
no tacacs-server key
key-string — Specifies the authentication and encryption key for all 
TACACS communications between the switch and the TACACS+ server. 
This key must match the key used on the TACACS+ daemon. (Range: 
0–128 printable characters except for question marks and double quotes.)
Default Configuration
The default is an empty string.
Command Mode
Global Configuration mode
User Guidelines
The tacacs-server key command accepts any printable characters for the key 
except a double quote or question mark. Enclose the string in double quotes 
to include spaces within the key. The surrounding quotes are not used as part 
of the name. The CLI does not filter illegal characters and may accept entries 
up to the first illegal character or reject the entry entirely.
Example
The following example sets the authentication encryption key.
console(config)#tacacs-server key "I've got a secret"
console(config)#tacacs-server key @#$%^&*()_+=-
{}][<>.,/';:|
2CSPC4.X8100-SWUM102.book  Page 768  Friday, March 15, 2013  8:56 AM