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

Page 254

Advertising
background image

ifAccessBind sub-elements

Terminal name.

terminalName

String type.

Device ID.

deviceId

Long integer type.

Device label.

deviceName

String type.

Device IP address.

deviceIp

String type.

Interface description.

ifDesc

String type.

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

bindType

Integer type.

Maintainer.

terminalMaintainer

String type

URI of the device link.

device

String type.

Example

Query information about the switch access binding with ID 1.

Request

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

Response

HTTP/1.1 200 OK
Content-Type: application/xml
...
<ifAccessBind>
<id>1</id>
<deviceId>5</deviceId>
<deviceIp>10.153.89.1</deviceIp>
<deviceName>H3C</deviceName>
<ifDesc>GigabitEthernet4/0/7</ifDesc>
<bindType>1</bindType>
<terminalMac>2a:2b:2c:2d:2e:2f</terminalMac>
<terminalIp/>
<terminalName>2</terminalName>
<terminalMaintainer>2abcdef</terminalMaintainer>
<device>http://localhost:8080/imcrs/plat/res/device/5</device>
</ifAccessBind>

254 Terminal Access Management

Advertising