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

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

Advertising
background image

Add Switch Access Binding

Add a switch access binding.

Interface URI

/res/access/ifAccessBind

Access Method

HTTP

POST

Message body

<ifAccessBind>
<terminalMac>18:28:38:47:17:26</terminalMac>
<terminalName>a2</terminalName>
<bindType>1</bindType>
<ifInfo>
<deviceId>5</deviceId>
<ifIndex>29</ifIndex>
</ifInfo>
</ifAccessBind>

Elements

ifAccessBind sub-elements

Terminal MAC address.

terminalMac

String type. Required when bindType takes 1.

Terminal name.

terminalName

String type.

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

bindType

Integer type.

Maintainer.

terminalMaintainer

String type.

Interface information.

ifInfo

Element type. Required. No default value.

Device ID.

deviceId

Long integer type.

Interface index.

ifIndex

Long integer type.

Returned Result

Status codes

201 (Created): Success.

409 (Conflict): Failure. See

Error Codes

.”

Add Switch Access Binding 257

Advertising