Example – HP Intelligent Management Center Licenses User Manual

Page 263

Advertising
background image

Message body

<list>
<ipMacBind>
<id>1</id>
<ip>10.153.89.1</ip>
<mac>00:11:22:33:44:55</mac>
<name>H3C</name>
<type>9</type>
<link href="http://localhost:8080/imcrs/res/access/ipMacBind/1" op="GET" rel="self"/>
</ipMacBind>
...
</list>

Elements

For meanings of the fields in the message body, see “

Query IP-to-MAC Address Binding

.”

Example

Query and list IP-to-MAC address bindings.

Request

GET http://imc_host:8080/imcrs/res/access/ipMacBind
accept: application/xml
...

Response

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

<list>
<ipMacBind>
<id>1</id>
<ip>10.153.89.1</ip>
<mac>00:11:22:33:44:55</mac>
<name>H3C</name>
<type>9</type>
<link href="http://localhost:8080/imcrs/res/access/ipMacBind/1" op="GET" rel="self"/>
</ipMacBind>
...
</list>

Query IP-to-MAC Address Bindings 263

Advertising