oam remote-loopback interface
Use oam remote-loopback start interface to enable Ethernet OAM remote loopback on an Ethernet port.
Use oam remote-loopback stop interface to disable Ethernet OAM remote loopback on an Ethernet port.
Syntax
oam remote-loopback start interface interface-type interface-number
oam remote-loopback stop interface interface-type interface-number
Default
Ethernet OAM remote loopback is disabled on an Ethernet port.
Views
User view, system view
Predefined user roles
network-admin
Parameters
interface-type interface-number: Specifies a port by its type and number.
Usage guidelines
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.
You can enable Ethernet OAM remote loopback on a specified port in user view or system view, or enable it on the current port in port view. The configurations have the same effect.
Examples
# Configure the active Ethernet OAM mode and enable Ethernet OAM on Ten-GigabitEthernet 1/0/1, and then enable Ethernet OAM remote loopback on Ten-GigabitEthernet 1/0/1 in system view.
<Sysname> system-view [Sysname] interface ten-gigabitethernet 1/0/1 [Sysname-Ten-GigabitEthernet1/0/1] oam mode active [Sysname-Ten-GigabitEthernet1/0/1] oam enable [Sysname-Ten-GigabitEthernet1/0/1] quit [Sysname] oam remote-loopback start interface ten-gigabitethernet 1/0/1
Related commands
oam enable
oam mode
oam remote-loopback