efm error-code period
Function
The efm error-code period command sets the period for detecting EFM errored codes on an interface.
The undo efm error-code period command restores the default period for detecting EFM errored codes on an interface.
By default, the period for detecting EFM errored codes on an interface is 1s.
Parameters
Parameter | Description | Value |
---|---|---|
period | Specifies the period for detecting EFM errored codes. |
The value is an integer that ranges from 1 to 60, in seconds. The default value is 1s. |
Usage Guidelines
Usage Scenario
After the efm error-code period period command is run to set the period for detecting EFM errored codes, run the efm error-code notification enable command to enable an interface to detect EFM errored codes. When the number of detected errored codes during the period reaches or exceeds a preset threshold, the local device generates an alarm and notifies the peer device of the alarm event.
Prerequisites
EFM has been enabled globally using the efm enable command.