ltm rule command AAA acct sendΒΆ

iRule(1)		      BIG-IP TMSH Manual		      iRule(1)



AAA::acct_send
       AAA::acct_send

SYNOPSIS
       AAA::acct_send VIRTUAL_SERVER ((('user-name' USERNAME)
					       ('framed-ip-address' IP_ADDR)
					       ('framed-ipv6-prefix'
       IP_ADDR_V6)
					       ('event-timestamp' TIMESTAMP)
					       ('acct-status-type'
       ACCOUNT_TYPE)
					       ('acct-session-id' SESSION_ID)
					       ('acct-input-octets' OCTETS)
					       ('acct-output-octets' OCTETS)
					       ('3gpp-imsi' STRING)
					       ('3gpp-imeisv' STRING)
					       ('3gpp-user-location-info'
       STRING))#)?

DESCRIPTION
       This command is used to send user accouting information to IVS(internal
       virtual server). The accounting information can be identified by one or
       more of the following attributes:
	   - user-name
	   - framed-ip-address
	   - framed-ipv6-prefix
	   - event-timestamp
	   - acct-status-type
	   - acct-session-id
	   - acct-input-octets
	   - acct-output-octets
	   - 3gpp-imsi
	   - 3gpp-imeisv
	   - 3gpp-user-location-info

       Syntax:
	   AAA::acct_send  [user-name ] [framed-ip-address
       ] [framed-ipv6-prefix ] [event-timestamp
       ] [acct-status-type ] [acct-session-id ]
       [acct-input-octets <64-bit integer>] [acct-output-octets <64-bit
       integer>] [3gpp-imsi ] [3gpp-imeisv ]
       [3gpp-user-location-info ]

RETURN VALUE
       request_id  - the id of the current connection that can be used to
       check the status later with AAA::acct_result command

VALID DURING
EXAMPLES
	when HTTP_REQUEST_DATA {
	    set request_id [AAA::acct_send $internal_radius_aaa_vip user-name $username
								    framed-ip-address $framed-ip
								    acct-status-type 1]

	    set aaa_result [AAA::acct_result $request_id]
	    if { $aaa_result == "OK" } {
		# request was successfull
	    } else {
		# handle errors
	    }
	}

HINTS
       an internal virtual server is required in order to send the packet.

SEE ALSO
CHANGE LOG
       @BIGIP-11.6.0
	   --First introduced the command.



BIG-IP				  2017-01-31			      iRule(1)