Chapter 19: Alarm Management and Troubleshooting (CLI)
Performing Diagnostics (CLI)
phn-3963_008v000
Page 19-28
To stop a loopback that is already in progress, enter the following command in root view:
root> ethernet soam loopback stop meg-id <meg-id> mep-id <mep-id>
Table 184
Loopback CLI Parameters
Parameter
Input Type
Permitted Values
Description
meg-id
Number
1-4294967295
The MEG ID of the MEG on which the loopback is
being configured or run.
mep-id
Number
1-8191
The MEP ID of the MEP on which the loopback is
being configured or run.
interval
Number
0-60000
The interval (in ms) between each loopback
message. Note that the granularity for this
parameter is 100 ms. If you enter a number that is
not in multiples of 100, the value will be rounded off
to the next higher multiple of 100. Also, the lowest
interval is 1000 ms (1 second). If you enter a smaller
value, it will be rounded up to 1000 ms.
size
Number
64-1518
The frame size for the loopback messages. Note that
for tagged frames, the frame size will be slightly
larger than the selected frame size.
pattern
Variable
zeroPattern
onesPattern
The type of data pattern to be sent in an OAM PDU
Data TLV.
priority
Number
0-7
The priority bit for tagged frames.
drop
Boolean
true
false
true
– Frame dropping is enabled.
false
– Frame dropping is disabled.
dest-mac-addr Six groups of
two
hexadecimal
digits
The MAC address of the interface to which you want
to send the loopback. If you are not sure what the
interface’s MAC address is, you can get it from the
Interface Manager by entering the
platform if-
manager show interfaces
command in root
view.
dest-mep-id
Number
1-8191
The MEP ID of the interface to which you want to
send the loopback.
tx-num
Number
0-1024
The number of loopback messages to transmit. If
you enter 0, loopback will not be performed.
To display loopback results, enter the following command in root
view:root> ethernet soam loopback status show meg-id <meg-id> mep-id
<mep-id>
The following is a sample output for this command on MEG ID 127, MEP ID 1.