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

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

Advertising
background image

Modify Hybrid Port

Modify the parameters of a hybrid port on the device.

Interface URI

/vlan/hybrid

Access Method

HTTP

PUT

Message body

PUT 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"/>

Elements

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

204 (No Content): Success.

409 (Conflict): Failure. See

Error Codes

.”

Modify Hybrid Port 387

Advertising