126
DWS-1008 User’s Manual
D-Link Systems, Inc.
Configuring SNMP
To configure a notification target for informs from SNMPv2c, use the following command:
set snmp notify target
target-num ip-addr
[:
udp-port-number
]
v2c
community-string
inform
[
profile
profile-name
]
[
retries
num]
[
timeout
num]
To configure a notification target for traps from SNMPv2c, use the following command:
set snmp notify target
target-num ip-addr
[:
udp-port-number
]
v2c
community-string
trap
[
profile
profile-name
]
To configure a notification target for traps from SNMPv1, use the following command:
set snmp notify target
target-num ip-addr
[:
udp-port-number
]
v1
community-string
[
profile
profile-name
]
To clear a notification 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 notifications to. The default is 162.
Use
v1
,
v2c
, or
usm
to specify the SNMP version.
The
inform
or
trap
option specifies whether the MSS SNMP engine expects the target to
acknowledge notifications 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 notification profile. The default is
default
.
Summary of Contents for DWS-1008
Page 1: ......