Configuring RADIUS Attributes

To configure the RADIUS attributes for authentication and accounting, use the following sample configuration:

config 
   profile radius 
      attribute [  [ instance gr_instance_id ]   [ nas-identifier nas_id ] [ nas-ip ipv4_address ] ] 
      end 

NOTES:

  • profile radius : Enter the RADIUS configuration mode.

  • attribute [ [ instance gr_instance_id ] [ nas-identifier nas_id ] [ nas-ip ipv4_address ] ] : Configure the RADIUS identification parameters.

    • instance gr_instance_id : Specify the Geographic Redundancy (GR) instance ID. gr_instance_id must be an integer.

    • nas-identifier nas_id : Specify the attribute name by which the system will be identified in Accounting-Request messages. nas_id 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.

  • The NAS-IP-Address and NAS-Identifier attributes can be configured per instance-id in RADIUS profile configuration. In this case, NAS-IP-Address and NAS-Identifier attributes under instance configuration are treated as high priority over the non-instance based attribute configuration.

Example

The following is an example of the RADIUS attributes configuration.

config 
   profile radius 
      attribute 
         instance 1 
            nas-identifier CiscoSmf 
         exit 
      exit 
   exit 
exit