Fortinet white logo
Fortinet white logo

CLI Reference

config user radius

config user radius

Configure the FortiExtender to access a RADIUS server.

config user radius
  edit <name>
    set server {string}
    set secret {password}
    set auth-type [auto||ms_chap_v2|...]
    set timeout {integer}
    set transport-protocol [udp]
    set nas-ip {string}
  next
end

Sample command:

config user radius
  edit example_radius
    set server <IPv4 address>
    set secret <password>
    set auth-type auto
    set timeout 5
    set transport-protocol udp
    set nas-ip <IPv4 address>
  next
end

Parameter

Description

Type

Size

Default

name

Name of the RADIUS server table.

string

-

none

server

Primary RADIUS server IP address in IPv4.

string

-

none

secret

Pre-shared secret key used to access the primary RADIUS server.

password

1-128

none

auth-type

Authentication protocols permitted for this RADIUS server. You can select the following options:

  • auto

  • ms_chap_v2

  • ms_chap

  • chap

  • pap

If the authentication type is set to auto, FortiExtender uses the following protocols in sequence:

PAP → MSCHAP_v2 → CHAP

FortiExtender will only try the next protocol once it receives a RADIUS-reject message

option

-

auto

timeout

Time in seconds to retry connecting to the RADIUS server.

integer

-

5

transport-protocol

Transport protocol to be used.

  • udp

option

-

udp

nas-ip

IPv4 address used for the FortiExtender to communicate with the RADIUS server. It is also used as the NAS-IP-Address and Called-Station-ID attributes.

string

-

none

config user radius

config user radius

Configure the FortiExtender to access a RADIUS server.

config user radius
  edit <name>
    set server {string}
    set secret {password}
    set auth-type [auto||ms_chap_v2|...]
    set timeout {integer}
    set transport-protocol [udp]
    set nas-ip {string}
  next
end

Sample command:

config user radius
  edit example_radius
    set server <IPv4 address>
    set secret <password>
    set auth-type auto
    set timeout 5
    set transport-protocol udp
    set nas-ip <IPv4 address>
  next
end

Parameter

Description

Type

Size

Default

name

Name of the RADIUS server table.

string

-

none

server

Primary RADIUS server IP address in IPv4.

string

-

none

secret

Pre-shared secret key used to access the primary RADIUS server.

password

1-128

none

auth-type

Authentication protocols permitted for this RADIUS server. You can select the following options:

  • auto

  • ms_chap_v2

  • ms_chap

  • chap

  • pap

If the authentication type is set to auto, FortiExtender uses the following protocols in sequence:

PAP → MSCHAP_v2 → CHAP

FortiExtender will only try the next protocol once it receives a RADIUS-reject message

option

-

auto

timeout

Time in seconds to retry connecting to the RADIUS server.

integer

-

5

transport-protocol

Transport protocol to be used.

  • udp

option

-

udp

nas-ip

IPv4 address used for the FortiExtender to communicate with the RADIUS server. It is also used as the NAS-IP-Address and Called-Station-ID attributes.

string

-

none