Parameters
None
Description
Use oam enable to enable Ethernet OAM on the Ethernet port.
Use undo oam enable to disable Ethernet OAM on the Ethernet port.
By default, Ethernet OAM is disabled on all Ethernet ports.
Examples
# Enable OAM on port GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] oam enable
oam errored-frame period
Syntax
oam errored-frame period period-value
undo oam errored-frame period
View
System view
Default level
2: System level
Parameters
period-value: Errored frame event detection interval, ranging from 1 to 60 (in seconds).
Description
Use oam errored-frame period to set the errored frame event detection interval.
Use undo oam errored-frame period to restore the default.
By default, the errored frame event detection interval is one second.
Related commands: oam errored-frame threshold, display oam link-event, and display oam
configuration.
Examples
# Set the errored frame event detection interval to 10 seconds.
<Sysname> system-view
[Sysname] oam errored-frame period 10
oam errored-frame threshold
Syntax
oam errored-frame threshold threshold-value
undo oam errored-frame threshold
10