test ds1-loop

Last Updated : Aug 08, 2023 |

Based on the command parameter, a long-duration loopback/span test or series of short-duration loopback tests will be executed.

Long-duration loopback tests run for an extended period of time until the system technician terminates it. Short-duration loopback tests return the result of the test to the screen when finished executing. Use list measurements ds1 summary to monitor the status of a long-duration loopback/span test.

If the [inject-single-bit-error] parameter is used, but no CPE loopback jack, far-end CSU, or one-way span test is active on the DS1 media module, the following error message displays:

Parameter valid if a loopback/span test is active on the DS1.

Syntax

test ds1-loop  location  [ cpe-loopback-jack-test-begin  [ number-of-bitsbit-pattern ] |  far-csu-loopback-test-begin  |  one-way-span-test-begin  |  end-loopback/span-test  |  inject-single-bit-error  |  ds1/csu-loopback-tests ]
location

Represents the physical position of the board to be tested. It is represented by media gateway, slot position.

cpe-loopback-jack-test-begin number-of-bits bit-pattern

For DS1 boards, this causes a long-duration loopback test to be setup through the CPE (customer-premises equipment) loopback jack. The command enables you to specify a loop-up code for the CPE loopback jack if it differs from the default of 0x47F. Specify the number-of-bits in the loop-up code as well as the actual bit-pattern (in hexadecimal).

The test aborts if the busyout command has not been set

far-csu-loopback-test-begin

For DS1 boards, this causes a long-duration loopback test to be setup through the far-end CSU (channel service unit).

one-way-span-test-begin

For DS1 boards, this begins execution of a long-duration one-way span test.

end-loopback/span-test

For DS1 boards, this parameter terminates long-duration one-way span and loopback testing.

inject-single-bit-error

For DS1 boards, this parameter causes a single bit error to be sent within an active framed 3-in-24 test pattern used in long-duration loopback and span testing.

ds1/csu-loopback-tests

For DS1 boards, this parameter executes the following loopback tests: DS1 Board LoopBack, CSU Module Equipment LoopBack, and CSU Module Repeater LoopBack. These tests are performed sequentially for a short duration each, and individual PASS/FAIL/ABORT test results are reported following each test.

Feature Interactions for test ds1-loop

Loopback or span tests are enabled on DS1 boards that are busied out.

One of the CPE loopback jack, far-end CSU, one-way span, or DS1/CSU loopback tests may be active at any given time on a DS1 span.

Example

test ds1-loop  1v2