Example, Request, Response – HP Intelligent Management Center Licenses User Manual

Page 242

Advertising
background image

macAccessBind sub-elements

Terminal name.

terminalName

String type.

Device ID.

deviceId

Long integer type.

Device label.

deviceLabel

String type.

Device IP address.

deviceIp

String type.

Interface description.

ifDesc

String type.

Binding type. 1 for no authentication. 2 for MAC-to-interface binding.

bindType

Integer type.

URI of the device link.

device

String type.

Example

Query information about the terminal access binding with ID 1.

Request

GET http://localhost:8080/imcrs/res/access/macAccessBind/1
accept: application/xml
...

Response

HTTP/1.1 200 OK
Content-Type: application/xml
...
<macAccessBind>
<id>1</id>
<deviceId>2</deviceId>
<deviceLabel>H3C</deviceLabel>
<deviceIp>10.153.89.1</deviceIp>
<ifDesc>GigabitEthernet4/0/3</ifDesc>
<terminalMac>11:22:33:44:55:66</terminalMac>
<terminalName>myTerminal</terminalName>
<terminalIp/>
<bindType>2</bindType>
<device>http://localhost:8080/imcrs/plat/res/device/2</device>
</macAccessBind>

242 Terminal Access Management

Advertising