127
DWS-1008 User’s Manual
D-Link Systems, Inc.
Configuring SNMP
The
security
option specifies the security level, and is applicable only when the SNMP
version is
usm
:
•
unsecured
- Message exchanges are not authenticated, nor are they
encrypted. This is the default.
•
authenticated
- Message exchanges are authenticated, but are not encrypted.
•
encrypted
- Message exchanges are authenticated and encrypted.
The
retries
and
timeout
options are applicable only when the SNMP version is
v2c
or
usm
and the notification type is
inform
. The
retries
option specifies the number of times the MSS
SNMP engine will resend a notification that has not been acknowledged by the target. You
can specify from 0 to 3 retries. The default is 0. The
timeout
option specifies the number
of seconds MSS waits for acknowledgement of a notification. You can specify from 1 to 5
seconds. The default is 2.
Command Examples
The following command configures a notification target for acknowledged
notifications:
DWS-1008
set snmp notify target 1 10.10.40.9 usm inform user securesnmpmgr1
snmp-engine-id ip
success: change accepted.
This command configures target 1 at IP address 10.10.40.9. The target’s SNMP engine ID
is based on its address. The MSS SNMP engine will send notifications based on the default
profile, and will require the target to acknowledge receiving them.
The following command configures a notification target for unacknowledged notifications:
DWS-1008
set snmp notify target 2 10.10.40.10 v1 trap
success: change accepted.
Enabling the SNMP Service
To enable the MSS SNMP service, use the following command:
set ip snmp server
{
enable
|
disable
}
The following command enables the SNMP service:
DWS-1008
set ip snmp server enable
success: change accepted.