Actions/commands, Query current command status (-q) – 3Com CommWorks 5210 User Manual

Page 109

Advertising
background image

Actions/Commands 109

Actions/Commands

The command utility uses the following syntax:

tcmcmd [-q] -E

command -G group [-P parameter][-F][-p

seconds]target

Query Current

Command Status (-q)

Where:

[-q]

Displays the result of the last issued command the selected targets

Example:

tcmcmd [-q]

target

-E

command

command—a substring of valid commands

A substring match to the beginning of a command string has precedence over
internal matches. For example, "res" executes the Restore from NVRAM
command rather than the Software Reset command. Matching is case
insensitive. Spaces in the command name must be quoted properly according
to shell rules.

Command substrings can mean different commands depending on which
group is selected and whether the command is being executed at the slot level
or channel level. For example, for a modem, "reset" will perform a Hardware
Reset at the slot level, but a Software Reset at the channel level. For a T1 card,
"software" will initiate a Software Download if the Hardware group is
selected, but a Software Reset if the Software group is selected.

-G

group

The command type, hardware or software.

[-P

parameter]

The parameter to be supplied with command. Required for some devices, but
can be omitted where not used.

[-F]

The component may be in a state where the selected command is normally
rejected (for example, a modem in dial mode). Include this switch to force the
command to execute, regardless of the safeguards. Not all commands use this
feature.

Advertising