Ethernet in the First
Mile (EFM) OAM is defined in IEEE 802.3ah to make the Ethernet physicallayer specifications
in respect of the user access part and the Ethernet OAM in respect of the access
part. Ethernet EFM OAM is used for the link detection of the last mile and it
is the linklevel OAM.
Prerequisite
l Network devices and
lines must be in the normal state.
l The OLT must support
the Ethernet EFM OAM function.
Context
Huawei OLT OAM is a key method of
reducing network maintenance cost.
Ethernet EFM OAM is defined
in IEEE 802.3ah Clause 57 and it is a key component of Ethernet OAM. Ethernet
EFM OAM provides a mechanism for monitoring links, such as remote defect indication
(RDI) and remote loopback control. It is an L2 mechanism, as a complement to
the higher layer applications.
Networking
Figure 1 shows the example
network of the Ethernet EFM OAM function.
Procedure
Step 1 Run the efm oam mode
command to configure the Ethernet EFM OAM mode of the port.
l The default Ethernet
EFM OAM mode of the port is the active mode.
l After the Ethernet EFM
OAM function is enabled on the port, the mode of the port cannot
be changed.
l When the Ethernet EFM
OAM mode of both the local and peer devices is the passive mode, the Ethernet
EFM OAM function cannot be enabled. The Ethernet EFM OAM function can be
enabled only when the Ethernet EFM OAM mode of the device at one end is the
active mode.
Step 2 Run the efm oam enable
command to enable the Ethernet EFM OAM function on the port.
By default, the Ethernet
EFM OAM function on the port is disabled.
Step 3 (Optional) Run the efm
loopback command to configure the start, end, and control parameters for the
Ethernet EFM OAM loopback on the port.
l By default, the
Ethernet EFM OAM loopback is not performed.
l After the Ethernet EFM
OAM loopback is started, all the services are interrupted.
Step 4 Run the efm error-frame
command to set error frame parameters and the status of the error frame alarm
function. In this manner, the link signals and data quality can be monitored.
Step 5 Query the configuration
information about the Ethernet EFM OAM function.
l Run the display efm oam
status command to query the status of the Ethernet EFM OAM
function.
l Run the display efm oam
event config command to query the parameters of the Ethernet
EFM OAM event.
----End
Example
Assume that the Ethernet
EFM OAM mode is the passive mode, the error frame alarm function is enabled,
the local error frame window is 1, and the error frame threshold is 0. To
enable the Ethernet EFM OAM function on port 0/4/1,
do as follows:
huawei(config)#efm oam
mode 0/4/1 passive
huawei(config)#efm oam
0/4/1 enable
huawei(config)#efm
error-frame 0/4/1 notification enable
huawei(config)#efm
error-frame 0/4/1 period 1
huawei(config)#efm
error-frame 0/4/1 threshold 0
Run the display efm oam
status command to query the status of the Ethernet EFM OAM
function.
huawei#display efm oam
status
{
frameid/slotid/portid<S><Length 1-15> }:0/4/1
{
local<K>|remote<K> }:local //Query the local Ethernet OAM status.
If you need
to query the remote
Ethernet OAM status, select remote.
Command:
display efm oam status
0/4/1 local
Admin Status : Enable
//The Ethernet OAM function is
enabled.
Operation Status :
Operational
OAM Mode : Passive //The
local Ethernet OAM mode is the
passive mode.
Max OAM PDU Size : 1514
Stable & Evaluation :
2
Configuration Revision :
0
Multiplexer Action :
Forward
Parser Action : Forward
Unidirectional Support :
No
Loopback Support : No
Event Support : Yes
Variable Support : No
Run the display efm oam
event config command to query the parameters of the Ethernet EFM
OAM event.
huawei(config)#display
efm oam event config 0/4/1
Errored Symbol Period
Event :Disable
Errored Symbol Period
Event Window :-
Errored Symbol Period
Event Threshold :-
Errored Frame Event
:Enable //The error frame alarm
function is enabled.
Errored Frame Event
Window :1 //The error frame window
is 1.
Errored Frame Event
Threshold :0 //The error frame threshold
is 0.
Errored Frame Period
Event :Disable
Errored Frame Period
Event Window :-
Errored Frame Period
Event Threshold :-
Errored Frame Seconds
Summary Event :Disable
Errored Frame Seconds
Summary Event Window :-
Errored Frame Seconds
Summary Event Threshold :-
Link Fault Event :Enable
Dying Gasp Event :Disable
Critical Link Event :Disable