Enterasys Networks D2G124-12P Benutzerhandbuch

Seite von 496
clear snmp targetaddr
D-Series CLI Reference 5-27
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 
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
ipaddr
Specifies the IP address of the target.
param param
Specifies an entry in the SNMP target parameters table, which is used 
when generating a message to the target. Maximum length is 32 bytes. 
udpport udpport
(Optional) Specifies which UDP port of the target host to use.
mask mask
(Optional) Specifies the IP mask of the target.
timeout timeout
(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.)
retries retries
(Optional) Specifies the number of message retries allowed if a response is 
not received. Default is 3.
taglist taglist
(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”).
volatile | 
nonvolatile
(Optional) Specifies temporary (default), or permanent storage for SNMP 
entries.