CLI error codes
CLI error codes are shown in the command line if the command execution fails. The message includes a summary, followed by Command fail. Return code -X, where -X is the error code. For example:
# set test Command parse error before ‘test’ Command fail. Return code -61
The following table lists common error codes and their descriptions.
|
Return Code |
Description |
|---|---|
|
1 |
Generic CLI syntax error |
| -1 | Invalid length of value. |
| -4 | Maximum number of entries has been reached. |
| -5 | A duplicate entry already exists. |
| -8 | Invalid IP Address. |
| -37 | Permission denied. |
| -56 | Empty values are not allowed. |
| -61 | Input not as expected. |
| -160 | CFG_ER_GENERIC (common generic configuration error) |
| -553 | Name conflicts with an interface, VDOM, switch-interface, zone, or interface name used for hardware switch interfaces. |
| -651 | Input value is invalid. |