Loopback testing allows you to verify the connectivity of a circuit. You can configure any of the following interfaces to execute a loopback test: Aggregated Ethernet, Fast Ethernet, Gigabit Ethernet, E1, E3, NxDS0, serial, SONET/SDH, T1, and T3.
The physical path of a network data circuit usually consists of segments interconnected by devices that repeat and regenerate the transmission signal. The transmit path on one device connects to the receive path on the next device. If a circuit fault occurs in the form of a line break or a signal corruption, you can isolate the problem by using a loopback test. Loopback tests allow you to isolate segments of the circuit and test them separately.
To do this, configure a line loopback on one of the routers. Instead of transmitting the signal toward the far-end device, the line loopback sends the signal back to the originating router. If the originating router receives back its own data link layer packets, you have verified that the problem is beyond the originating router. Next, configure a line loopback farther away from the local router. If this originating router does not receive its own data link layer packets, you can assume the problem is on one of the segments between the local router and the remote routing platform’s interface card. In this case, the next troubleshooting step is to configure a line loopback closer to the local router to find the source of the problem.
There are several types of loopback testing supported by the JUNOS software, as follows:
Table 23 shows the loopback modes supported on the various interface types.
Table 23: Loopback Modes by Interface Type
|
Interface |
Loopback Modes |
Usage Guidelines |
|---|---|---|
|
Aggregated Ethernet, Fast Ethernet, Gigabit Ethernet |
Local | |
|
E1 and E3 |
Local and remote |
Configuring E1 Loopback Capability and Configuring E3 Loopback Capability |
|
NxDS0 |
Payload |
Configuring NxDS0 IQ Interfaces, Configuring T1 and NxDS0 Interfaces, Configuring NxDS0 IQ Interfaces, Configuring an NxDS0 IQ Interface, and Configuring an NxDS0 IQ Interface |
|
Serial (V.35 and X.21) |
Local and remote | |
|
Serial (EIA-530) |
DCE local, DCE remote, local, and remote | |
|
SONET/SDH |
Local and remote | |
|
T1 and T3 |
Local, payload, and remote |
Configuring T1 Loopback Capability and Configuring T3 Loopback Capability |
To configure loopback testing, include the loopback statement:
-
loopback mode;
You can include this statement at the following hierarchy levels: