Purpose
You can create a physical loopback or configure a local loopback to help diagnose a suspected hardware problem. Creating a physical loopback is recommended because it allows you to test and verify the transmit and receive ports. If a field engineer is not available to create the physical loopback, you can configure a local loopback for the interface. The local loopback creates a loopback internally in the Physical Interface Card (PIC).
Action
To create a physical loopback at the port, connect the transmit port to the receive port using a known good fiber cable.
![]() |
Note: Make sure you use single-mode fiber for a single-mode port and multimode fiber for a multimode port. |
Meaning
When you create and then test a physical loopback, you are testing the transmit and receive ports of the PIC. This action is recommended if a field engineer is available to create the physical loop as it provides a more complete test of the PIC.
Action
To create a loopback plug, cross pin 1 (TX+) and pin 3 (RX+) together, and cross pin 2 (TX-) and pin 6 (RX-) together. You need the following equipment to create the loopback:
Figure 21 illustrates how to create a loopback plug for an RJ-45 Ethernet interface.
Figure 21: RJ-45 Ethernet Loopback Plug

Meaning
When you create and then test a physical loopback, you are testing the RJ-45 interface of the PIC. This action is recommended if a field engineer is available to create the physical loop as it provides a more complete test of the PIC.
Action
To configure a local loopback without physically connecting the transmit port to the receive port, follow these steps:
For example:
For example:
When you create a local loopback, you create an internal loop on the interface being tested. A local loopback loops the traffic internally on that PIC. A local loopback tests the interconnection of the PIC but does not test the transmit and receive ports. On an Ethernet interface, you cannot create a remote loopback, therefore there is no option to use a local or remote statement. Simply including the loopback statement at the [edit interfaces interface-name (fastether-options | gigether-options] hierarchy level, places the interface into local loopback mode.
![]() |
Note: Remember to delete the loopback statement after completing the test. |