184
S
MARTNA™ 10G NETWORK ACCESS (SMARTNA-X)
COMMAND LINE INTERFACE REFERENCE |
DRAFT
Examples • Create the group privateGrp with multiple security models and assign SNMPv1, SNMP v2c and SNMPv3 users
that all have the same level of security (the example provides a complete set of sample commands you might use
to create such as group and its access):
• Create the group privateGrp with multiple security models and assign SNMPv1, SNMP v2c and SNMPv3 users
that have different levels of security (the example provides a complete set of sample commands you might use to
create such as group and its access):
• Create access group called group3 with SNMPv2c security, user name authentication (no encryption). Assign get
and set requests to
NC view; notify requests to None (exclude .1):
write-viewname Specifies the view to which set requests are mapped. If no access is required, create a
view called ‘None’ that excludes access to the OID root and specify it here. See the
examples for the relevant command. The following restrictions apply to the write
view name:
• maximum of 32 alpha-numeric characters (case sensitive)
• no spaces, punctuation or other special characters
•first character must be a letter
notify-viewname Specifies the view to which notify requests are mapped. If no access is required,
create a view called ‘None’ that excludes access to the OID root and specify it here.
See the examples for the relevant command.
The following restrictions apply to the notify view name:
• maximum of 32 alpha-numeric characters (case sensitive)
• no spaces, punctuation or other special characters
•first character must be a letter
CONTROLLER>snmp create access group2 any noAuth custom_v custom_v None
CONTROLLER>snmp create comtosec privateVacmSec privateVacm ipv4
CONTROLLER>snmp create user v3user
CONTROLLER>snmp create sectogroup privateGrp v1 privateVacmSec
CONTROLLER>snmp create sectogroup privateGrp v2c privateVacmSec
CONTROLLER>snmp create sectogroup privateGrp usm v3user
CONTROLLER>snmp create access privateGrp any noAuth portstate3C portconfig3C portstate3C
CONTROLLER>snmp create user v3user MD5 testing123 SHA testing123
CONTROLLER>snmp create user v3user
CONTROLLER>snmp create sectogroup privateGrp v1 privateVacmSec
CONTROLLER>snmp create sectogroup privateGrp v2c privateVacmSec
CONTROLLER>snmp create sectogroup privateGrp usm v3user
CONTROLLER>snmp create access privateGrp any noAuth portstate3C portconfig3C portstate3C
CONTROLLER>snmp create access privateGrp usm priv portstate3C portconfig3C portstate3C
CONTROLLER>snmp create access group3 v2c noAuth NC NC None