User-input thread

The imgtdemo user-input thread waits for the following user commands:

Command

Description

si

Starts the IMGT service.

sm

Sets the event mask interactively.

ss

Stops the IMGT service.

is low_channel high_channel [nai]

Puts a range of channels on nai in service. Specify nai for NFAS only.

tis [nai]

Puts the whole interface in service. Specify nai for NFAS only.

oos low_channel high_channel [nai]

Puts a range of channels on nai out of service. Specify nai for NFAS only.

toos [nai]

Puts the whole interface out of service. Specify nai for NFAS only.

sr low_channel high_channel [nai]

Requests the status for a range of channels on nai. Specify nai for NFAS only.

sh

Shows the current status of B channels.

dsr

Requests the D channel status.

dsh

Shows the current D channel status.

help, h, ?

Displays this help screen.

quit, q

Exits the program.


If you use the oos, tis, toos, dsr, or sr commands, the program creates the messages based on passed arguments. The sh and dsh commands provide a snapshot of the status of all the B channels and the D channel (respectively) on the trunk or the whole NFAS group.

Example 1

To request a SERVICE message to put B channels from 1 through 23 out of service, enter the command:

oos 1 23

The message is sent to the IMGT manager.

Example 2

To show the status of the B channels on an E1 trunk, enter the sh command. The following information appears:

Show status on Board 1 Nai 0
Channels:    1 2 3 4 5 6 7 8 9 0  1 2 3 4 5 6 7 8 9 0  1 2 3 4 5 6 7 8 9 0
Status:      0 0 0 2 0 0 0 0 0 0  0 0 0 0 0 D 0 0 0 0  0 0 0 0 0 0 0 0 0 0
       0 = In Service, 1 = Maintenance,  2 = Out Of Service, D = D channel