TDM demonstration program: t1demo

Provides a command line interface to call the T1/E1 and H.100/H.110 library functions and test the effect of the functions on other TX boards in a system.

Usage

t1demo -b board

where board specifies the TX board number to connect to. The default is board 1.

Description

t1demo provides the following commands:

Command

Description

CL net frame coding bldout robbed timing

Configures the T1/E1 line.

net must be:

A, B, C, or D for PCI and PCI Express TX boards

A, B, C, D, E, F, G, or H for CompactPCI TX boards

frame must be:

NONE

D4

ESF

CCS

CAS

CCSCRC4

CASCRC4

coding must be:

NONE

NOZCS

B7S

B8ZS

HDB3

bldout must be from 0 through 4.

robbed must be:

DIS (disabled)

ENA (enabled)

timing must be:

SLAVE

MASTER

LS net flags

Displays the T1/E1 line status.

net must be:

A, B, C, or D for PCI and PCI Express TX boards

A, B, C, D, E, F, G, or H for CompactPCI TX boards

flags must be:

0

1 (reset the counts)

PR net flags

Displays a T1/E1 performance report.

net must be:

A, B, C, or D for PCI and PCI Express TX boards

A, B, C, D, E, F, G, or H for CompactPCI TX boards

flags must be:

0

1 (reset the counts)

LC net loopback alarm

Sets the T1/E1 line control.

net must be:

A, B, C, or D for PCI and PCI Express TX boards

A, B, C, D, E, F, G, or H for CompactPCI TX boards

loopback must be:

NONE

LOCAL

REM (remote)

alarm must be:

NONE

YELLOW

BLUE

TS16AIS

DISTMF

CD net channel state pattern

Conditions a T1/E1 channel.

net must be:

A, B, C, or D for PCI and PCI Express TX boards

A, B, C, D, E, F, G, or H for CompactPCI TX boards

channel must be 0 through 31.

state must be:

DIS (disabled)

ENA (enabled)

pattern must be:

0 through 255

0x00 through 0xFF

CC net channel trans

Configures a T1/E1 channel.

net must be:

A, B, C, or D for PCI and PCI Express TX boards

A, B, C, D, E, F, G, or H for CompactPCI TX boards

channel must be 0 through 31.

trans must be:

0 (normal)

1 (transparent)

CS net

Displays the T1/E1 channel status. net must be:

A, B, C, or D for PCI and PCI Express TX boards

A, B, C, D, E, F, G, or H for CompactPCI TX boards

SV net mask

Starts carrier supervision.

net must be:

A, B, C, or D for PCI and PCI Express TX boards

A, B, C, D, E, F, G, or H for CompactPCI TX boards

mask can be any combination of the following:

1 (status)

2 (alarms)

3 (15 minute report)

8 (24 hour report)

CK clock sclock net

Configures the H.100/H.110 clock.

clock must be:

SEC8K

OSC

NET

sclock must be:

SLAVE

OSC

NET

net must be:

A, B, C, or D for PCI and PCI Express TX boards

A, B, C, D, E, F, G, or H for CompactPCI TX boards

QO stream timeslot

Queries the timeslot output configuration.

stream must be:

0 through 31 for H.100/H.110

80 - 83 for T1/E1 trunks 1 - 4

84 - 87 for T1/E1 trunks 5 - 8 (CompactPCI TX only)

timeslot must be:

0 through 127 for H.100/H.110

0 through 23 for T1 or J1 interfaces

0 through 31 for E1 interfaces

QS

Displays the switch capabilities.

RS

Resets the switch fabric.

SI stream timeslot

Displays the last input sample on a stream and timeslot.

stream must be:

0 through 31 for H.100/H.110

80 - 83 for T1/E1 trunks 1 - 4

84 - 87 for T1/E1 trunks 5 - 8 (CompactPCI TX only)

timeslot must be:

0 through 127 for H.100/H.110

0 through 23 for T1 or J1 interfaces

0 through 31 for E1 interfaces

SO ostream otime mode istream itime pat

Makes or clears the switch simplex connection.

ostream must be:

0 through 31 for H.100/H.110

80 - 83 for T1/E1 trunks 1 - 4

84 - 87 for T1/E1 trunks 5 - 8 (CompactPCI TX only)

otime must be:

0 through 127 for H.100/H.110

0 through 23 for T1 or J1 interfaces

0 through 31 for E1 interfaces

mode must be:

CONN (connect)

DIS (disable)

PAT (pattern)

istream must be:

0 through 31 for H.100/H.110

80 - 83 for T1/E1 trunks 1 - 4

84 - 87 for T1/E1 trunks 5 - 8 (CompactPCI TX only)

itime must be:

0 through 127 for H.100/H.110

0 through 23 for T1 or J1 interfaces

0 through 31 for E1 interfaces

pat must be:

0 through 255

0x00 through 0xFF

SF ostream otime mode istream itime pat

Makes or clears the switch duplex connection.

ostream must be:

0 through 31 for H.100/H.110

80 - 83 for T1/E1 trunks 1 - 4

84 - 87 for T1/E1 trunks 5 - 8 (CompactPCI TX only)

otime must be:

0 through 127 for H.100/H.110

0 through 23 for T1 or J1 interfaces

0 through 31 for E1 interfaces

mode must be:

CONN (connect)

DIS (disable)

PAT (pattern)

istream must be:

0 through 31 for H.100/H.110

80 - 83 for T1/E1 trunks 1 - 4

84 - 87 for T1/E1 trunks 5 - 8 (CompactPCI TX only)

itime must be:

0 through 127 for H.100/H.110

0 through 23 for T1 or J1 interfaces

0 through 31 for E1 interfaces

pat must be:

0 through 255

0x00 through 0xFF

TR mode

Tristates or enables the switch. mode must be:

DIS (disabled)

ENA (enabled)

Q

Ends the test application.