< Home

display efm

Function

The display efm command displays the EFM configuration on an interface.

Format

display efm { all | interface interface-type interface-number }

Parameters

Parameter Description Value
all

Displays the EFM configuration on all the interfaces enabled with EFM.

-
interface-type interface-number

Displays the EFM configuration of a specified interface.

  • interface-type specifies the interface type.

  • interface-number specifies the interface number.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

To view the EFM configuration on the device, run the display efm command.
  • If all is specified, all EFM configuration is displayed.

  • If interface interface-type interface-number is specified, the EFM configuration of a specified interface is displayed.

Prerequisites

EFM has been enabled globally using the efm enable command.

Example

# Display the EFM configuration on GigabitEthernet0/0/1.

<HUAWEI> display efm interface gigabitethernet 0/0/1
  Item                           Value
  ----------------------------------------------------
  Interface:                     GigabitEthernet0/0/1
  EFM Enable Flag:               enable
  Mode:                          active
  Loopback IgnoreRequest:        no
  OAMPDU MaxSize:                128
  OAMPDU Timeout:                5000
  OAMPDU Interval:               1000
  Parser:                        forward
  Multiplexer:                   forward
  ErrCodeNotification:           disable
  ErrCodePeriod:                 1
  ErrCodeThreshold:              1
  ErrFrameNotification:          disable
  ErrFramePeriod:                1
  ErrFrameThreshold:             1
  ErrFrameSecondNotification:    disable
  ErrFrameSecondPeriod:          60
  ErrFrameSecondThreshold:       1
  Hold Up Time:                  10  
  ThresholdEvtTriggerErrDown:    enable
  TriggerIfDown:                 disable
  TriggerMacRenew:               disable
  Remote MAC:                    --
  Remote EFM Enable Flag:        --
  Remote Mode:                   --
  Remote MaxSize:                --
  Remote Loopback IgnoreRequest: --
  Remote State:                  --
  Remote Parser:                 --
  Remote Multiplexer:            --
  ErrFramePeriodNotification:    disable
  ErrFramePeriodPeriod:          200000
  ErrFramePeriodThreshold:       1
  Loopback Remain Time:          1189
Table 1 Description of the display efm command output

Item

Description

Interface

Interface name.

EFM Enable Flag

Whether EFM is enabled on an interface:
  • disable: indicates that EFM is disabled on an interface.

  • enable: indicates that EFM is enabled on an interface.

To enable or disable EFM on an interface, run the efm enable command.

Mode

Operation mode of EFM on an interface:
  • active: indicates that EFM works in active mode.

  • passive: indicates that EFM works in passive mode.

To set the operation mode of EFM on an interface, run the efm mode command.

Loopback IgnoreRequest

Whether loopback requests from the remote end are ignored:
  • yes: Loopback requests from the remote end are ignored.

  • no: Loopback requests from the remote end are processed.

To set the parameter, run the efm loopback ignore-request command.

OAMPDU MaxSize

Maximum size of an EFM OAMPDU on an interface. The value ranges from 64 to 1518, in bytes. The default value is 128 bytes.

To set the maximum size of an EFM OAMPDU on an interface, run the efm packet max-size command.

OAMPDU Timeout

Timeout interval at which an interface receives EFM OAMPDUs. The value is an integer that ranges from 3000 to 30000, in milliseconds. It must be an integer multiple of 1000. The default value is 5000 ms.

To set the timeout interval at which an interface receives EFM OAMPDUs, run the efm timeout command.

OAMPDU Interval

Timeout interval at which an interface sends EFM OAMPDUs. The value is fixed as 1000, in milliseconds.

Parser

Parser:
  • forward: device is forwarding non-OAMPDUS to the lower sublayer.

  • loopback: device is looping back non-OAMPDUs to lower sublayer.

  • discard: device is discarding non-OAMPDUS.

Multiplexer

Multiplexer:
  • forward: device is forwarding non-OAMPDUs to higher sublayer.

  • discard: device is discarding non-OAMPDUS.

ErrCodeNotification

Whether detection of EFM errored codes is enabled:
  • disable: indicates that detection of EFM errored codes is disabled.

  • enable: indicates that detection of EFM errored codes is enabled.

To enable or disable the detection of EFM errored codes, run the efm error-code notification enable command.

ErrCodePeriod

Period for detecting EFM errored codes on an interface. The value ranges from 1 to 60, in seconds. The default value is 1s.

To set the period for detecting EFM errored codes on an interface, run the efm error-code period command.

ErrCodeThreshold

Threshold for detecting EFM errored codes on an interface. The value ranges from 0 to 65535. The default value is 1.

To set the threshold for detecting EFM errored codes on an interface, run the efm error-code threshold command.

ErrFrameNotification

Whether detection of EFM errored frames is enabled:
  • disable: indicates that detection of EFM errored frames is disabled.

  • enable: indicates that detection of EFM errored frames is enabled.

To enable or disable the detection of EFM errored frames, run the efm error-frame notification enable command.

