Add terminal access binding, Interface uri, Access method – HP Intelligent Management Center Licenses User Manual

Page 245: Returned result, Interface uri access method returned result

Advertising
background image

Add Terminal Access Binding

Add a terminal access binding.

Interface URI

/res/access/macAccessBind

Access Method

HTTP

POST

Message body

<macAccessBind>
<terminalMac>1a:2a:3a:4c:1c:2c</terminalMac>
<terminalName>a1</terminalName>
<bindType>2</bindType>
<ifInfo>
<deviceId>2</deviceId>
<ifIndex>1</ifIndex>
</ifInfo>
</macAccessBind>

Elements

macAccessBind sub-elements

Terminal MAC address.

terminalMac

String type. Required. No default value.

Terminal name.

terminalName

String type. Optional. No default value.

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

bindType

Integer type. Required. No default value.

Maintainer.

maintainer

String type. Optional. No default value.

Interface information.

ifInfo

Element type. Required when bindType takes 2. Multiple elements are supported.

Device ID.

ifInfo/deviceId

Long integer type.

Interface index.

ifInfo/ifIndex

Long integer type.

Returned Result

Status codes

201 (Created): Success.

409 (Conflict): Failure. See

Error Codes

.”

Add Terminal Access Binding 245

Advertising