ipaddr
param param
udpport udpport
mask mask
timeout timeout
retries retries
taglist taglist
volatile |
nonvolatile
Defaults
If not specified, udpport will be set to 162.
If not specified, mask will be set to 255.255.255.255
If not specified, timeout will be set to 1500.
If not specified, number of retries will be set to 3.
If taglist is not specified, none will be set.
If not specified, storage type will be nonvolatile.
Mode
Switch command, read‐write.
Example
This example shows how to configure a trap notification called "TrapSink." This trap notification
will be sent to the workstation 192.168.190.80 (which is target address "tr"). It will use security and
authorization criteria contained in a target parameters entry called "v2cExampleParams". For
more information on configuring a basic SNMP trap, refer to "Creating a Basic SNMP Trap
Configuration" on page 5‐37:
D2(su)->set snmp targetaddr tr 192.168.190.80 param v2cExampleParams taglist
TrapSink
clear snmp targetaddr
Use this command to delete an SNMP target address entry.
Syntax
clear snmp targetaddr targetAddr
Specifies the IP address of the target.
Specifies an entry in the SNMP target parameters table, which is used
when generating a message to the target. Maximum length is 32 bytes.
(Optional) Specifies which UDP port of the target host to use.
(Optional) Specifies the IP mask of the target.
(Optional) Specifies the maximum round trip time allowed to
communicate to this target address. This value is in .01 seconds and the
default is 1500 (15 seconds.)
(Optional) Specifies the number of message retries allowed if a response is
not received. Default is 3.
(Optional) Specifies a list of SNMP notify tag values. This tags a location
to the target address as a place to send notifications. List must be enclosed
in quotes and tag values must be separated by a space (for example,
"tag 1 tag 2").
(Optional) Specifies temporary (default), or permanent storage for SNMP
entries.
clear snmp targetaddr
D-Series CLI Reference 5-27