![Haivision Makito User Manual Download Page 168](http://html.mh-extra.com/html/haivision/makito/makito_user-manual_579766168.webp)
Configuring A/V Services Using SNMP
SNMPv3
Makito User’s Guide, v2.1.0, Issue 01
168
SNMPv3
For SNMPv3, the definition of a user and its access permission are separate steps, whereas
for v1/v2c community-based security, a single configuration line (e.g.,
rwcommunity
admin
) defines both.
The following command creates the user “johndoe” and defines its authentication protocol
and password, and its privacy (encryption) protocol and password. (Note that you can type
nmcfg user help
to view the supported protocols and pass phrase restrictions.)
# nmcfg user define johndoe SHA “password” AES “pass phrase”
The new user has no permissions until a
rouser
or
rwuser
line is added in the
snmpd.conf
configuration file. The command below shows that read and write permission is granted if
the user issues authenticated requests. Note that encryption (privacy) implies authentica-
tion.
# nmcfg access usm permit johndoe rw auth
The following line is added by the above command in the
snmpd.conf
configuration file:
rwuser johndoe auth
To assign Makito user group privileges instead of the read-only or read-write permissions
(to the whole MIB), the
ro
or
rw
parameter of the
nmcfg access
command can be replaced
by the access group admins, operators, or users. These groups provide to SNMP v1/v2c
communities and SNMPv3 USM users access privileges modeled on the Makito CLI and
Web interface privilege levels.
# nmcfg access usm permit johndoe operator auth
The following line is added by the above command in the
snmpd.conf
configuration file,
using a VACM group defined in snmpd.local.conf:
group _operators_auth_ usm johndoe
Examples
The following examples show how the v3 parameters are used with the SNMP commands.
The following
get
command has the required security level (authentication) and succeeds.
# snmpget –v3 –u johndoe –a SHA –A “password” –l authNoPriv localhost
sysName.0
SNMPv2-MIB::sysName.0 = STRING: razor
#
The following
get
command provides no security (no authentication, no privacy) and fails.
# snmpget -v3 -u johndoe -l noAuthNoPriv localhost sysName.0
Error in packet
Reason: authorizationError (access denied to that object)
#