Chapter 4: Using the Command Line Interface
156
Setting the History Buffer Length
This command syntax sets the history buffer length, which determines the amount of history commands that can be
retained in the buffer. The default length is 25.
config:#
history length <n>
Variables:
•
<n> is an integer number between 1 and 250.
Multi-Command Syntax
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
,
sensor externalsensor
and so on.
A multi-command syntax looks like this:
<configuration type> <setting 1> <value 1> <setting 2> <value 2> <setting 3> <value 3> ...
Example 1 - Combination of IP, Subnet Mask and Gateway Parameters
The following multi-command syntax configures IPv4 address, subnet mask and gateway for the network connectivity
simultaneously.
config:#
network ipv4 ipAddress 192.168.84.225 subnetMask 255.255.255.0 gateway
192.168.84.0
Results:
•
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.
Example 2 - Combination of Upper Critical and Upper Warning Settings
The following multi-command syntax simultaneously configures Upper Critical and Upper Warning thresholds for the RMS
current of the 2nd overcurrent protector.
config:#
sensor ocp 2 current upperCritical disable upperWarning 15