Example – HP Intelligent Management Center Licenses User Manual

Page 150

Advertising
background image

Message body

<list>
<interface>
<deviceId>61</deviceId>
<ifIndex>4</ifIndex>
<ifType>6</ifType>
<ifDescription>Ethernet1/0/4</ifDescription>
<adminStatus>1</adminStatus>
<operationStatus>2</operationStatus>
<ifspeed>100000000</ifspeed>
<appointedSpeed>-1</appointedSpeed>
<ifAlias>Ethernet1/0/4 Interface</ifAlias>
<phyAddress>00:e0:fc:00:35:00</phyAddress>
<mtu>1552</mtu>
<lastChange>0 days 0 hours 0 minutes 20 seconds 930 milliseconds</lastChange>
</interface>
...
</list>

Element description

For the description on each field of the returned value, see “

Query Device Information

.”

Example

Query interface view with the ID 1.

Request

GET http://imc_host:8080/imcrs/plat/res/view/interface/1
accept: application/xml
...

Response

HTTP/1.1 200 OK
Content-Type: application/xml
...
<list>
<interface>
<deviceId>61</deviceId>
<ifIndex>4</ifIndex>
<ifType>6</ifType>
<ifDescription>Ethernet1/0/4</ifDescription>
<adminStatus>1</adminStatus>
<operationStatus>2</operationStatus>
<ifspeed>100000000</ifspeed>
<appointedSpeed>-1</appointedSpeed>
<ifAlias>Ethernet1/0/4 Interface</ifAlias>
<phyAddress>00:e0:fc:00:35:00</phyAddress>
<mtu>1552</mtu>
<lastChange>0 days 0 hours 0 minutes 20 seconds 930 milliseconds</lastChange>
</interface>
...
</list>

150

Network Resource Management

Advertising