oam loopback interface
Syntax
oam loopback interface interface-type interface-number
undo oam loopback interface interface-type interface-number
View
User view, system view
Default level
2: System level (command in system view)
1: Monitor level (command in user view)
Parameters
interface-type interface-number: Specifies a port by its type and number.
Description
Use oam loopback interface to enable Ethernet OAM remote loopback on an Ethernet port.
Use undo oam loopback interface to disable Ethernet OAM remote loopback on an Ethernet port.
By default, Ethernet OAM remote loopback is disabled on an Ethernet port.
Ethernet OAM remote loopback is available only after the Ethernet OAM connection is established and can be performed only by the Ethernet OAM entities operating in active Ethernet OAM mode.
Related commands: oam enable, oam loopback, and oam mode.
Examples
# Configure the active Ethernet OAM mode and enable Ethernet OAM on Ethernet 1/0/1, and then enable Ethernet OAM remote loopback on Ethernet 1/0/1 in system view.
<Sysname> system-view [Sysname] interface ethernet 1/0/1 [Sysname-Ethernet1/0/1] oam mode active [Sysname-Ethernet1/0/1] oam enable [Sysname-Ethernet1/0/1] quit [Sysname]oam loopback interface ethernet 1/0/1