HP Intelligent Management Center Extended API User Guide

Change PVID of Access Port
Change the PVID of an access port.
Interface URI
/vlan/access
Access Method
HTTP
PUT
Message body
PUT http://imc_host:8080/imcrs/vlan/access?devId=33&destVlanId=4&ifIndex=1794
accept: application/xml
...
Parameters
Access port sub-elements
Device type ID.devId
Integer type. Required. No default value.
Target VLAN ID.destVlanId
Integer type. Required. No default value.
Port index, which uniquely identifies a port.ifIndex
Integer type. Required. No default value.
Returned Result
Status codes
204 (No Content): Success.
409 (Conflict): Failure. See Error Codes.
Example
Change the PVID to 4 for a port indexed 1794 on the device with ID 33.
Request
PUT http://imc_host:8080/imcrs/vlan/access?devId=33&destVlanId=4&ifIndex=1794
accept: application/xml
...
Response
None.
380 Network Service Management