link-oam enable

Enables link oam on an ethernet interface and sets the mode to active or passive.

Syntax

link-oam enable [active | passive]
no link-oam enable

Command Default

Please refer the usage guidelines.

Parameters

active
Configures link-oam in active mode.
passive
Configures link-oam in passive mode.

Modes

Ethernet interface configuration mode

Usage Guidelines

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.

Examples

device# configure terminal
device(config)# interface ethernet 1/1
device(config-int-eth1/1)# link-oam enable passive