User`s manual

126
DWS-1008 User’s Manual
D-Link Systems, Inc.
Conguring SNMP
To congure a notication target for informs from SNMPv2c, use the following command:
set snmp notify target target-num ip-addr[:udp-port-number]
v2c community-string inform
[prole profile-name]
[retries num]
[timeout num]
To congure a notication target for traps from SNMPv2c, use the following command:
set snmp notify target target-num ip-addr[:udp-port-number]
v2c community-string trap
[prole profile-name]
To congure a notication target for traps from SNMPv1, use the following command:
set snmp notify target target-num ip-addr[:udp-port-number]
v1 community-string
[prole profile-name]
To clear a notication target, use the following command:
clear snmp notify target target-num
The target-num is an ID for the target. This ID is local to the DWS-1008 switch and does not
need to correspond to a value on the target itself. You can specify a number from 1 to 10.
The ip-addr[:udp-port-number] is the IP address of the server. You also can specify the UDP
port number to send notications to. The default is 162.
Use v1, v2c, or usm to specify the SNMP version.
The inform or trap option species whether the MSS SNMP engine expects the target to
acknowledge notications sent to the target by the DWS-1008 switch. Use inform if you want
acknowledgements. Use trap if you do not want acknowledgements. The inform option is
applicable to SNMP version v2c or usm only.
The username is a USM username, and is applicable only when the SNMP version is usm.
If the user will send informs rather than traps, you also must specify the snmp-engine-id of
the target. Specify ip if the target’s SNMP engine ID is based on its IP address. If the target’s
SNMP engine ID is a hexadecimal value, use hex hex-string to specify the value.
The community-string is applicable only when the SNMP version is v1 or v2c.
The profile-name is the notication prole. The default is default.