Change vlan name, Interface uri, Access method – HP Intelligent Management Center Licenses User Manual

Page 374: Returned result, Example

Advertising
background image

Change VLAN Name

Change the name of a VLAN.

Interface URI

/vlan

Access Method

HTTP

PUT

Message body

<vlan>
<vlanId>1111</vlanId>
<vlanName>VLAN 1111</vlanName>
</vlan>

Parameters

Query parameters

Device type ID.

devId

Integer type. Required. No default value.

VLAN ID

vlanId

Integer type. Required. No default value.

VLAN name.

vlanName

String type. Required. No default value.

Returned Result

Status codes

204 (No Content): Success.

409 (Conflict): Failure. See

Error Codes

.”

Example

Change the name to "VLAN 111" for the VLAN with ID 1111 on the device whose ID is 13.

Request

PUT http://localhost:8080/imcrs/vlan?devId=13
accept: application/xml
...
<vlan>
<vlanId>1111</vlanId>
<vlanName>VLAN 1111</vlanName>
</vlan>

Response

HTTP/1.1 204 No Content
...

374

Network Service Management

Advertising