To shorten the configuration time, you can combine various configuration commands in one command to perform all of them at a time. All combined commands must belong to the same configuration type, such as commands prefixed with network, user modify, or sensor externalsensor.
A multi-command syntax looks like this:
<configuration type> <setting 1> <value 1> <setting 2> <value 2> <setting 3> <value 3>
Example 14 Combination of IP, Subnet Mask and Gateway ParametersThe following multi-command syntax configures IPv4 address, subnet mask and gateway for the network connectivity simultaneously.
network ipv4 ipAddress 192.168.84.225 subnetMask 255.255.255.0 gateway 192.168.84.0
The IP address is set to 192.168.84.225.
The subnet mask is set to 255.255.255.0.
The gateway is set to 192.168.84.0.
The following multi-command syntax simultaneously configures Upper Critical and Upper Warning thresholds for the RMS current of the 2nd overcurrent protector.
sensor ocp 2 current upperCritical disable upperWarning 15
The Upper Critical threshold of the 2nd overcurrent protector's RMS current is disabled.
The Upper Warning threshold of the 2nd overcurrent protector's RMS current is set to 15A and enabled at the same time.
This multi-command syntax configures both SSID and PSK parameters simultaneously for the wireless feature.
network wireless SSID myssid PSK encryp_key
The SSID value is set to myssid.
The PSK value is set to encryp_key.