CLI Reference Guide-R04

Table Of Contents
Chapter 28
| OAM Commands
– 847 –
Console(config)#interface ethernet 1/1
Console(config-if)#efm oam link-monitor frame window 50
Console(config-if)#
efm oam mode This command sets the OAM mode on the specified port. Use the no form to
restore the default setting.
Syntax
efm oam mode {active | passive}
no efm oam mode
active - All OAM functions are enabled.
passive - All OAM functions are enabled, except for OAM discovery, and
sending loopback control OAMPDUs.
Default Setting
Active
Command Mode
Interface Configuration
Command Usage
When set to active mode, the selected interface will initiate the OAM discovery
process. When in passive mode, it can only respond to discovery messages.
Example
Console(config)#interface ethernet 1/1
Console(config-if)#efm oam mode active
Console(config-if)#
clear efm oam
counters
This command clears statistical counters for various OAMPDU message types.
Syntax
clear efm oam counters [interface-list]
interface-list - unit/port
unit - Unit identifier. (Range: 1)
port - Port number or list of ports. To enter a list, separate
nonconsecutive port identifiers with a comma and no spaces; use a
hyphen to designate a range of ports. (Range: 1-28)
Command Mode
Privileged Exec