SNMP Reference Manual
SNMP configuration within the SNMPv3 administration framework
Page 18 of 37
Defining target addresses
To configure a target address (to which a notification should be sent), add one or more
snmpTargetAddrEntry
definition in the
snmpd.cnf
file accordingly the following syntax:
snmpTargetAddrEntry <snmpTargetAddrName> <snmpTargetAddrTDomain>
<snmpTargetAddrTAddress> <snmpTargetAddrTimeout> <snmpTargetAddrRetryCount>
<snmpTargetAddrTagList> <snmpTargetAddrParams> <snmpTargetAddrStorageType>
<snmpTargetAddrTMask> <snmpTargetAddrMMS>
snmpTargetAddrName
is a human readable string representing the name of this target.
snmpTargetAddrTDomain
is an OID which indicates the network type (UDP/IP,IPX,etc.). For UDP/IP transport type, the OID
value (in dotted format) is
1.3.6.1.6.1.1
or equivalent (in English name)
snmpUDPDomain
.
snmpTargetAddrTAddress
is a valid address in the
snmpTargetAddrTDomain
. For
snmpTargetAddrTDomain
equal to
snmpUDPDomain
, a valid address would be
192.147.142.35 :0
, where the value after the colon
is the UDP port number. This address is used as the destination address for outgoing notifications.
⇒
If the port number is specified as zero, the actual destination port used for the
outgoing notification message is set to the default 162.
snmpTargetAddrTimeout
is an integer which identifies the expected maximum round
triptime
(in hundredths of seconds) for
communicating with the
snmpTargetAddrTAddress
.
When an Inform is sent to this address, and a response is not received within this time period, the
SNMP entity will assume that the response will not be delivered. The default value of 1500 (15 seconds)
is suggested by RFC2573. If the outgoing message type is not Inform then this field is ignored.
snmpTargetAddrRetryCount
is an integer which identifies the number of times the SNMP entity will attempt to retransmit an Inform
when a response is not received. The default value of 3 is suggested by RFC2573. If the outgoing
message type is not Inform, then this field is ignored.
snmpTargetAddrTagList
is a quoted string containing one or more (space-separated) tags. These tags correspond to the value of
snmpNotifyTag
in the
snmpNotifyTable
. A notification defined in the
snmpNotifyTable
will
be sent to the address specified in
snmpTargetAddrTDomain
if the notification’s
snmpNotifyTag
appears in this list of tags.
Содержание SNMP 2.0.0
Страница 1: ...SNMP Reference Manual...