H3C Technologies H3C S12500 Series Switches User Manual
Page 24

13
is enabled on an Ethernet port, according to its Ethernet OAM mode, the Ethernet port establishes an
Ethernet OAM connection with its peer port.
To configure basic Ethernet OAM functions:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter Layer 2 Ethernet port
view.
interface interface-type
interface-number
N/A
3.
Set Ethernet OAM mode.
oam mode { active | passive }
Optional.
The default is active Ethernet OAM
mode.
4.
Enable Ethernet OAM on the
current port.
oam enable
Ethernet OAM is disabled by
default.
Configuring the Ethernet OAM connection
detection timers
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
that you set the connection timeout timer at least five times the handshake packet transmission interval,
ensuring the stability of Ethernet OAM connections.
After an Ethernet OAM connection is established, the Ethernet OAM entities on both sides exchange
Information OAMPDUs at a specified interval (called the 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.
To configure the Ethernet OAM connection detection timers:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure the Ethernet OAM
handshake packet
transmission interval.
oam timer hello interval
Optional.
1000 millisecond by default.
3.
Configure the Ethernet OAM
connection timeout timer.
oam timer keepalive interval
Optional.
5000 milliseconds by default.