Cisco Cisco Identity Services Engine 1.2 产品宣传页

下载
页码 164
 
2-6
思科身份服务引擎 API 参考指南,版本 1.4
OL-26134-01
 2       会话管理查询 API
  简单会话列表 API 调用
发起 ActiveList API 调用
步骤 1
在浏览器的地址栏内输入 Cisco ISE URL(例如,https://<ISE 主机名或 IP 地址 >/admin/)。
步骤 2
输入在 Cisco ISE 初始设置过程中指定和配置的用户名及密码(区分大小写)。
步骤 3
点击 Login 或按 Enter
例如,如果您最初使用主机名 acme123 登录思科监控 ISE 节点,对于此节点,系统将显示以下 
URL 地址字段:
https://acme123/admin/LoginAction.do#pageId=com_cisco_xmp_web_page_tmpdash
步骤 4
通过将“/admin/”部分替换为 API 调用部分 (/admin/API/mnt/Session/<specific-api-call>),在目标
节点的 URL 地址字段输入 ActiveList API 调用:
https://acme123/admin/API/mnt/Session/ActiveList
注意
由于这些调用区分大小写,所以在目标节点的 URL 地址字段输入每个 API 调用时请务必
仔细。在 API 调用约定中使用“mnt”表示思科监控 ISE 节点。
步骤 5
按 Enter 将发出 API 调用。
相关主题
ActiveList API 调用返回的数据示例
以下示例展示的是您在目标思科监控 ISE 节点上发起 ActiveList API 调用时从活动会话列表返回
的会话相关数据:
This XML file does not appear to have any style information associated with it. The 
document tree is shown below.
      
-
<activeSessionList noOfActiveSession="5">
-
<activeSession>
<calling_station_id>00:0C:29:FA:EF:0A</calling_station_id>
<server>HAREESH-R6-1-PDP2</server>
</activeSession>
-
<activeSession>
<calling_station_id>70:5A:B6:68:F7:CC</calling_station_id>
<server>HAREESH-R6-1-PDP2</server>
</activeSession>
-
<activeSession>
<user_name>tom_wolfe</user_name>
<calling_station_id>00:14:BF:5A:0C:03</calling_station_id>
<nas_ip_address>10.203.107.161</nas_ip_address>
<acct_session_id>00000032</acct_session_id>
<server>HAREESH-R6-1-PDP2</server>
</activeSession>
-
<activeSession>
<user_name>graham_hancock</user_name>