DGS-3700 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
Page | 149
create snmp host
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 will 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.
noauth_nopriv
−
Specifies that there will be no authorization and no encryption of
packets sent between the Switch and a remote SNMP manager.
auth_nopriv
−
Specifies that authorization will be required, but there will be no
encryption of packets sent between the Switch and a remote SNMP manager.
auth_priv
−
Specifies that authorization will be required, and that packets sent
between the Switch and a remote SNMP manger will be encrypted.
<auth_string 32>
−
An alphanumeric string used to authorize a remote SNMP
manager to access the Switch’s SNMP agent.
Restrictions
Only Administrator-level users can issue this command.
Example usage:
To create an SNMP host to receive SNMP messages:
DGS-3700-12:5#create snmp host 10.48.74.100 v3 auth_priv public
Command: create snmp host 10.48.74.100 v3 auth_priv public
Success.
DGS-3700-12:5#
delete snmp host
Purpose
Used to remove a recipient of SNMP traps generated by the Switch’s SNMP agent.
Syntax
delete snmp host <ipaddr>
Description
This command is used to delete a recipient of SNMP traps generated by the Switch’s
SNMP agent.
Parameters
<ipaddr>
−
The IP address of a remote SNMP manager.
Restrictions
Only Administrator-level users can issue this command.
Example usage:
To delete an SNMP host entry:
DGS-3700-12:5#delete snmp host 10.48.74.100
Command: delete snmp host 10.48.74.100
Success.
DGS-3700-12:5#
show snmp host
Purpose
Used to display the recipient of SNMP traps generated by the Switch’s SNMP agent.