CLI Reference Guide-R04

Table Of Contents
Chapter 28
| OAM Commands
– 849 –
Command Usage
OAM remote loop back can be used for fault localization and link performance
testing. Statistics from both the local and remote DTE can be queried and
compared at any time during loop back testing.
Use the efm oam remote-loopback start command to start OAM remote loop
back test mode on the specified port. Afterwards, use the efm oam remote-
loopback test command to start sending test packets. Then use the efm oam
remote loopback stop command to terminate testing (if test packets are still
being sent) and to terminate loop back test mode.
The port that you specify to run this test must be connected to a peer OAM
device capable of entering into OAM remote loopback mode.
During a remote loopback test, the remote OAM entity loops back every frame
except for OAMPDUs and pause frames.
During loopback testing, both the switch and remote device are permitted to
send OAMPDUs to the peer device and to process any OAMPDUs received from
the peer.
Example
Console#efm oam remote-loopback start 1/1
Loopback operation is processing, please wait.
Enter loopback mode succeeded.
Console#
efm oam remote-
loopback test
This command performs a remote loopback test, sending a specified number of
packets.
Syntax
efm oam remote-loopback test interface [number-of-packets [packet-size]]
interface - unit/port
unit - Unit identifier. (Range: 1)
port - Port number. (Range: 1-28)
number-of-packets - Number of packets to send. (Range: 1-99999999)
packet-size - Size of packets to send. (Range: 64-1518 bytes)
Default Setting
Number of packets: 10,000
Packet size: 64 bytes
Command Mode
Privileged Exec