RADIUS Configuration
show radius global
Section titled “show radius global”[Command]
show radius global
[Purpose]
Display terminal RADIUS configuration information.
[View]
System view
[Use Cases]
sonic# show radius globalRADIUS_SERVER address 192.168.15.168 priority 1 auth_port 1812 passkey ******```show radius server
Section titled “show radius server”[Command]
show radius server {all | ip-address }
[Purpose]
Display radius server configuration
[View]
System view
[Use Cases]
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#radius global
Section titled “radius global”[Command]
radius global [auth-type {pap|chap|mschapv2}] [passkey passkey ] [src-ip src-ip ] [nas-ip nas-ip ] [timeout timeout ] [retransmit retransmit ]
[Purpose]
Configure authentication parameters for the RADIUS server.
[Parameter]
| Parameter | Description |
|---|---|
| password | 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]
sonic(config)# radius global auth-type papsonic(config)# radius global passket test_passwdradius server
Section titled “radius server”[Command]
radius server server-ip [passkey passkey ] [auth-port auth-port ] [auth-type auth-type ] [priority priority ] [timeout timeout ] [retransmit retransmit ] [vrf vrf_name ] [src-intf src-intf ]
[Purpose]
Configure radius server.
[Parameter]
| Parameter | Description |
|---|---|
| server-ip | 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 | Value range: 1-60 seconds |
| retransmit | retry times, 0-10 |
| vrf_name | 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]
sonic(config)# radius server 192.168.0.1 priority 53 auth-type chap passkey mytesting123