D-Link DGS-3100 Switch User Manual


 
DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual
45
Parameters
<groupname 30> A name of up to 30 alphanumeric characters that
identifies the SNMP group the new SNMP user is to be associated
with.
v1 – Specifies that SNMP version 1 is to be used. The Simple
Network Management Protocol (SNMP), version 1, is a network
management protocol that provides a means to monitor and control
network devices.
v2c – Specifies that SNMP version 2c is to be used. The SNMP v2c
supports both centralized and distributed network management
strategies. It includes improvements in the Structure of Management
Information (SMI) and adds some security features.
v3 – Specifies that the SNMP version 3 is to be used. SNMP v3
provides secure access to devices through a combination of
authentication and encrypting packets over the network. SNMP v3
adds:
Message integrity Ensures that packets have not been
tampered with during transit.
Authentication Determines if an SNMP message is from a
valid source.
Encryption Scrambles the contents of messages to
prevent it from being viewed by an unauthorized source.
noauth_nopriv Specifies that there is no authorization and no
encryption of packets sent between the Switch and a remote SNMP
manager.
auth_nopriv Specifies that authorization is required, but there is no
encryption of packets sent between the Switch and a remote SNMP
manager.
auth_priv Specifies that authorization is required, and that packets
sent between the Switch and a remote SNMP manger are
encrypted.
read_view – Specifies that the SNMP group being created can
request SNMP messages.
<view_name 30> A string of up to 30 alphanumeric
characters that identifies the group of MIB objects that a
remote SNMP manager is allowed to access on the Switch.
write_view – Specifies that the SNMP group being created has write
privileges.
<view_name 30> A string of up to 30 alphanumeric
characters that identifies the group of MIB objects that a
remote SNMP manager is allowed to access on the Switch.
notify_view Specifies that the SNMP group being created can
receive SNMP trap messages generated by the Switch’s SNMP
agent.
<view_name 30> A string of up to 30 alphanumeric
characters that identifies the group of MIB objects that a
remote SNMP manager is allowed to access on the Switch.
Restrictions Only administrator or operate-level users can issue this command.
Example usage:
To create an SNMP group named ‘sg1:’
DGS3100# create snmp group sg1 v3 noauth_nopriv read_view v1
write_view v1 notify_view v1
Success.