June 2018
318 Legrand PDU User Guide
Setting the sysLocation Value
This command sets the SNMP MIB-II sysLocation value.
config:# network services snmp sysLocation <value>
Variables:
<value> is a string comprising 0 to 255 alphanumeric characters.
Changing the Modbus Configuration
You can enable or disable the Modbus agent, configure its read-only capability, or change its TCP port.
A Modbus command begins with network services modbus.
Enabling or Disabling Modbus
This command enables or disables the Modbus protocol.
config:# network services modbus enabled <option>
Variables:
<option> is one of the options: true or false.
Option Description
true The Modbus agent is enabled.
false The Modbus agent is disabled.
Enabling or Disabling the Read-Only Mode
This command enables or disables the read-only mode for the Modbus agent.
config:# network services modbus readonly <option>
Variables:
<option> is one of the options: true or false.
Option Description
true The read-only mode is enabled.
false The read-only mode is disabled.
Changing the Modbus Port
This command changes the Modbus port.
config:# network services modbus port <n>
Variables:
<n> is a TCP port number between 1 and 65535. The default Modbus port is 502.