User`s manual

H.323 User's Manual 15. SNMP-Based Management
Version 5.0 361 December 2006
15.7.5 Multiple SNMP Trap Destinations
An agent can send traps to up to five managers. For each manager, set the manager’s IP
address, receiving port number, and enable sending traps to that manager.
The user also has the option of associating a trap destination with a specific SNMPv3 USM
user. Traps are then sent to that trap destination using the SNMPv3 format and the
authentication and privacy protocol configured for that user..
To configure the trap managers table use:
The Embedded Web Server (refer to Section 5.6.8.1 on page 172).
The ini file (refer to Section 15.7.5.2 below).
SNMP (refer to Section 15.7.5.3 on page 362).
15.7.5.1 Configuring Trap Manager via Host Name
One of the five available SNMP managers can be defined using a FQDN. In the current
version, this option can only be configured via the ini file (SNMPTrapManagerHostName).
The gateway tries to resolve the host name at start up. Once the name is resolved (IP is
found), the resolved IP address replaces the last entry in the trap manager table (defined
by the parameter SNMPManagerTableIP_x) and the last trap manager entry of
snmpTargetAddrTable in the snmpTargetMIB. The port is 162 (unless specified otherwise),
the row is marked as ‘used’ and the sending is ‘enabled’.
When using 'host name' resolution, any changes made by the user to this row in either
MIBs are overwritten by the gateway when a resolving is redone (once an hour).
Note that several traps may be lost until the resolving is complete.
15.7.5.2 Configuring Trap Managers via the ini File
In the Mediant 1000 ini file, the parameters below can be set to enable or disable the
sending of SNMP traps. Multiple trap destinations can be supported on the device by
setting multiple trap destinations in the ini file.
SNMPManagerTrapSendingEnable_<x>: indicates whether or not traps are to be
sent to the specified SNMP trap manager. A value of ‘1’ means that it is enabled, while
a value of ‘0’ means disabled. <x> represents a number 0, 1, 2 which is the array
element index. Currently, up to five SNMP trap managers can be supported.
SNMPManagerTrapUser_<x>: indicates to send an SNMPv2 trap using the trap user
community string configured with the SNMPTrapCommunityString parameter. The
user may instead specify an SNMPv3 user name.
Figure 15-1 presents an example of entries in a device's ini file regarding SNMP. The
device can be configured to send to multiple trap destinations. The lines in the file below
are commented with the ‘;’ at the beginning of the line. All of the lines below are
commented since the first line character is a semi-colon.