Skip to content

add-gateway

Add a new gateway.

Syntax:

shell
sfiler-cli [options] add-gateway [command options]
Command optionsRequired / OptionalDescription
-nRequiredThe gateway name.
--ignore-if-existsOptionalA flag to ignore the error if the gateway name is already in use.

Example:

shell
./sfiler-config-cli.sh -l my-user -p my-password -cf "conf/sfiler.conf" add-gateway -n "My Gateway" --ignore-if-exists

Executing this command will add a new gateway. If the gateway name is already in use, the error will be ignored. The gateway will not be available after executing this command. It will be necessary to configure the gateway to make it effective. This can be done using the various gateway configuration parameters. See the following link (TODO) for a list of gateway configuration parameters.