(Page 1 of 1 in this chapter) Version


Chapter 4

Demonstration Programs


4.1 TDM Demonstration Application
4.1.1 Using t1demo
4.2 TDM Status Application
4.2.1 Using t1stat

4.1 TDM Demonstration Application

The TDM Demonstration application (t1demo) provides a command-line interface to call any of the T1/E1/MVIP/H.100/H.110 API functions. The t1demo application can be used to test the effect of various API calls on other TX boards in a system.

4.1.1 Using t1demo

Name

t1demo

Purpose

Demonstrates each T1/E1/MVIP/H.100/H.110 API function, as well as tests the effect of various API calls on other TX boards in a system.

Usage

t1demo

Procedure

To run t1demo:

  1. At the command line prompt, enter the following:

    
    t1demo
  2. The t1demo application supports the following commands:
    Command

    Description

    CL net frame coding bldout robbed timing

    Configures the T1/E1 line.

    · Network interface (net) must be either A or B.

    · Framing format used (frame) must be one of: NONE, D4, ESF, CCS, CAS, CCSCRC4, CASCRC4.

    · Line encoding (coding) must be one of: NONE, NOZCS, B7S, B8ZS, HDB3

    · Line buildout option (bldout) must be between 0 and 4.

    · Robbed bit signaling (robbed) must be either DIS (disabled) or ENA (enabled).

    · Bus timing (timing) must either be SLAVE or MASTER.

    LS net flags

    Displays T1/E1 line status.

    · Network interface (net) must be either A or B.

    · flags must either be 0 or 1, where a value of 1 will reset the counts.

    PR net flags

    Displays T1/E1 performance report.

    · Network interface (net) must be either A or B.

    · flags must either be 0 or 1, where a value of 1 will reset the counts.

    LC net loopback alarm

    Sets T1/E1 line control.

    · Network interface (net) must be either A or B.

    · Loopback option (loopback) must be one of the following: NONE, LOCAL, or REM (remote).

    · Type of alarms detected (alarm) must be one of the following: NONE, YELLOW, BLUE, TS16AIS, DISTMF.

    CD net channel state pattern

    Conditions a T1/E1 channel.

    · Network interface (net) must be either A or B.

    · T1/E1 channel number (channel) must be between 0 and 31.

    · State of channel conditioning (state) must be either DIS (disabled) or ENA (enabled).

    · Output bit pattern (pattern) must be between 0 and 255 or 0x00 and 0xFF.

    CC net channel trans

    Configures a T1/E1 channel.

    · Network interface (net) must be either A or B.

    · T1/E1 channel number (channel) must be between 0 and 31.

    · Channel transparency (trans) must be either 0 (normal) or 1 (transparent).

    CS net

    Displays T1/E1 channel status.

    · Network interface (net) must be either A or B.

    SV net mask

    Starts carrier supervision.

    · Network interface (net) must be either A or B.

    · mask can be any combination of the following: 1 (status), 2 (alarms), 3(15-minute report), or 8 (24-hour report).

    Q

    Quits test application.

    CK clock sclock net

    Configures MVIP clock.

    · Mode of MVIP clock signals (clock) must be one of the following: MVIP, SEC8K, OSC, or NET.

    · Source of SEC8K clock signal (sclock) must be one of the following: SLAVE, OSC, or NET.

    · Network interface (net) must be either A or B.

    QO stream timeslot

    Queries timeslot output configuration.

    For MVIP-90:

    · Output stream number (stream) must be between 0 and 15 for MVIP,
    16 for T1-A, and 18 for T1-B.

    · Timeslot number on output stream (timeslot) must be between 0 and 31.

    For MVIP-95:

    · Output stream number (stream) must be between 0 and 31 for H.100/H.110,
    40 for T1-A, and 41 for T1-B.

    · Timeslot number on output stream (timeslot) must be between 0 and 127 for H.100/H.110 and between 0 and 31 for T1 interfaces.

    QS

    Displays switch capabilities.

    RS

    Resets switch fabric.

    SI stream timeslot

    Displays last input sample on a stream/timeslot.

    For MVIP-90:

    · Output stream number (stream) must be between 0 and 15 for MVIP,
    16 for T1-A, and 18 for T1-B.

    · Timeslot number on output stream (timeslot) must be between 0 and 31.

    For MVIP-95:

    · Output stream number (stream) must be between 0 and 31 for H.100/H.110,
    40 for T1-A, and 41 for T1-B.

    · Timeslot number on output stream (timeslot) must be between 0 and 127 for H.100/H.110 and between 0 and 31 for T1 interfaces.

    SO ostream otime mode istream itime pat

    Makes/clears switch simplex connection.

    For MVIP-90:

    · Output stream number (ostream) must be between 0 and 15 for MVIP,
    16 for T1-A, and 18 for T1-B.

    · Output timeslot number (otime) must be between 0 and 31.

    · Output mode (mode) must be one of the following: CONN (connect), DIS (disable), or PAT (pattern).

    · Input stream number (istream) must be between 0 and 15 for MVIP,
    16 for T1-A, and 18 for T1-B.

    · Timeslot number on input stream (itime) must be between 0 and 31.

    · Output bit pattern (pat) must be between 0 and 255 or 0x00 and 0xFF.

    For MVIP-95:

    · Output stream number (ostream) must be between 0 and 31 for H.100/H.110,
    40 for T1-A, and 41 for T1-B.

    · Output timeslot number (otime) must be between 0 and 127 for H.100/H.110, and between 0 and 31 for T1 interfaces.

    · Output mode (mode) must be one of the following: CONN (connect), DIS (disable), or PAT (pattern).

    · Input stream number (istream) must be between 0 and 31 for H.100/H.110,
    40 for T1-A, and 41 for T1-B.

    · Timeslot number on input stream (itime) must be between 0 and 127 for H.100/H.110 and between 0 and 31 for T1 interfaces.

    · Output bit pattern (pat) must be between 0 and 255 or 0x00 and 0xFF.

    SF ostream otime mode istream itime pat

    Makes/clears switch duplex connection.

    For MVIP-90:

    · Output stream number (ostream) must be between 0 and 15 for MVIP,
    16 for T1-A, and 18 for T1-B.

    · Output timeslot number (otime) must be between 0 and 31.

    · Output mode (mode) must be one of the following: CONN (connect), DIS (disable), or PAT (pattern).

    · Input stream number (istream) must be between 0 and 15 for MVIP,
    16 for T1-A, and 18 for T1-B.

    · Timeslot number on input stream (itime) must be between 0 and 31.

    · Output bit pattern (pat) must be between 0 and 255 or 0x00 and 0xFF.

    For MVIP-95:

    · Output stream number (ostream) must be between 0 and 31 for H.100/H.110,
    40 for T1-A, and 41 for T1-B.

    · Output timeslot number (otime) must be between 0 and 127 for H.100/H.110, and between 0 and 31 for T1 interfaces.

    · Output mode (mode) must be one of the following: CONN (connect), DIS (disable), or PAT (pattern).

    · Input stream number (istream) must be between 0 and 31 for H.100/H.110,
    40 for T1-A, and 41 for T1-B.

    · Timeslot number on input stream (itime) must be between 0 and 127 for H.100/H.110 and between 0 and 31 for T1 interfaces.

    · Output bit pattern (pat) must be between 0 and 255 or 0x00 and 0xFF.

    TR mode

    Tristates or enables switch.

    · State of switch (mode) must be either DIS (disabled) or ENA (enabled).

4.2 TDM Status Application

The TDM Status application (t1stat) demonstrates how to receive unsolicited T1/E1 status messages and performance reports. This application registers with the TX device driver and displays any T1/E1 status messages or performance reports it receives.

Note: Another application, such as t1demo, must be used to call TxT1E1SuperviseCarrier before any unsolicited status messages will be received.

4.2.1 Using t1stat

Name

t1stat

Purpose

Registers with the TX device driver and displays any T1/E1 status messages or performance reports received.

Usage

t1stat

Procedure

To run t1stat:

  1. At the command line prompt, enter the following:

    
    t1stat
  2. The t1stat application waits indefinitely and displays any T1/E1 status messages or performance reports received.



(Page 1 of 1 in this chapter) Version


tech_support@nmss.com
Copyright © 2000, Natural MicroSystems, Inc. All rights reserved.