D-Link dws-1008 Switch User Manual


 
D-Link DWS-1008 CLI Manual 144
set snmp protocol
Enables an SNMP protocol. MSS supports SNMPv1, SNMPv2c, and SNMPv3.
Syntax: set snmp protocol {v1 | v2c | usm | all} {enable | disable}
v1 SNMPv1
v2c SNMPv2c
usm SNMPv3 (with the user security model)
all Enables all supported versions of SNMP.
enable Enables the specified SNMP version(s).
disable Disables the specified SNMP version(s).
Defaults: All SNMP versions are disabled by default.
Access: Enabled.
Usage: SNMP requires the switch’s system IP address to be set. SNMP will not work without
the system IP address. You also must enable the SNMP service using the set ip snmp server
command.
Examples: The following command enables all SNMP versions:
DWS-1008# set snmp protocol all enable
success: change accepted.
See Also:
• set ip snmp server
• set snmp community
• set snmp notify target
• set snmp notify profile
• set snmp security
• set snmp usm
• show snmp status
set snmp security
Sets the minimum level of security MSS requires for SNMP message exchanges.
Syntax: set snmp security {unsecured | authenticated | encrypted |
auth-req-unsec-notify}
unsecured SNMP message exchanges are not secure. This is the only value
supported for SNMPv1 and SNMPv2c.
authenticated SNMP message exchanges are authenticated but are not
encrypted.
encrypted SNMP message exchanges are authenticated and encrypted.
auth-req-unsecnotify SNMP message exchanges are authenticated but are not
encrypted, and notifications are neither authenticated nor
encrypted.