XG2000 series User's Guide
97/315
All Rights Reserved, Copyright (C) PFU LIMITED 2009
5.5.8 tacacs-server host
Function
Registers a TACACS+ server. Up to four TACACS+ servers can be registered.
Use the no form to delete registered TACACS+ servers.
Prompt
xg(config)#
Command syntax
tacacs-server host HOST [ key KEY ]
no tacacs-server host HOST
Parameter
z host HOST
Specifies the hostname or IP address of a TACACS+ server. IP addresses that can be set are:
1.0.0.1 - 126.255.255.254, 128.0.0.1 - 191.255.255.254, and 192.0.0.1 - 223.255.255.254.
This device accesses to TACACS+ servers in order which is shown in "show tacacs" command.
z key KEY
Specifies a secret key in ASCII character. Printable characters except for "?" and a
space(ASCII code 0x20) can be specified and its length should be less than 33. A global secret
key is specified if this parameter is omitted.
Command type
Configuration command
Default
None
Message
% Authentication server can register up to 4.
Explanation
Four TACACS+ servers have already been registered.
Solution
Delete unnecessary TACACS+ servers and execute the command again.
% Secret key is too long.
Explanation
The specified secret key is more than 32 characters.
Solution
Specifies the secret key under 33 characters.
% Invalid IP-address.
Explanation
The specified format of the IP address or the IP address is incorrect.
Solution
Specify the IP address in a correct format.
% Invalid secret key.
Explanation
A secret key is not specified, or an invalid character is set.
Solution
Specifies a secret key using available characters. If the secret key is not specified,
a global secret key should be configured by "tacacs-server key" command before executing
this command.
% Cannot find %1$
Explanation
The specified host cannot be found.
[[Inserted string]]%1$: specified hostname
Solution
Check that the hostname is correct, or the hostname is registered.
Example
The following example registers a TACACS+ server as IP address is 192.168.0.10 and secret key is “tacacs-bl” .
xg(config)# tacacs-server host 192.168.0.10 key tacacs-b1