< Home

Querying the Rate of Interfaces in a MultiGE Interface Group

This section provides a sample of querying the rate of interfaces in a MultiGE interface group using the get method.

Operation

XPATH

get

/dev:device-state/group-speed-state/slot/slot-index

/dev:device-state/group-speed-state/slot/supported

/dev:device-state/group-speed-state/slot/group/group-index

/dev:device-state/group-speed-state/slot/group/base-speed

/dev:device-state/group-speed-state/slot/group/config-speed

/dev:device-state/group-speed-state/slot/group/current-speed

/dev:device-state/group-speed-state/slot/group/next-speed

Request Example

<get>
  <filter type="subtree">
    <dev:device-state xmlns:dev="urn:huawei:params:xml:ns:yang:huawei-device">
      <dev:group-speed-state/>
    </dev:device-state>
  </filter>
</get>

Response Example

<?xml version="1.0" encoding="utf-8"?>
<data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"
      xmlns:dev="urn:huawei:params:xml:ns:yang:huawei-device">
  <device-state xmlns="urn:huawei:params:xml:ns:yang:huawei-device">
    <group-speed-state>
      <slot>
        <slot-index>0</slot-index>
        <supported>true</supported>
        <group>
          <group-index>0</group-index>
          <base-speed>1000</base-speed>
          <config-speed>2500</config-speed>
          <current-speed>1000</current-speed>
          <next-speed>2500</next-speed>
        </group>
        <group>
          <group-index>1</group-index>
          <base-speed>1000</base-speed>
          <config-speed>5000</config-speed>
          <current-speed>1000</current-speed>
          <next-speed>5000</next-speed>
        </group>
        <group>
          <group-index>2</group-index>
          <base-speed>1000</base-speed>
          <config-speed>10000</config-speed>
          <current-speed>1000</current-speed>
          <next-speed>10000</next-speed>
        </group>
        <group>
          <group-index>3</group-index>
          <base-speed>1000</base-speed>
          <config-speed>1000</config-speed>
          <current-speed>1000</current-speed>
          <next-speed>1000</next-speed>
        </group>
      </slot>
    </group-speed-state>
  </device-state>
</data>
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic