< Home

(Optional) Associating a Minor Link Event with an Interface

Context

Minor link events include errored symbol period events, errored frame events, and errored frame seconds summary events. If the number of code errors, errored frames, or errored frame seconds detected by an interface on a link (during the configured period) reaches or exceeds the configured threshold, the link is unavailable or has low quality. You can associate an EFM crossing event with an interface. The system then sets the administrative status of the interface to Down, interrupting all services on the interface.

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.

Perform the following steps at one or two ends of a link.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

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

  3. (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.

  4. Run efm threshold-event trigger error-down

    A threshold crossing event is associated with an interface.

    By default, no threshold crossing event is associated with an interface.

Follow-up Procedure

After associating a threshold crossing event with an interface, configure the interface to go administratively Up by using either of the following methods:
  • Run the error-down auto-recovery command in the system view to configure the interface to go administratively Up after the auto recovery delay.

  • Run the shutdown command and then the undo shutdown command in the interface view to restore the administrative status of the interface to Up.

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