< Home

Data Model

The data model files matching EFM are huawei-efm.yang and ietf-interfaces.yang.

Table 1 EFM data model

Object

Description

Value

Remarks

/huawei-efm/efm/enabled

Indicates whether EFM is enabled globally.

The value is of the Boolean type:
  • true: EFM is enabled globally.

  • false: EFM is disabled globally.

  • You can configure other EFM objects only after EFM is enabled globally.

  • Before disabling EFM globally, you need to delete all the configuration of EFM objects.

/ietf-interfaces/interfaces/interface/huawei-efm:efm/mode

Indicates the EFM working mode on an interface.

The value is of the enumerated type:
  • active: Active mode is configured on the interface.

  • passive: Passive mode is configured on the interface.

NA

/ietf-interfaces/interfaces/interface/huawei-efm:efm/enabled

Indicates whether EFM is enabled on an interface.

The value is of the Boolean type:
  • true: EFM is enabled on an interface.

  • false: EFM is disabled on an interface.

The following objects can be configured only after EFM is enabled on an interface. Similarly, delete the following objects before you disable EFM on an interface.
  • /ietf-interfaces/interfaces/interface/huawei-efm:efm/ignore-request

  • /ietf-interfaces/interfaces/interface/huawei-efm:efm/critical-event-trigger

  • /ietf-interfaces/interfaces/interface/huawei-efm:efm/dying-gasp-trigger

  • /ietf-interfaces/interfaces/interface/huawei-efm:efm/link-fault-trigger

  • /ietf-interfaces/interfaces/interface/huawei-efm:efm/timeout-trigger

/ietf-interfaces/interfaces-state/interface/huawei-efm:efm/efm

Indicates that EFM session information is queried.

NA

NA

/ietf-interfaces/interfaces/interface/huawei-efm:efm/error-code/enabled

Indicates whether the interface is enabled to report EFM errored codes.

The value is of the Boolean type:
  • true: The interface is enabled to report EFM errored codes.

  • false: The interface is disabled from reporting EFM errored codes.

NA

/ietf-interfaces/interfaces/interface/huawei-efm:efm/error-code/period

Indicates the period for detecting EFM errored codes on an interface.

The value is an integer that ranges from 1 to 60, in seconds.

NA

/ietf-interfaces/interfaces/interface/huawei-efm:efm/error-code/threshold

Indicates the threshold for detecting EFM errored codes on an interface.

The value is an integer that ranges from 0 to 65535. The value 0 is not recommended.

NA

/ietf-interfaces/interfaces/interface/huawei-efm:efm/error-frame/enabled

Indicates whether the interface is enabled to report EEM errored frames.

The value is of the Boolean type:
  • true: The interface is enabled to report EFM errored frames.

  • false: The interface is disabled from reporting EFM errored frames.

NA

/ietf-interfaces/interfaces/interface/huawei-efm:efm/error-frame/period

Indicates the period for detecting EFM errored frames on an interface.

The value is an integer that ranges from 1 to 60, in seconds.

NA

/ietf-interfaces/interfaces/interface/huawei-efm:efm/error-frame/threshold

Indicates the threshold for detecting EFM errored frames on an interface.

The value is an integer that ranges from 0 to 65535. The value 0 is not recommended.

NA

/ietf-interfaces/interfaces/interface/huawei-efm:efm/error-frame-second/enabled

Indicates whether the interface is enabled to report EEM errored frame seconds.

The value is of the Boolean type:
  • true: The interface is enabled to report EFM errored frame seconds.

  • false: The interface is disabled from reporting EFM errored frame seconds.

NA

/ietf-interfaces/interfaces/interface/huawei-efm:efm/error-frame-second/period

Indicates the period for detecting EFM errored frame seconds on an interface.

The value is an integer that ranges from 10 to 900, in seconds.

NA

/ietf-interfaces/interfaces/interface/huawei-efm:efm/error-frame-second/threshold

Indicates the threshold for detecting EFM errored frame seconds on an interface.

The value is an integer that ranges from 0 to 900. The value 0 is not recommended.

