configureanomaly CLI command
Syntax
configureanomaly -d <hostname> -p <portNumber> -u <username> -w <password> -ops <enable/disable> -interval [interval in seconds]
- Angle brackets (< >) indicate a variable value that needs to be user defined.
- Square brackets ([ ]) indicate optional parameters.
The following table describes the parameters used in the syntax:
Example inputs
The following example provides the input for enabling anomaly detection:
configureanomaly -d localhost -p 9797 -u admin -w admin12345 -ops enable -interval 600
The following example provides the input for disabling anomaly detection:
configureanomaly -d localhost -p 9797 -u admin -w admin12345 -ops disable
The following example provides the input for retrieving the status of anomaly detection (enabled/disabled):
configureanomaly -d localhost -p 9797 -u admin -w admin12345 -ops get