24
mdc-admin
Parameters
interval
: Specifies the Ethernet OAM connection timeout timer, in steps of 100 (in milliseconds). The
value range for this argument is 1000 to 25000.
Usage guidelines
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 disconnect. As a best practice
to keep the Ethernet OAM connections stable, set the connection timeout timer to be at least five
times the handshake packet transmission interval.
The configuration in system view takes effect on all ports, but has a lower precedence than the
configuration in port view.
Examples
# Set the Ethernet OAM connection timeout timer to 6000 milliseconds.
<Sysname> system-view
[Sysname] oam global timer keepalive 6000
Related commands
•
display
oam
configuration
•
oam timer keepalive
oam mode
Use
oam mode
to set the Ethernet OAM mode.
Use
undo oam mode
to restore the default.
Syntax
oam mode
{
active
|
passive
}
undo oam mode
Default
An Ethernet OAM-enabled Ethernet port operates in the active Ethernet OAM mode.
Views
Layer 2 Ethernet port view, Layer 3 Ethernet port view
Predefined user roles
network-admin
mdc-admin
Parameters
active
: Specifies the active Ethernet OAM mode.
passive
: Specifies the passive Ethernet OAM mode.
Usage guidelines
To change the Ethernet OAM mode of an Ethernet OAM-enabled Ethernet port, first disable Ethernet
OAM on the port.
Examples
# Disable Ethernet OAM on Ten-GigabitEthernet 1/0/1, and then configure Ten-GigabitEthernet 1/0/1
to operate in passive Ethernet OAM mode.