xStack
® 
DGS-3120 Series Managed Switch CLI Reference Guide 
54 
 
Format 
config radius add <server_index 1-3> [<server_ip> | <ipv6addr>] key <password 32> 
[default | {auth_port <udp_port_number 1-65535> | acct_port <udp_port_number 1-65535> | 
timeout <sec 1-255> | retransmit <int 1-20>}] 
 
Parameters 
<server_index 1-3> - Enter the RADIUS server index. This value must be between 1 and 3. 
<server_ip> - Enter the IP address of the RADIUS server here. 
<ipv6addr> - Enter the IPv6 address of the RADIUS server here. (EI Mode Only) 
key - The key pre-negotiated between switch and the 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 password here. The password can be up to 32 characters long. 
default - Sets the authentication UDP port number to 1812 accounting UDP port number to 1813, 
timeout to 5 seconds and retransmit to 2. 
auth_port - (Optional) 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. 
<udp_port_number 1-65535> - Enter the authentication port number here. This value must 
acct_port - (Optional) 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. 
<udp_port_number 1-65535> - Enter the accounting port number here. This value must be 
timeout - (Optional) 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. 
retransmit - (Optional) 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. 
 
Restrictions 
Only Administrator, Operator and Power-User level users can issue this command. 
 
Example 
To add a new RADIUS server: 
DGS-3120-24TC:admin# config radius add 1 10.48.74.121 key dlink default 
Command: config radius add 1 10.48.74.121 key dlink default 
 
Success. 
 
 
4-22  config radius delete 
Description 
This command is used to delete a RADIUS server. 
 
Format 
config radius delete <server_index 1-3>