xStack
® 
DGS-3120 Series Managed Switch CLI Reference Guide 
194 
 
outward - Specify that the MEP direction will be outward facing. 
If not specified, both directions and the MIP are shown. 
vlanid - (Optional) Specify the VLAN identifier. If not specified, all VLANs are shown. 
<vlanid 1-4094> - Enter the VLAN ID used here. This value must be between 1 and 4094. 
 
Restrictions 
None. 
 
Example 
To show the MEPs and MIPs created on a port: 
DGS-3120-24TC:admin# show cfm port 1 
Command: show cfm port 1 
 
MAC Address: 00-05-78-82-32-01 
 
MD Name     MA Name     MEPID Level Direction VID 
----------- ----------- ----- ----- --------- ---- 
op_domain   op1         1     2     inward    2 
cust_domain cust1       8     4     inward    2 
serv_domain serv2       MIP   3               2 
 
DGS-3120-24TC:admin# 
 
19-17  cfm loopback 
Description 
This command is used to start a CFM loopback test. You can press Ctrl+C to exit the loopback test. 
The MAC address represents the destination MEP or MIP that can be reached by this MAC 
address. The MEP represents the source MEP to initiate the loopback message. 
 
Format 
cfm loopback <macaddr> [mepname <string 32> | mepid <int 1-8191> md [<string 22> | 
md_index <uint 1-4294967295>] ma [<string 22> | ma_index <uint 1-4294967295>]] {num <int 
1-65535> | [length <int 0-1500> | pattern <string 1500>] | pdu_priority <int 0-7>} 
 
Parameters 
<macaddr> - Enter the destination MAC address here. 
mepname - Specify the MEP name used. 
 - Enter the MEP name used here. This name can be up to 32 characters long. 
mepid - Specify the MEP ID used. 
<int 1-8191> - Enter the MEP ID used here. This value must be between 1 and 8191. 
md - Specify the maintenance domain name. 
<string 22> - Enter the maintenance domain name her. This name can be up to 22 
characters long. 
md_index - Specify the maintenance domain index. 
<uint 1-4294967295> - Enter the maintenance domain index value here. This value 
must be between 1 and 4294967295. 
ma - Specify the maintenance association name.