Dell PowerConnect W Clearpass 100 Software 3.9 Deployment Guide - Page 485
GetUserCurrentSession(), GetIpAddressCurrentSession(), GetCallingStationCurrentSession
View all Dell PowerConnect W Clearpass 100 Software manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 485 highlights
'acctsessionid' => '4a762dbf00000002', 'acctuniqueid' => 'c199b5a94ebf5184', 'username' => '[email protected]', 'realm' => '', 'role_name' => 'Guest', 'nasipaddress' => '192.168.2.20', '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, ) GetUserCurrentSession() GetUserCurrentSession($username) Looks up the current (most recent) active session for the specified username. See "GetCurrentSession()" for details of the return value. 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()" for details of the return value. GetCallingStationCurrentSession() GetCallingStationCurrentSession($callingstationid, $mac_format = null) Looks up the current (most recent) active session for the specified calling station ID. Because different NAS equipment can send differently-formatted MAC addresses in the Calling-Station-Id attribute, the $mac_format argument may be specified. This should be a sprintf-style format string that accepts 6 arguments (the octets of the MAC address). The default if not specified is the IEEE 802 standard format, %02X-%02X-%02X-%02X-%02X-%02X - that is, uppercase hexadecimal with each octet separated with a hyphen. ClearPass Guest 3.9 | Deployment Guide Reference | 485