![background image](http://html.mh-extra.com/html/hp/t9576g06/t9576g06_management-manual_2175294096.webp)
Installing and Configuring the SNMP Agent
SNMP Configuration and Management Manual — 424777-006
2- 40
Dynamically Generated Trap Destinations
Dynamically Generated Trap Destinations
If no trap destinations are defined, then for every SNMP manager communicating
through TCP/IP from which the SNMP manager receives a request, the SNMP agent
creates a trap destination definition. The trap port value is 162, the default value. Each
dynamically generated TRAPDEST object contains the default community, network,
and trap type attribute values. The host address attribute of each dynamically
generated TRAPDEST object is the Internet address from which the request was
received. These TRAPDEST objects are named “#DYNA0,” “#DYNA1,” and so on, and
are stored in the SNMPCTL file.
For example, if the SNMP agent receives a request through TCP/IP from the manager
at Internet address 130.252.86.10, the SNMP agent creates and starts the following
TRAPDEST object:
TRAPDEST $agent-process.#DYNA0, COMMUNITY Tandem,
NETWORK $ZTC0, HOSTADDR 130.252.86.10
Then, if the SNMP agent receives a request from the SNMP manager at Internet
address 155.186.130.123, the SNMP agent creates and starts another TRAPDEST
object:
TRAPDEST $agent-process.#DYNA1, COMMUNITY Tandem,
NETWORK $ZTC0, HOSTADDR 155.186.130.123
Once you explicitly create a TRAPDEST object using the ADD command, dynamic
TRAPDEST generation stops. The default trap port would be 162, however, the port
cannot be seen in SCF, but can be retrieved and set to a different port using the SNMP
manager.
The following is a summary of dynamic TRAPDEST object generation:
•
Dynamic TRAPDEST generation is enabled when the SNMP agent is started with
the WARM startup parameter and there are no TRAPDEST objects in the
SNMPCTL file.
•
Dynamic TRAPDEST generation is disabled when you do one of the following:
•
Use the ADD command to add a TRAPDEST object (or create one through
SNMP).
•
Stop and restart the SNMP agent with the WARM option after at least one
default TRAPDEST object has been generated.
If the SNMP agent is stopped, and then restarted, using the WARM option,
even if you have never explicitly added a TRAPDEST object, no new
TRAPDEST objects are dynamically generated since the SNMPCTL file
contains the #DYNA
n
objects created when the SNMP agent was previously
running.
Summary of Contents for T9576G06
Page 24: ...Contents SNMP Configuration and Management Manual 424777 006 xxii Tables continued ...
Page 38: ...Part I Installing and Configuring SNMP SNMP Configuration and Management Manual 424777 006 ...
Page 140: ...Part II SCF for the SNMP Agent SNMP Configuration and Management Manual 424777 006 ...
Page 208: ...Part III Troubleshooting SNMP Configuration and Management Manual 424777 006 ...
Page 230: ...Part IV SNMP Subagents SNMP Configuration and Management Manual 424777 006 ...
Page 704: ...Part V Appendices SNMP Configuration and Management Manual 424777 006 ...
Page 778: ...Index SNMP Configuration and Management Manual 424777 006 Index 32 Special Characters ...