Using the command-line interface

The FTM SWIFT command-line interface (CLI) provides a single user interface for operating and administration tasks. You issue commands for an FTM SWIFT instance by calling the CLI program dnicli in the command shell. You can call this program in any of the following modes:
Single-command mode
You issue one command with the CLI program. This is useful for shell script processing.
Multi-command mode
You interactively enter commands in the command shell of the CLI program.
Command-file mode
You pass a list of commands in a plain text command file to the CLI program. The CLI program evaluates the command file and processes the commands sequentially.
There are two types of commands you can enter using the CLI:
External command
This is a command that causes the CLI to generate an FTM SWIFT message and send it to a service to be processed. It requires that you specify the instance, OU, and service to which the resulting message is to be sent.
Internal command
This is a command that is processed directly by and that controls the CLI. Internal commands begin with a period (.), and are described in Internal commands.

You can also use the CLI to retrieve events. For more information about using the CLI to access event data, see Monitoring FTM SWIFT services and Managing FTM SWIFT data.

For a summary of the CLI commands, see CLI reference.