Enables link oam on an ethernet interface and sets the mode to active or passive.
Please refer the usage guidelines.
Ethernet interface configuration mode
By default, link oam is disabled on the interface. Once this CLI is configured, it cannot be modified. In order to reconfigure, link-oam has to be deconfigured using no link-oam enable command.
device# configure terminal device(config)# interface ethernet 1/1 device(config-int-eth1/1)# link-oam enable passive