
10
Ethernet OAM is enabled on an Ethernet port, according to its Ethernet OAM mode, the Ethernet port
establishes an Ethernet OAM connection with its peer port.
Follow these steps to configure basic Ethernet OAM functions:
To do…
Use the command…
Remarks
Enter system view
System-view
—
Enter Ethernet port view
interface
interface-type
interface-number
—
Set the Ethernet OAM mode
oam mode
{
active
|
passive
}
Optional
The default is active Ethernet OAM
mode.
Enable Ethernet OAM on the
current port
oam enable
Required
Ethernet OAM is disabled by
default.
NOTE:
To change the Ethernet OAM mode on an Ethernet OAM-enabled port, you need to first disable Ethernet
OAM on the port.
Configuring the Ethernet OAM connection
detection timers
After an Ethernet OAM connection is established, the Ethernet OAM entities on both sides exchange
Information OAMPDUs at a specified interval—handshake packet transmission interval—to check
whether the Ethernet OAM connection is normal. If an Ethernet OAM entity receives no Information
OAMPDU within the Ethernet OAM connection timeout time, the Ethernet OAM connection is considered
disconnected.
By adjusting the handshake packet transmission interval and the connection timeout timer, you can
change the detection time resolution for Ethernet OAM connections.
Follow these steps to configure the Ethernet OAM connection detection timers:
To do…
Use the command…
Remarks
Enter system view
System-view
—
Configure the Ethernet OAM
handshake packet transmission
interval
oam timer hello
interval
Optional
1000 millisecond by default
Configure the Ethernet OAM
connection timeout timer
oam timer keepalive
interval
Optional
5000 milliseconds by default
CAUTION:
After the timeout timer of an Ethernet OAM connection expires, the local OAM entity ages out its
connection with the peer OAM entity, causing the OAM connection to be disconnected. H3C recommends
setting the connection timeout timer at least fives times the handshake packet transmission interval,
ensuring the stability of Ethernet OAM connections.