oam remote-loopback
Use oam remote-loopback start to enable Ethernet OAM remote loopback on the specified Ethernet port.
Use oam remote-loopback stop to disable Ethernet OAM remote loopback on the Ethernet port.
Syntax
oam remote-loopback start
oam remote-loopback stop
Default
Ethernet OAM remote loopback is disabled on the Ethernet port.
Views
Layer 2 Ethernet port view, Layer 3 Ethernet port view
Predefined user roles
network-admin
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 Layer 2 Ethernet port 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] oam remote-loopback start
Related commands
oam enable
oam mode
oam remote-loopback interface