Lantronix
SISPM1040-582-LRT CLI Reference
33757 Rev. J
Page
91
of
272
snmp-server
Configure SNMP Server commands
Command
Function
access access configuration
community Set the SNMP community
contact Set the SNMP server's contact string
engine-id Set SNMP engine ID
host Set SNMP host's configurations
location Set the SNMP server's location string
security-to-group security-to-group configuration
trap Set trap's configurations
user Set the SNMPv3 user's configurations
version
Set the SNMP server's version
view MIB view configuration
Command
:
access
Description
:
Set SNMP server access parameters.
Syntax
:
snmp-server
access <group_name> model { v1 | v2c | v3 | any } level { auth | noauth | priv } [
read <view_name> ] [ write <write_name> ]
Parameters
: <word32> group name
model
security model
any
any security model
v1
v1 security model
v2c
v2c security model
v3
v3 security model
level
security level
auth
authNoPriv Security Level
noauth
noAuthNoPriv Security Level
priv
authPriv Security Level
read
specify a read view for the group
write
specify a write view for the group
<word32> read view name
<word32> write view name
Example
:
SISPM1040-582-LRT(config)#
snmp-server access Acc-1 model v3 level auth read readView1 write
writeView1
SISPM1040-582-LRT(config)#
Messages: The group name 'Acc-1' is not exist