Getipaddresscurrentsession(); Getipaddresssessions(); Getipaddresstime(); Getipaddresstraffic() - Dell Powerconnect W-ClearPass Hardware Appliances Deployment Manual

W-clearpass guest 6.0 deployment guide
Hide thumbs Also See for Powerconnect W-ClearPass Hardware Appliances:
Table of Contents

Advertisement

'nasportid' => '',
'nasporttype' => '',
'calledstationid' => '',
'callingstationid' => '',
'acctstarttime' => '1249258943',
'connectinfo_start' => '',
'acctstoptime' => NULL,
'connectinfo_stop' => NULL,
'acctsessiontime' => 0,
'acctinputoctets' => 0,
'acctoutputoctets' => 0,
'acctterminatecause' => NULL,
'servicetype' => '',
'framedipaddress' => '192.168.2.3',
'framedprotocol' => '',
'acctauthentic' => '',
'nastype' => 'cisco_3576',
'nas_name' => 'centos',
'total_traffic' => 0,
'state' => 'stale',
'traffic_input' => 0,
'traffic_output' => 0,
'traffic_usage' => 0,
'session_time' => 29641260,
)

GetIpAddressCurrentSession()

GetIpAddressCurrentSession($ip_addr = null)
Looks up the current (most recent) active session for the specified client IP address. If ip_addr is not specified, it
defaults to the current value of $smarty.server.REMOTE_ADDR, which may not be the same value as the IP address
of the session if there is a NAT.
See
"GetCurrentSession() " on page 271

GetIpAddressSessions()

GetIpAddressSessions($ip_addr, $from_time = null, $to_time = null)
Calculate the number of sessions for accounting records matching a specific IP address. The IP address attribute is
looked up automatically from the RADIUS Access-Request (Framed-IP-Address attribute).
See
"GetTraffic() " on page 274
See
"GetIpAddressTraffic() " on page 272

GetIpAddressTime()

GetIpAddressTime($ip_addr, $from_time = null, $to_time = null)
Calculate sum of session times in a specified time interval. The IP address is looked up automatically from the
RADIUS Access-Request (Framed-IP-Address attribute).
See
"GetTraffic() " on page 274
See
"GetIpAddressTraffic() " on page 272

GetIpAddressTraffic()

GetIpAddressTraffic($ip_addr, $from_time = null, $to_time = null, $in_out = null)
Calculate sum of traffic counters in a time interval. The IP address used is determined based on the context. If
processing a RADIUS Access-Request, the IP address is determined using the Framed-IP-Address attribute. If
272 | GetIpAddressCurrentSession()
for details of the return value.
for details on how to specify the time interval.
for additional details on the $ip_addr argument.
for details on how to specify the time interval.
for additional details on the $ip_addr argument.
Dell Networking W-ClearPass Guest 6.0 | Deployment Guide

Advertisement

Table of Contents
loading

This manual is also suitable for:

Networking w-clearpass guest 6.0

Table of Contents