User guide

88 RealCT Direct API Developer Guide
Chapter 3: T1 Networking
Using Loopbacks
Loopback configurations loop data back to where it originated.
These configurations help troubleshoot where errors occur.
There are several forms of loopbacks, depending on what you
want to test.
Set software configurable loopbacks using CONFIG_CARRIER
as described in Configuring the Carrier on page 52. There are
two loopback modes that you specify with CONFIG_CARRIER:
Test whether the board’s receiver and transmitter work
properly using a local loopback. In this mode, a trunk
receives the same data it transmits without passing
through any cabling. To do a local loopback, set the
loopback mode in CONFIG_CARRIER to local.
Test the cabling and verify that the CO can send and
receive valid data using a remote loopback. In this mode,
the board immediately transmits all data it receives back
to the CO. To do a remote loopback, set the loopback mode
in CONFIG_CARRIER to remote.
Figure 14 shows local and remote loopbacks.
Figure 14. Local and Remote Loopbacks
Board
Board CSU
Data stream to trunk A
Data stream from trunk A
CO
Remote Loopback
Local Loopback