Example – HP Intelligent Management Center Licenses User Manual
Page 391

Example
Query and list information about the first five trunk ports on the device whose ID is 33.
Request
GET http://imc_host:8080/imcrs/vlan/trunk?devId=13&start=0&size=5
accept: application/xml
...
Response
HTTP/1.1 200 OK
Content-Type: application/xml
...
<list>
<trunkIf>
<ifIndex>4227634</ifIndex>
<pvid>1</pvid>
<allowedVlans>1,10</allowedVlans>
</trunkIf>
<trunkIf>
<ifIndex>4227698</ifIndex>
<pvid>23</pvid>
<allowedVlans>1-1024</allowedVlans>
</trunkIf>
<trunkIf>
<ifIndex>4227706</ifIndex>
<pvid>23</pvid>
<allowedVlans>1-1024</allowedVlans>
</trunkIf>
<trunkIf>
<ifIndex>4227754</ifIndex>
<pvid>56</pvid>
<allowedVlans>1-1024</allowedVlans>
</trunkIf>
<trunkIf>
<ifIndex>503316850</ifIndex>
<pvid>1</pvid>
<allowedVlans>1</allowedVlans>
</trunkIf>
<link href="http://localhost:8080/imcrs/vlan/trunk?start=5&size=5&total=false&devId=13" op="GET" rel="next"/>
</list>
Query Trunk Ports
391