display efm session

Function

The display efm session command displays EFM OAM session information on a specified interface or all interfaces.

Format

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

Parameters

Parameter Description Value
all

Displays EFM OAM session information on all interfaces with EFM OAM configured.

-

interface interface-type interface-number

Displays EFM OAM session information on a specified interface.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
efm read

Usage Guidelines

Usage Scenario

The display efm session command can be used to check whether an EFM session configured on a device is negotiated successfully.

The display efm session command output includes:

  • EFM OAM protocol state
  • Timeout period of the loopback test

Prerequisites

EFM OAM has been globally enabled using the efm enable command in the system view.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display EFM OAM session information on all interfaces.
<HUAWEI> display efm session all
  Interface                 EFM State                   Loopback Timeout
  ----------------------------------------------------------------------
  GigabitEthernet0/1/1      loopback(be controlled)     20
  GigabitEthernet0/1/2      detect                          --
Table 1 Description of the display efm session command output
Item Description
Interface

Name of the interface enabled with EFM OAM.

EFM State

EFM OAM protocol state of the interface:

  • discovery: The interface is in the Discovery state.
  • detect: The interface is in the Detect state.
  • loopback(control): The interface initiates remote loopback and discards packets that are looped back.
  • loopback(be controlled): The interface responds to remote loopback.
Loopback Timeout

Timeout period of the loopback test, in minutes.

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