Syntax examples
A command that supports multiple options:
user
In the preceding example, the user command accepts the option
1.Type the user command, one option, and the argument XYZ: user
2.After the first command succeeds, type the user command, the second option, and the argument XYZ:
user
A command that accepts mutually exclusive arguments for an option:
alarmcount
In the preceding example, the option
alarmcount
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
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 |