DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual 
44 
 
 
create snmp host 
Purpose  To create a recipient of SNMP traps generated by the Switch’s 
SNMP agent. 
Syntax 
create snmp host <ipaddr> [v1<community_string 20> | 
v2c<community_string 20> | v3 [noauth_nopriv | auth_nopriv | 
auth_priv]<auth_string 24>] 
Description The create snmp host command creates a recipient of SNMP traps 
generated by the Switch’s SNMP agent. 
Parameters  <ipaddr>  − The IP address of the remote management station to 
serve as the SNMP host for the Switch. 
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 being viewed by an unauthorized source. 
<community_string 20>  − A string of up to 20 alphanumeric 
characters that identifies members of an SNMP community. This 
string is used like a password to give remote SNMP managers 
access to MIB objects in the Switch’s SNMP agent. 
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. 
<auth_string 24>  − A string of up to 24 alphanumeric characters 
used in SNMP v3 to authorize a remote SNMP manager to access 
the Switch’s SNMP agent. 
Restrictions  Only Administrator and oper-level users can issue this command 
Example usage: 
To create an SNMP host to receive SNMP messages: 
DGS3100# create snmp host 10.48.74.100 v3 auth_priv public