xStack
®
DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide
55
4-24 config radius
Description
This command is used to configure a RADIUS server.
Format
config radius <server_index 1-3> {ipaddress [<server_ip> | <ipv6addr>] | [key <password
32> | encryption_key <password 56>] | auth_port [<udp_port_number 1-65535 > | default] |
acct_port [<udp_port_number 1-65535> | default] | timeout [<sec 1-255> | default] |
retransmit [<int 1-20> | default]}(1)
Parameters
<server_index 1-3> - Enter the RADIUS server index here. This value must be between 1 and 3.
ipaddress - The IP address of the RADIUS server.
<server_ip> - Enter the RADIUS server IP address here.
<ipv6addr> - Enter the RADIUS server IPv6 address used here.
key - The key pre-negotiated between switch and RADIUS server. It is used to encrypt user’s
authentication data before being transmitted over internet. The maximum length of the key is
32.
<password 32> - Enter the key here. The key can be up to 32 characters long.
encryption_key - The key pre-negotiated between the Switch and the RADIUS server. It is used
to encrypt user’s authentication data before being transmitted over the Internet. The maximum
length of the key is 32.
<password 56> - The encrypted key string. The maximum length of the plain text key is 56
bytes. The encryption algorithm is based on DES.
auth_port - Specify the UDP port number which is used to transmit RADIUS authentication data
between the Switch and the RADIUS server. The range is 1 to 65535. The default value is
1812.
<udp_port_number 1-65535> - Enter the authentication port number here. This value must
be between 1 and 65535.
default - Specify that the default port number will be used.
acct_port - Specify the UDP port number which is used to transmit RADIUS accounting statistics
between the Switch and the RADIUS server. The range is 1 to 65535. The default value is
1813.
<udp_port_number 1-65535> - Enter the accounting port number here. This value must be
between 1 and 65535.
default - Specify that the default port number will be used.
timeout - The time in second for waiting server reply. The default value is 5 seconds.
<sec 1-255> - Enter the timeout value here. This value must be between 1 and 255 seconds.
default - Specify that the default timeout value will be used.
retransmit - The count for re-transmitting. The default value is 2.
<int 1-20> - Enter the re-transmit value here. This value must be between 1 and 20.
default - Specify that the default re-transmit value will be used.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To configure a radius server: