---
title: RADIUS Configuration
slug: enterprise-v6p1/radius-configuration
createdAt: 2026-03-19T07:25:16.180Z
---

### <font color="#1d50a2">show radius </font><font color="#1d50a2">global</font>

**\[Command]**
**show radius global**

**\[Purpose]**
Display terminal RADIUS configuration information.

**\[View]**
System view

**\[Use Cases]**

```plaintext
sonic# show radius global
RADIUS_SERVER address 192.168.15.168
               priority 1
               auth_port 1812
               passkey ******
```

### <font color="#1d50a2">show radius server  </font>

**\[Command]**
**show radius server \{all |&#x20;***ip-address***}**

**\[Purpose]**
Display radius server configuration

**\[View]**
System view

**\[Use Cases]**

```none
sonic# show radius server all
+-------------+-------------+-------------+------------+-----------+--------------+--------------+-------+------------+
| Server      |   Auth Port | Auth Type   |   Priority |   Timeout |   Retransmit | Passkey      | Vrf   | Src Intf   |    
+=============+=============+=============+============+===========+==============+==============+=======+============+
| 192.168.0.1 |        1812 | chap        |         53 |         5 |            3 | mytesting123 |       |            | 
+-------------+-------------+-------------+------------+-----------+--------------+--------------+-------+------------+
sonic#      
```

### <font color="#1d50a2">radius </font><font color="#1d50a2">global</font>

**\[Command]**
**radius global \[auth-type \{pap|chap|mschapv2}] \[passkey&#x20;***passkey***] \[src-ip&#x20;***src-ip***] \[nas-ip&#x20;***nas-ip***] \[timeout&#x20;***timeout***] \[retransmit&#x20;***retransmit***]**

**\[Purpose]**
Configure authentication parameters for the RADIUS server.

**\[Parameter]**

| **Parameter**    | **Description**                                                             |
| ---------------- | --------------------------------------------------------------------------- |
| *password&#x20;* | Radius server shared key                                                    |
| *src\_ip*        | Source IP for authentication message                                        |
| *nas-ip*         | NAS IP address                                                              |
| *timeout*        | Value range is 1-60s                                                        |
| *retransmit*     | Maximum number of retransmissions after an authentication request times out |

**\[View]**
System Configuration View

**\[Use Cases]**

```plaintext
sonic(config)# radius global auth-type pap
sonic(config)# radius global passket test_passwd
```

### radius server

**\[Command]**
**radius server&#x20;***server-ip***&#x20;\[passkey&#x20;***passkey***] \[auth-port&#x20;***auth-port***] \[auth-type&#x20;***auth-type***] \[priority&#x20;***priority***] \[timeout&#x20;***timeout***] \[retransmit&#x20;***retransmit***] \[vrf&#x20;***vrf\_name***] \[src-intf&#x20;***src-intf***]**

**\[Purpose]**
Configure radius server.

**\[Parameter]**

| **Parameter**       | **Description**                                                                       |
| ------------------- | ------------------------------------------------------------------------------------- |
| *server-ip&#x9;*    | radius server ip address                                                              |
| *passkey*           | radius server shared secret                                                           |
| *auth-port*         | radius server port number, 1-65535                                                    |
| *auth-type*         | choose from pap/chap/mschapv2                                                         |
| *priority*          | server priority. It is useful when there are multiple radius servers configured, 1-64 |
| *timeout		&#x9;*    | Value range: 1-60 seconds                                                             |
| *retransmit	&#x9;*  | retry times, 0-10                                                                     |
| *vrf\_name			&#x9;* | vrf name specified for src-intf                                                       |
| src-intf            | source interface, which interface is used to send authentication  packet to server			 |

**\[View]**
System configuration view

**\[Comment]**
Max 8 servers can be specified.

**\[Use Cases]**

```none
sonic(config)# radius server 192.168.0.1 priority 53 auth-type chap passkey mytesting123
```

