APC MGE Galaxy 300 User's Guide Page 21

  • Download
  • Add to my manuals
  • Print
  • Page
    / 105
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 20
12Network Management Card User’s Guide
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 -p accepts 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
Page view 20
1 2 ... 16 17 18 19 20 21 22 23 24 25 26 ... 104 105

Comments to this Manuals

No comments