Dell Powerconnect W-ClearPass Virtual Appliances W-ClearPass Guest 6.0 Deploym - Page 272
GetIpAddressCurrentSession(), GetIpAddressTime(), RADIUS Access-Request Framed-IP-Address attribute.
View all Dell Powerconnect W-ClearPass Virtual Appliances manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 272 highlights
'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 for details of the return value. 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 for details on how to specify the time interval. See "GetIpAddressTraffic() " on page 272 for additional details on the $ip_addr argument. 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 for details on how to specify the time interval. See "GetIpAddressTraffic() " on page 272 for additional details on the $ip_addr argument. 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() Dell Networking W-ClearPass Guest 6.0 | Deployment Guide