oam mode

Use oam mode to set the Ethernet OAM mode.

Use undo oam mode to restore the default.

Syntax

oam mode { active | passive }

undo oam mode

Default

An Ethernet OAM-enabled Ethernet port operates in the active Ethernet OAM mode.

Views

Layer 2 Ethernet port view, Layer 3 Ethernet port view

Predefined user roles

network-admin

Parameters

active: Specifies the active Ethernet OAM mode.

passive: Specifies the passive Ethernet OAM mode.

Usage guidelines

To change the Ethernet OAM mode of an Ethernet OAM-enabled Ethernet port, first disable Ethernet OAM on the port.

Examples

# Disable Ethernet OAM on FortyGigE 1/0/1, and then configure FortyGigE 1/0/1 to operate in passive Ethernet OAM mode.

<Sysname> system-view
[Sysname] interface fortygige 1/0/1
[Sysname-FortyGigE1/0/1] undo oam enable
[Sysname-FortyGigE1/0/1] oam mode passive

Related commands

oam enable