8Task RemarksConfiguring errored frame period event detection OptionalConfiguring errored frame seconds event detection OptionalConfiguring EthernetOAM remoteloopbackEnabling Ethernet OAM remote loopback OptionalRejecting the Ethernet OAM remote loopbackrequest from a remote port OptionalConfiguring basic Ethernet OAM functionsFor Ethernet OAM connection establishment, an Ethernet OAM entity operates in active mode or passivemode. Only an Ethernet OAM entity in active mode can initiate connection establishment. After EthernetOAM is enabled on an Ethernet port, according to its Ethernet OAM mode, the Ethernet port establishesan Ethernet OAM connection with its peer port.To change the Ethernet OAM mode on an Ethernet OAM-enabled port, you must first disable EthernetOAM on the port.To configure basic Ethernet OAM functions:Step Command Remarks1. Enter system view. system-view N/A2. Enter Layer 2 Ethernetinterface view.interface interface-typeinterface-number N/A3. Set the Ethernet OAM mode. oam mode { active | passive }Optional.The default is active Ethernet OAMmode.4. Enable Ethernet OAM on thecurrent port. oam enable Ethernet OAM is disabled bydefault.Configuring the Ethernet OAM connectiondetection timersAfter an Ethernet OAM connection is established, the Ethernet OAM entities on both sides exchangeInformation OAMPDUs at the handshake packet transmission interval to check whether the EthernetOAM connection is normal. If an Ethernet OAM entity receives no Information OAMPDU within theEthernet OAM connection timeout time, the Ethernet OAM connection is considered disconnected.By adjusting the handshake packet transmission interval and the connection timeout timer, you canchange the detection time resolution for Ethernet OAM connections.After the timeout timer of an Ethernet OAM connection expires, the local OAM entity ages out itsconnection with the peer OAM entity, causing the OAM connection to be disconnected. H3Crecommends that you set the connection timeout timer to at least five times the handshake packettransmission interval, ensuring the stability of Ethernet OAM connections.To configure the Ethernet OAM connection detection timers: