Configuring RADIUS Server

Use the following sample configuration to configure the RADIUS server.

config 
   profile radius 
      server ipv4_address port_num 
         secret secret_key 
         priority priority_value 
         type { acct | auth } 
         commit 

NOTES:

  • profile radius : Enter the RADIUS configuration mode.

  • server ipv4_address port_num : Specify the IPv4 address and port of the RADIUS server.

  • secret secret_key : Specify the secret key.

  • priority priority_value : Specify the server priority.

  • type { acct | auth } : Specify the type of the RADIUS server. The server can be one of the following:

    • acct : RADIUS server used for the accounting requests

    • auth : RADIUS server used for the authentication requests

  • commit : Commit the configuration.

Example

The following is an example of the RADIUS server configuration.

profile radius 
 server 1.2.3.4 1812 
  secret   $8$73a0i4G3ILj0Np+8tn2QOoWDj3QkB+oefPc2ZK6RE6A= 
  priority 1 
 exit 
 server 1.2.5.6 1812 
  secret   $8$VccEEUVou7m5ptA9WZRPR7KDmxQ/L3KlJ3QqgHjexkk= 
  priority 2 
 exit 
exit