Add hybrid port, Interface uri, Access method – HP Intelligent Management Center Licenses User Manual

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

Advertising
background image

Add Hybrid Port

Add a hybrid port on the device.

Interface URI

/vlan/hybrid

Access Method

HTTP

POST

Message body

POST http://imc_host:8080/imcrs/vlan/hybrid?devId=33
accept: application/xml
...
<hybridIf forbidenVlanFlag="false" forbiddenVlans="" ifIndex="2423" pvid="1" taggedVlans="4,5" untagVlanFlag="true"
untaggedVlans="3,7"/>

Parameters

Hybrid port sub-elements

Device type ID.

devId

Integer type. Required. No default value.

Port index, which uniquely identifies a port.

ifIndex

Integer type. Required. No default value.

PVID of the hybrid port.

pvid

Integer type. Required. No default value.

Tagged VLAN.

tagVlan

String type. Optional. The tagVlan and untagVlan parameters cannot be empty at the same time.

Untagged VLAN flag.

untagVlanFlag

Boolean type. Required.

Untagged VLAN.

untagVlan

String type. Optional. The tagVlan and untagVlan parameters cannot be empty at the same time.

Forbidden VLAN flag.

forbidenVlanFlag

Boolean type. Required.

Forbidden VLAN.

forbiddenVlans

String type. Optional. This parameter is effective only to HP products.

Returned Result

Status codes

201 (Created): Success.

409 (Conflict): Failure. See

Error Codes

.”

384 Network Service Management

Advertising