23Default level2: System levelParametersactive: Specifies the active Ethernet OAM mode.passive: Specifies the passive Ethernet OAM mode.DescriptionUse oam mode to set the Ethernet OAM mode for an Ethernet port.Use undo oam mode to restore the default.By default, an Ethernet OAM-enabled Ethernet port is operating in the active Ethernet OAM mode.To change the Ethernet OAM mode of an Ethernet OAM-enabled Ethernet port, you need to disableEthernet OAM on the port first.Related commands: oam enable.Examples# Configure GigabitEthernet 4/0/1 to operate in the active Ethernet OAM mode. system-view[Sysname] interface gigabitethernet 4/0/1[Sysname-gigabitethernet 4/0/1] undo oam enable[Sysname-GigabitEthernet4/0/1] oam mode passiveoam timer helloSyntaxoam timer hello intervalundo oam timer helloViewSystem viewDefault level2: System levelParametersinterval: Ethernet OAM handshake packet transmission interval, in milliseconds. The value of thisargument must be a multiple of 100.DescriptionUse oam timer hello to configure the Ethernet OAM handshake packet transmission interval.Use undo oam timer hello to restore the default.By default, the Ethernet OAM handshake packet transmission interval is 1000 milliseconds.After the timeout timer for an Ethernet OAM connection expires, the local OAM entity ages out itsconnection with the peer OAM entity, causing the OAM connection to be disconnected. Therefore, H3Crecommends that you set the connection timeout timer at least five times the handshake packettransmission interval, ensuring the stability of Ethernet OAM connections.