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

mdc-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 Ten-GigabitEthernet 1/0/1, and then configure Ten-GigabitEthernet 1/0/1 to operate in passive Ethernet OAM mode.

<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] undo oam enable
[Sysname-Ten-GigabitEthernet1/0/1] oam mode passive

Related commands

oam enable