To use 802.1X or MAC RADIUS authentication, you must specify the connections on the SRX Series or J Series device for each RADIUS server to which you will connect.
To configure a RADIUS server:
![]() |
Note: For 802.1X authentication, the RADIUS server must be configured at the access hierarchy level. |
[edit]user@host# edit access[edit access]user@host# set radius-server 10.0.0.100
port 1812 secret abc
To define more than one RADIUS server, you need to enter separate radius-server commands.
By default, the RADIUS server uses the address of the interface sending the RADIUS request to determine the source of a request. If the request has been diverted on an alternate route to the RADIUS server, however, the interface relaying the request might not be an interface on the SRX Series or J Series device. To ensure that the source is identified correctly, specify its IP address explicitly.
[edit access]user@host# set radius-server
10.0.0.100 source-address 10.93.14.100
[edit access]user@host# set profile
profile1 authentication-order radius
[edit access]user@host# set profile
profile1 radius authentication-server 10.0.0.100
[edit access]user@host# top [edit]user@host# set protocols dot1x authenticator
authentication-profile-name profile1