ErrFramePeriod

Period for detecting EFM errored frames on an interface. The value ranges from 1 to 60, in seconds. The default value is 1s.

To set the period for detecting EFM errored frames on an interface, run the efm error-frame period command.

ErrFrameThreshold

Threshold for detecting EFM errored frames on an interface. The value ranges from 0 to 65535. The default value is 1.

To set the threshold for detecting EFM errored frames on an interface, run the efm error-frame threshold command.

ErrFrameSecondNotification

Whether detection of EFM errored frame seconds is enabled:
  • disable: indicates that detection of EFM errored frame seconds is disabled.

  • enable: indicates that detection of EFM errored frame seconds is enabled.

To enable or disable the detection of EFM errored frame seconds, run the efm error-frame-second notification enable command.

ErrFrameSecondPeriod

Period for detecting EFM errored frame seconds on an interface. The value ranges from 10 to 900, in seconds. The default value is 60s.

To set the period for detecting EFM errored frame seconds on an interface, run the efm error-frame-second period command.

ErrFrameSecondThreshold

Threshold for detecting EFM errored frame seconds on an interface. The value ranges from 0 to 900. The default value is 1.

To set the threshold for detecting EFM errored frame seconds on an interface, run the efm error-frame-second threshold command.

Hold Up Time

Value of the EFM faulty-state holdup timer. The value ranges from 0 to 50, in seconds. The default value is 0.

To set the value of the EFM faulty-state holdup timer, run the efm holdup-timer command.

ThresholdEvtTriggerErrDown

Whether a threshold crossing event is associated with an interface:
  • disable: A threshold crossing event is not associated with an interface.

  • enable: A threshold crossing event is associated with an interface.

To set the parameter, run the efm threshold-event trigger error-down command.

TriggerIfDown

Whether an interface is blocked when the interface detects a fault on the link between the local and peer interfaces:
  • disable: The system does not block an interface when detecting a fault on the link between the local and peer interfaces.

  • enable: The system blocks an interface when detecting a fault on the link between the local and peer interfaces.

To set the parameter, run the efm trigger if-down command.

TriggerMacRenew

Whether the MAC address entry on an interface is updated when the interface detects a fault on the link between the local and peer interfaces:
  • disable: The system does not update the MAC address entry when detecting a fault on the link between the local and peer interfaces.

  • enable: The system updates the MAC address entry when detecting a fault on the link between the local and peer interfaces.

To set the parameter, run the efm trigger mac-renew command.

Remote MAC

MAC address of the remote interface. The value -- indicates that the system cannot obtain the MAC address of the remote interface.

Remote EFM Enable Flag

Whether EFM is enabled on the remote interface:
  • disable: indicates that EFM is disabled on the remote interface.

  • enable: indicates that EFM is enabled on the remote interface.

  • --: indicates that the system cannot obtain the EFM status on the remote device.

Remote Mode

Operation mode of EFM on the remote interface:
  • active: indicates that EFM works in active mode.

  • passive: indicates that EFM works in passive mode.

  • --: indicates that the system cannot obtain the operation mode of EFM on the remote device.

Remote MaxSize

Maximum size of an OAMPDU on the remote interface, in bytes. The value -- indicates that the system cannot obtain the maximum size of an OAMPDU on the remote interface.

Remote Loopback IgnoreRequest

Whether the remote interface ignores loopback requests from the local end:
  • --: The system cannot obtain the mode in which the remote interface processes loopback requests from the local end.

  • yes: The remote interface ignores loopback requests from the local end.

  • no: The remote interface processes loopback requests from the local end.

Remote State

Active/Standby information of the peer device. The value -- indicates that the system cannot obtain the active/standby information of the peer device.

Remote Parser

Remote parser:
  • forward: device is forwarding non-OAMPDUS to the lower sublayer.

  • discard: device is discarding non-OAMPDUS.

Remote Multiplexer

Remote Multiplexer:
  • forward: device is forwarding non-OAMPDUs to higher sublayer.

  • loopback: device is looping back non-OAMPDUs to lower sublayer.

  • discard: device is discarding non-OAMPDUS.

ErrFramePeriodNotification

Whether detection of EFM errored frame periods is enabled:

  • disable: indicates that detection of EFM errored frame periods is disabled.

  • enable: indicates that detection of EFM errored frame periods is enabled.

ErrFramePeriodPeriod

Period for detecting errored frame periods on the interface. The value is an integer that ranges from 20000 to 4294967295. The default value is 200000.

ErrFramePeriodThreshold

Threshold for detecting errored frame periods on the interface. The value is an integer that ranges from 0 to 900. The default value is 1.

Loopback Remain Time

Remaining time of remote loopback:

  • --: The interface does not send a remote loopback request.

  • Never Timeout: The interface sends a remote loopback request. The value of timeout is 0, indicating that the interface is always in remote loopback state.

  • Loopback Remain Time: The interface sends a remote loopback request, and the timeout interval of remote loopback is specified.

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