Example – HP Intelligent Management Center Licenses User Manual

Page 212

Advertising
background image

ipMacLearnResult sub-elements

String type.

Example

Query and list current accesses on the device whose ID is 10.

Request

GET http://localhost:8080/imcrs/res/access/ipMacLearn/10
accept: application/xml
...

Response

HTTP/1.1 200 OK
Content-Type: application/xml
...

<list>
<ipMacLearnResult>
<deviceId>2</deviceId>
<deviceIp>10.153.89.1</deviceIp>
<ifIndex>33</ifIndex>
<ifDesc>GigabitEthernet4/0/3</ifDesc>
<vlanId>2</vlanId>
<learnIp>10.153.88.167</learnIp>
<learnMac>00:09:6b:b0:6e:14</learnMac>
<device>http://localhost:8080/imcrs/plat/res/device/2</device>
<iface>http://localhost:8080/imcrs/plat/res/device/2/interface/33</iface>
</ipMacLearnResult>
...
</list>

212

Terminal Access Management

Advertising