NA

/ietf-interfaces/interfaces-state/interface/huawei-efm:efm/errored-code-statistics

Indicates that statistics about local link errored code events are queried.

NA

NA

/ietf-interfaces/interfaces-state/interface/huawei-efm:efm/errored-frame-statistics

Indicates that statistics about local link errored frame events are queried.

NA

NA

/ietf-interfaces/interfaces-state/interface/huawei-efm:efm/errored-frame-period-statistics

Indicates that statistics about local link errored frame period events are queried.

NA

NA

/ietf-interfaces/interfaces-state/interface/huawei-efm:efm/errored-frame-seconds-statistics

Indicates that statistics about local link errored frame second events are queried.

NA

NA

/huawei-efm/remote-loopback/operate-type

Indicates that the interface initiates or terminates EFM remote loopback.

The value is of the enumerated type:
  • start: EFM remote loopback is initiated.
  • stop EFM remote loopback is stopped.

NA

/huawei-efm/remote-loopback/timeout

Indicates the timeout interval of an EFM remote loopback.

The value is an integer that ranges from 0 to 1000, in minutes.

NA

/huawei-efm/remote-loopback/interface

Indicates the interface that initiates or terminates EFM remote loopback.

The value must be set according to the device configuration.

NA

/huawei-efm/test-packet/packet-number

Indicates the number of EFM remote loopback packets to be sent.

The value is 5.

The number of sent packets cannot be set and takes effect by default.

/huawei-efm/test-packet/packet-size

Indicates the length of a EFM remote loopback packet.

The value is an integer that ranges from 64 to 1518, in bytes.

NA

/huawei-efm/test-packet/interface

Indicates the outbound interface of EFM remote loopback packets.

The value must be set according to the device configuration.

NA

/ietf-interfaces/interfaces/interface/huawei-efm:efm/ignore-request

Indicates that the interface is configured to ignore remote loopback requests.

The value is of the Boolean type:
  • true: The interface is configured to ignore remote loopback requests.

  • false: The interface is configured to process remote loopback requests.

NA

/huawei-efm/efm-statistics/test-packet-statistics

Indicates that statistics about sent EFM remote loopback packets are queried.

NA

NA

/ietf-interfaces/interfaces/interface/huawei-efm:efm/critical-event-trigger

Indicates whether a non-specific major event is associated with an interface.

The value is of the Boolean type:
  • true: A non-specific major event is associated with an interface.

  • false: A non-specific major event is not associated with an interface.

NA

/ietf-interfaces/interfaces/interface/huawei-efm:efm/dying-gasp-trigger

Indicates whether a dying gasp event is associated with an interface.

The value is of the Boolean type:
  • true: A dying gasp event is associated with an interface.

  • false: A dying gasp event is not associated with an interface.

NA

/ietf-interfaces/interfaces/interface/huawei-efm:efm/link-fault-trigger

Indicates whether a physical link fault event is associated with an interface.

The value is of the Boolean type:
  • true: A physical link fault event is associated with an interface.

  • false: A physical link fault event is not associated with an interface.

NA

/ietf-interfaces/interfaces/interface/huawei-efm:efm/timeout-trigger

Indicates whether an EFM packet receiving timeout event is associated with an interface.

The value is of the Boolean type:
  • true: An EFM packet receiving timeout event is associated with an interface.

  • false: An EFM packet receiving timeout event is not associated with an interface.

NA

/huawei-efm/oam-mgr/oam-bind-efm/ingress-port

Indicates the name of the EFM-enabled interface.

The value must be set according to the device configuration.

NA

/huawei-efm/oam-mgr/oam-bind-efm/direction

Indicates the direction where faults are reported between EFM and an interface.

The value is of the enumerated type:
  • port-to-efm: An interface is configured to report faults to EFM.
  • efm-to-port: EFM is configured to report faults to an interface.

NA

/huawei-efm/oam-mgr/oam-bind-efm/egress-port

Indicates the name of the interface bound to EFM.

The value must be set according to the device configuration.

NA

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