< Home

Data Model

The configuration model file matching Eth-Trunk management is huawei-eth-trunk.yang.

Table 1 Eth-Trunk management

Object

Description

Value

Remarks

/ietf-interfaces:interfaces/interface/huawei-eth-trunk:eth-trunk/trunk-work-mode

Indicates the Eth-Trunk mode.

The value is of the enumerated type:
  • lacp
  • manual

N/A

/ietf-interfaces:interfaces/interface/huawei-eth-trunk:eth-trunk/assign-interface

Indicates the Eth-Trunk member interface.

The value is a string.

In NETCONF mode, interfaces cannot be added to Eth-Trunk0.

/huawei-eth-trunk:eth-trunk-state/interface/name

Indicates the Eth-Trunk interface to view the configuration.

The value is a string.

This object only supports the get operation.

/huawei-eth-trunk:eth-trunk-state/interface/lag-id

Displays the ID of the Eth-Trunk interface.

The value is an integer.

This object only supports the get operation.

/huawei-eth-trunk:eth-trunk-state/interface/trunk-work-mode

Displays the working mode of the Eth-Trunk interface.

The value is of the enumerated type:
  • lacp
  • manual

This object only supports the get operation.

/huawei-eth-trunk:eth-trunk-state/interface/preempt-mode

Displays the status of the LACP priority preemption in LACP mode.

The value is of the boolean type:
  • true: Indicates that priority preemption is enabled.
  • false: Indicates that priority preemption is disabled.

This object only supports the get operation.

/huawei-eth-trunk:eth-trunk-state/interface/preempt-delay-time

Displays the LACP preemption delay, in seconds.

The value is an integer.

This object only supports the get operation.

/huawei-eth-trunk:eth-trunk-state/interface/load-balance

Displays the load balancing mode of the Eth-Trunk interface.

The value is of the enumerated type:
  • dst-ip: Indicates load balancing based on destination IP addresses.
  • dst-mac: Indicates load balancing based on destination MAC addresses.
  • src-ip: Indicates load balancing based on source IP addresses.
  • src-mac: Indicates load balancing based on source MAC addresses.
  • src-dst-ip: Indicates load balancing based on source and destination IP addresses.
  • src-dst-mac: Indicates load balancing based on source and destination MAC addresses.

This object only supports the get operation.

/huawei-eth-trunk:eth-trunk-state/interface/system-priority

Displays the LACP system priority.

The value is an integer.

This object only supports the get operation.

/huawei-eth-trunk:eth-trunk-state/interface/system-id

Displays the system ID.

The value is in the format of H-H-H. Each H is a 4-digit hexadecimal number.

This object only supports the get operation.

/huawei-eth-trunk:eth-trunk-state/interface/least-active-num

Displays the lower threshold of member links that are in Up state.

The value is an integer.

This object only supports the get operation.

/huawei-eth-trunk:eth-trunk-state/interface/max-active-num

Displays the upper threshold of member links that are in Up state.

The value is an integer.

This object only supports the get operation.

/huawei-eth-trunk:eth-trunk-state/interface/max-bandwidth-affected

Displays the maximum number of connections that affect the Eth-Trunk bandwidth.

The value is an integer.

This object only supports the get operation.

/huawei-eth-trunk:eth-trunk-state/interface/oper-status

Displays the status of the Eth-Trunk interface.

The value is of the enumerated type:
  • up: Indicates that the Eth-Trunk interface is working properly.
  • down: Indicates that the interface is physically down.

This object only supports the get operation.

/huawei-eth-trunk:eth-trunk-state/interface/up-port-num

Displays the number of member interfaces that are in Up state in the Eth-Trunk interface.

The value is an integer.

This object only supports the get operation.

/huawei-eth-trunk:eth-trunk-state/interface/eth-trunk-member/name

Displays the name of a member interface.

The value is a string.

This object only supports the get operation.

/huawei-eth-trunk:eth-trunk-state/interface/eth-trunk-member/index

Displays the index of a member interface.

The value is an integer.

This object only supports the get operation.

/huawei-eth-trunk:eth-trunk-state/interface/eth-trunk-member/oper-status

Displays the status of an Eth-Trunk member interface.

The value is of the enumerated type:
  • up: Indicates that the member interface is working properly.
  • down: Indicates that the interface is physically down.

This object only supports the get operation.

/huawei-eth-trunk:eth-trunk-state/interface/eth-trunk-member/weight

Displays the weight of a member interface.

The value is an integer.

This object only supports the get operation.

/huawei-eth-trunk:eth-trunk-state/interface/eth-trunk-member/remote-sys-id

Displays the system ID of a peer member interface.

The value is in the format of H-H-H. Each H is a 4-digit hexadecimal number.

This object only supports the get operation.

/huawei-eth-trunk:eth-trunk-state/interface/eth-trunk-member/remote-sys-pri

Displays the LACP system priority of a peer member interface.

The value is an integer.

This object only supports the get operation.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >