Command line interface

The Probe for Huawei U2000 is supplied with a Command Line Interface (CLI). This interface allows you to execute commands using the probe (for example, to acknowledge alarms or unacknowledge events in Huawei U2000).

To use the CLI, you must use the CommandPort property in the properties file to specify a port through which commands will be sent. When you want to execute commands, telnet to this port.

The following table describes the commands that you can use with the CLI.

Table 1. CLI commands 

Command

Description

exit/quit

Use this command to close the connection.

help

Use this command to display online help about the CLI.

acknowledgeAlarm <alarm_id> <user_name>

Use this command to acknowledge an event in Huawei U2000.

unacknowledgeAlarm <alarm_id> <user_name>

Use this command to unacknowledge an event in Huawei U2000.

resyncAll

Use this command to perform a full resynchronization with the alarm list in Huawei U2000.

name

Use this command to print the name information of the probe.

version

Use this command to print the version of the probe.

Note: As the CLI is based on Telnet connections, you can connect to the probe from anywhere by creating desktop tools to open a Telnet connection, send a command, and then to close the connection. This means that simple scripts can be set up to allow users to acknowledge selected events from the IBM Tivoli Netcool/OMNIbus event list.