Configuring RADIUS Accounting Options

Use the following sample configuration to configure the RADIUS accounting options.

config 
   profile radius accounting 
      algorithm { first-server | round-robin } 
      attribute { nas-identifier value | nas-ip ipv4_address }  
      deadtime value 
      detect-dead-server response-timeout value 
      max-retry value 
      timeout value 
      commit 

NOTES:

  • profile radius accounting : Enter the RADIUS accounting configuration mode.

  • algorithm { first-server | round-robin } : Define the algorithm for selecting the RADIUS server.

    • first-server : Set the selection logic as highest priority first. This is the default behavior.

    • round-robin : Set the selection logic as round-robin order of servers.

  • attribute { nas-identifier value | nas-ip ipv4_address } : Configure the RADIUS identification parameters.

    • nas-identifier value : Specify the attribute name by which the system will be identified in Accounting-Request messages. value must be an alphanumeric string.

    • nas-ip ipv4_address : Specify the NAS IPv4 address. ipv4_address must be an IPv4 address in dotted decimal notation.

  • deadtime value : Set the time to elapse between RADIUS server marked unreachable and when we can re-attempt to connect.

    value must be an integer from 0 through 65535. Default: 10 minutes.

  • detect-dead-server response-timeout value : Set the timeout value that marks a server as "dead" when a packet is not received for the specified number of seconds.

    value must be an integer from 1 through 65535. Default: 10 seconds.

  • max-retry value : Set the maximum number of times that the system will attempt retry with the RADIUS server.

    value must be an integer in the range of 0–65535. Default: 2

  • timeout value : Set the time to wait for response from the RADIUS server before retransmitting.

    value must be an integer in the range of 1–65535. Default: 2 seconds.

  • commit : Commit the configuration.

  • All the keyword options under the RADIUS accounting configuration mode are also available within the RADIUS configuration mode.