Schneider Electric AP9635 manual Command Response Codes, Syntax examples, Code Error message

Models: AP9635

1 105
Download 105 pages 25.64 Kb
Page 21
Image 21

Syntax examples

A command that supports multiple options:

user [-an <admin name>] [-ap <admin password>]

In the preceding example, the user command accepts the option -an, which defines the Administrator user name, and the option -ap, which defines the Administrator password. To change the Administrator user name and password to XYZ:

1.Type the user command, one option, and the argument XYZ: user -ap XYZ

2.After the first command succeeds, type the user command, the second option, and the argument XYZ:

user -an XYZ

A command that accepts mutually exclusive arguments for an option:

alarmcount -p [all warning critical]

In the preceding example, the option -paccepts only three arguments: all, warning, or critical. For example, to view the number of active critical alarms, type:

alarmcount -p critical

The command will fail if you type an argument that is not specified.

Command Response Codes

The command response codes enable scripted operations to detect error conditions reliably without having to match error message text.

The CLI reports all command operations with the following format:

E [0–9][0–9][0–9]: Error message

Code

Error message

 

 

E000

Success

 

 

E100

Command failed

 

 

E101

Command not found

 

 

E102

Reserved

 

 

E103

Reserved

 

 

E104

Reserved

 

 

E200

Reserved

 

 

Network Management Card User’s Guide

12

Page 21
Image 21
Schneider Electric AP9635 manual Command Response Codes, Syntax examples, Code Error message