Example – HP Intelligent Management Center Licenses User Manual

Page 393

Advertising
background image

Example

Add a trunk port on the device whose ID is 33. The port parameters are as follows: ifIndex=2434,
pvid=1, allowedVlan=4,7.

Request

POST http://imc_host:8080/imcrs/vlan/trunk?devId=33
accept: application/xml
...
<trunkIf allowedVlans="4,7" ifIndex="2423" pvid="1"/>

Response

HTTP/1.1 201 Created
Location: http://imc_host:port/imcrs/vlan/trunk?devId=33

Add Trunk Port 393

Advertising