mac
Commands for EFM OAM
149
10.19 ethernet-oam link-monitor
Command: ethernet-oam link-monitor
no ethernet-oam link-monitor
Function: Enable link monitor, no command disables the function.
Parameters: None.
Command Mode: Port mode
Default: Enable.
Usage Guide: Enable OAM to monitor local link errors. Generally link monitor is enabled
when enabling OAM function of the port. When OAM link monitor is disabled, although
local link error is not monitored, Event information OAMPDU from the peer is still
normally received and processed.
Example: Enable the link monitor of port 1/4.
Switch(Config-If-Ethernet1/4)#ethernet-oam link-monitor
10.20 ethernet-oam mode
Command: ethernet-oam mode {active | passive}
no ethernet-oam mode
Function: Configure the mode of OAM function, no command restores the default value.
Parameters: active, active mode
passive, passive mode
Command Mode: Port mode
Default: active mode.
Usage Guide: At least one of the two connected OAM entities should be configured to
active mode. Once OAM is enabled, the working mode of OAM cannot be changed and
you need to disable OAM function if you have to change the working mode.
Example: Set the mode of OAM function on ethernet 1/4 to passive mode.
Switch(Config-If-Ethernet1/4)#ethernet-oam mode passive
10.21 ethernet-oam period
Command: ethernet-oam period <seconds>
no ethernet-oam mode
Function: Configure the transmission period of Information OAMPDU, no command
restores the default value.
Parameters: <seconds>, sending period, ranging from 1 to 2 seconds.










