Example – HP Intelligent Management Center Licenses User Manual

Page 402

Advertising
background image

Example

Add a VLAN interface on the device whose ID is 3. The interface parameters are as follows:
vlanId=600, ipAddress=1.1.1.1, ipMask=255.0.0.0.

Request

POST http://imc_host:8080/imcrs/vlan/vlanif?devId=3
accept: application/xml
...
<vlanIf enableDHCP="false" ipAddress="1.1.1.1" ipMask="255.0.0.0" isPrimary="true" vlanId="600"/>

Response

HTTP/1.1 201 Created
Location: http://imc_host:port/imcrs/vlan/vlanif?devId=3

402 Network Service Management

Advertising