Chapter 13: Unit Management (CLI)
Configuring SNMP (CLI)
phn-3963_008v000
Page 13-28
The following commands enable SNMP v2 on the unit, and set the read community to “public” and the write
community to “private”:
root> platform security protocols-control snmp admin set enable
root> platform security protocols-control snmp version set v2
root> platform security protocols-control snmpv1v2 set read-community
public write-community private
Configuring SNMPv3 (CLI)
The following commands are relevant for SNMPv3.
To block SNMPv1 and SNMPv2 access so that only SNMPv3 access will be enabled, enter the following command in
root view:
root> platform security protocols-control snmp v1v2-block set <set-block>
To add an SNMPv3 user, enter the following command in root view:
root> platform security protocols-control snmp v3-authentication add v3-
user-name <v3-user-name> v3-user-password <v3-user-password> v3-security-
mode <v3-security-mode> v3-encryption-mode <v3-encryption-mode> v3-auth-
algorithm <v3-auth-algorithm> v3-access-mode <v3-access-mode>
To remove an SNMP v3 user, enter the following command in root view:
root> platform security protocols-control snmp v3-authentication remove
v3-user-name <v3-user-name>
To display all SNMP v3 users and their authentication parameters, enter the following command in root view:
root> platform security protocols-control snmp v3-authentication show
Table 60
SNMPv3 CLI Parameters
Parameter
Input Type
Permitted Values
Description
set-block
Variable
yes
no
yes – SNMPv1 and SNMPv2 access is
blocked.
no – SNMPv1 and SNMPv2 access is
not blocked.
v3-user-name Text String
A SNMPv3 user name.
v3-user-
password
Text String
Must be at least eight
characters.
An SNMPv3 user password.
v3-security-
mode
Variable
authNoPriv
authPriv
noAuthNoPriv
Defines the security mode to be used
for this user.