D-Link DWS-3160-24TC [84/983] Example

D-Link DWS-3160-24PC [84/983] Example
DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide
80
5-21 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>}
Parameters
server_host - Server host’s IP address.
<ipaddr> - Enter the server host IP address here.
protocol - Specifies the server host's authentication protocol.
tacacs - Server host’s authentication protocol.
xtacacs - Server host’s authentication protocol.
tacacs+ - Server host’s authentication protocol.
radius - Server host’s authentication protocol.
port - (Optional) The port number of authentication protocol for server host. Default value for
TACACS/XTACACS/TACACS+ is 49. Default value for RADIUS is 1812.
<int 1-65535>
- Enter the port number here. This value must be between 1 and 65535.
key - (Optional) The key for TACACS+ and RADIUS authentication. If the value is null, no
encryption will apply. This value is meaningless for TACACS and XTACACS.
<key_string 254> - Enter the TACACS+ key here. This value can be up to 254 characters
long.
none - No encryption for TACACS+ and RADIUS authentication. This value is meaningless
for TACACS and XTACACS.
timeout - (Optional) The time in second for waiting server reply. Default value is 5 seconds.
<int 1-255> - Enter the timeout value here. This value must be between 1 and 255 seconds.
retransmit - (Optional) The count for re-transmit. This value is meaningless for TACACS+.
Default value is 2.
<int 1-20> - Enter the re-transmit value here. This value must be between 1 and 20.
Restrictions
Only Administrators can issue this command.
Example
To configure a TACACS+ authentication server host’s key value:
DWS-3160-24PC: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.
DWS-3160-24PC:admin#

Содержание

Похожие устройства

Скачать