< Home

Detecting Minor Link Events

Context

If an EFM entity receives a link event, it sends an Event Notification OAMPDU to notify the remote EFM entity of the event. The EFM entity also sends a trap to an NMS. After receiving the trap on the NMS, an administrator can determine the network status and take necessary measures.

Select one or more detection methods to monitor links based on your needs.

EFM can be configured on Layer 2 and Layer 3 Ethernet interfaces. By default, an Ethernet interface works in Layer 2 mode. Before configuring EFM on a Layer 3 Ethernet interface, switch the Ethernet interface to Layer 3 mode.

Procedure

  • Detecting errored code events

    1. Run system-view

      The system view is displayed.

    2. Run efm enable

      EFM is enabled globally.

    3. Run interface interface-type interface-number

      The view of the interface at one end of the link is displayed.

    4. (Optional) On an Ethernet interface, run undo portswitch

      The interface is switched to Layer 3 mode.

      By default, an Ethernet interface works in Layer 2 mode.

      Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support switching between Layer 2 and Layer 3 modes.

    5. Run efm error-code period period

      The period for detecting EFM errored codes is set.

      By default, the period for detecting errored codes on an interface is 1 second.

    6. Run efm error-code threshold threshold

      The threshold for detecting EFM errored codes is set.

      By default, the threshold for detecting errored codes on an interface is 1.

    7. Run efm enable

      EFM is enabled on the interface.

    8. Run efm error-code notification enable

      The interface is enabled to detect EFM errored codes.

      By default, an interface is not enabled to detect EFM errored codes.

  • Detecting errored frame events

    1. Run system-view

      The system view is displayed.

    2. Run efm enable

      EFM is enabled globally.

    3. Run interface interface-type interface-number

      The view of the interface at one end of the link is displayed.

    4. (Optional) On an Ethernet interface, run undo portswitch

      The interface is switched to Layer 3 mode.

      By default, an Ethernet interface works in Layer 2 mode.

      Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support switching between Layer 2 and Layer 3 modes.

    5. Run efm error-frame period period

      The period for detecting EFM errored frames is set.

      By default, the period for detecting errored frames on an interface is 1 second.

    6. Run efm error-frame threshold threshold

      The threshold for detecting EFM errored frames is set.

      By default, the threshold for detecting errored frames on an interface is 1.

    7. Run efm enable

      EFM is enabled on the interface.

    8. Run efm error-frame notification enable

      The interface is enabled to detect EFM errored frames.

      By default, an interface is not enabled to detect EFM errored frames.

  • Detecting errored frame seconds

    1. Run system-view

      The system view is displayed.

    2. Run efm enable

      EFM is enabled globally.

    3. Run interface interface-type interface-number

      The view of the interface at one end of the link is displayed.

    4. (Optional) On an Ethernet interface, run undo portswitch

      The interface is switched to Layer 3 mode.

      By default, an Ethernet interface works in Layer 2 mode.

      Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support switching between Layer 2 and Layer 3 modes.

    5. Run efm error-frame-second period period

      The period for detecting EFM errored frame seconds is set.

      By default, the period for detecting errored frame seconds on an interface is 60 seconds.

    6. Run efm error-frame-second threshold threshold

      The threshold for detecting EFM errored frame seconds is set.

      By default, the threshold for detecting errored frame seconds on an interface is 1.

    7. Run efm enable

      EFM is enabled on the interface.

    8. Run efm error-frame-second notification enable

      The interface is enabled to detect errored frame seconds.

      By default, an interface is not enabled to detect errored frame seconds.

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