DGS-3710 Series Layer 2 Managed Gigabit Switch CLI Reference Guide
81
5-19
config authen server_host
Description
This command is used to configure an authentication server host.
Format
config authen server_host <ipaddr> protocol [tacacs | xtacacs | tacacs+ | radius] {port <int
1-65535> | key [<key_string 254> | none] | timeout <int 1-255> | retransmit <int 1-20>}(1)
Parameters
<ipaddr>
- Specifies the server host’s IP address.
protocol
- Specifies the server host’s type of authentication protocol.
tacacs
- Specifies the server host’s authentication protocol TACACS.
xtacacs
- Specifies the server host’s authentication protocol XTACACS.
tacacs+
- Specifies the server host’s authentication protocol TACACS+.
radius
- Specifies the server host’s authentication protocol RADIUS.
port
- Specifies the port number of the authentication protocol for the server host. The default
value for TACACS/XTACACS/TACACS+ is 49. The default value for RADIUS is 1812.
<int 1-65535>
- Specifies the port number of the authentication protocol for the server host.
The default value for TACACS/XTACACS/TACACS+ is 49. The default value for RADIUS
is 1812. The port number must be between 1 and 65535.
key
- Specifies the key for TACACS+ and RADIUS authentication.
<key_string 254>
- Specifies the key for TACACS+ and RADIUS authentication. If the value
is null, no encryption will apply. This value is meaningless for TACACS and XTACACS.
none
- Specifies no encryption for TACACS+ and RADIUS authentication. This value is
meaningless for TACACS and XTACACS.
timeout
- Specifies the time in seconds for waiting for a server reply. The default value is 5
seconds.
<int 1-255>
- Specifies the time in seconds for waiting for a server reply. The default value is 5
seconds. The timeout value must be between 1 and 255 seconds.
retransmit
- Specifies the count for re-transmit. This value is meaningless for TACACS+. The
default value is 2.
<int 1-20>
- Specifies the count for re-transmit. This value is meaningless for TACACS+. The
default value is 2. The re-transmit value must be between 1 and 20.
Restrictions
Only Administrator-level users can issue this command.
Example
To configure a TACACS+ authentication server host’s key value:
DGS-3710-12C:admin#config authen server_host 10.1.1.222 protocol tacacs+ key
"This is a secret"
Command: config authen server_host 10.1.1.222 protocol tacacs+ key "This is a
secret"
Success.
DGS-3710-12C:admin#