Janu
ary 201
9
Legrand PDU User Guide 409
Serial Port Configuration Commands
A serial port configuration command begins with
serial
.
Setting the Baud Rates
The following commands set the baud rate (bps) of the serial port labeled CONSOLE on the Legrand PDU
device. Change the baud rate before connecting it to the desired device, such as a computer, a Raritan's
P2CIM-SER, through the serial port, or there are communications errors. If you change the baud rate
dynamically after the connection has been made, you must reset the Legrand PDU or power cycle the
connected device for proper communications.
Determine the CONSOLE baud rate:
config:#
serial consoleBaudRate <baud_rate>
Variables:
<baud_rate> is one of the baud rate options:
1200
,
2400
,
4800
,
9600
,
19200
,
38400
,
57600
,
115200
.
Example
The following command sets the CONSOLE baud rate of the Legrand PDU device's serial port to 9600 bps.
config:#
serial consoleBaudRate 9600
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.