hw-state

Displays hardware route information

Resource URIs

URI Description
<base_URI>/operational-state/hw-state Displays hardware route information.

Usage Guidelines

Only GET operation is supported. Use of the Resource-Depth request header is recommended.

Examples

URI

The following example shows the complete cURL command and server response for the hw-state GET operation.

http://host:80/rest/operational-state/hw-state

curl -H "Accept: application/vnd.operational-state.resource+xml" -H "Resource-Depth: 6"  
-u "lab:Tester**"  http://10.20.229.40:80/rest/operational-state/hw-state
<data xmlns="http://brocade.com/ns/rest" xmlns:y="http://brocade.com/ns/rest" y:self="/rest/operational-state">
<hw-state xmlns="urn:brocade.com:mgmt:brocade-sysdiag-operational" y:self="/rest/operational-state/hw-state">
  <hw-route-info y:self="/rest/operational-state/hw-state/hw-route-info/65535%2C0%2C0%2C0">
    <slot>65535</slot>
    <tower>0</tower>
    <etcam-profile>0</etcam-profile>
    <snowball>0</snowball>
    <lpm-percent>23.000000</lpm-percent>
    <lem-percent>.000000</lem-percent>
    <tcam-percent>.000000</tcam-percent>
    <lpm-ipv4>47673</lpm-ipv4>
    <lpm-ipv6>8524</lpm-ipv6>
    <lpm-other>0</lpm-other>
    <lem-ipv4>732</lem-ipv4>
    <lem-ipv6>0</lem-ipv6>
    <lem-other>0</lem-other>
    <lpm-total>81769</lpm-total>
    <lem-total>0</lem-total>
    <tcam-ipv4>0</tcam-ipv4>
    <tcam-ipv6>0</tcam-ipv6>
    <tcam-total>0</tcam-total>
  </hw-route-info>
</hw-state>
</data>

History

Release version History
18r.2.00 This API call was introduced.