Janu
ary 201
9
342 Legrand PDU User Guide
Changing the SSH Port
This command changes the SSH port.
config:#
network services ssh port <n>
Variables:
<n> is a TCP port number between 1 and 65535. The default SSH port is 22.
Determining the SSH Authentication Method
This command syntax determines the SSH authentication method.
config:#
network services ssh authentication <auth_method>
Variables:
<option> is one of the options:
passwordOnly
,
publicKeyOnly
or
passwordOrPublicKey
.
Option
Description
passwordOnly
Enables the password-based login only.
publicKeyOnly
Enables the public key-based login only.
passwordOrPublicKey
Enables both the password- and public
key-based login. This is the default.
If the public key authentication is selected, you must enter a valid SSH public key for each user profile to log
in over the SSH connection. See
Specifying the SSH Public Key
(on page 375).
Setting the SNMP Configuration
You can enable or disable the SNMP v1/v2c or v3 agent, configure the read and write community strings, or
set the MIB-II parameters, such as sysContact, using the CLI commands.
An SNMP command begins with
network services snmp
.
Enabling or Disabling SNMP v1/v2c
This command enables or disables the SNMP v1/v2c protocol.
config:#
network services snmp v1/v2c <option>
Variables:
<option> is one of the options:
enable
or
disable
.
Option
Description
enable
The SNMP v1/v2c protocol is enabled.
disable
The SNMP v1/v2c protocol is disabled.