SNMP Configuration and Management Manual

SCF Commands for the SNMP Agent
SNMP Configuration and Management Manual424777-006
5-12
ADD TRAPDEST Command
Trap destinations created with SCF are only of type broadcast. The SCF interface
does not provide a means of creating directed trap destinations. However, a
manager can change the type of a trap destination defined through SCF from type
broadcast to type directed. For more information, see the Part II, SCF for the
SNMP Agent.
Dynamically Generated TRAPDEST Objects
When you start the NonStop agent with the WARM startup parameter, and no
TRAPDEST objects are defined in the SNMPCTL file, the NonStop agent creates a
trap destination definition with the default NETWORK and COMMUNITY attribute
values for each Internet address from which it receives a request.
These dynamically generated TRAPDEST objects are named “#DYNA0,” “#DYNA1,”
and so on. They are stored in the SNMPCTL file.
So, for example, if the NonStop agent receives a request from the manager at Internet
address “130.252.86.10,” it creates and starts the following TRAPDEST object:
TRAPDEST $agent-process.#DYNA0, COMMUNITY "Tandem",
NETWORK $ZTC0, HOSTADDR "130.252.86.10"
Then, if the NonStop agent receives a request from the manager at Internet address
“155.186.130.123,” it 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 with the ADD command, dynamic
TRAPDEST generation stops.
The following summarizes dynamic TRAPDEST object generation:
Dynamic TRAPDEST generation is enabled when the NonStop agent is started
with the WARM startup parameter and no TRAPDEST objects are in the
SNMPCTL file.
Dynamic TRAPDEST generation is disabled when you either:
°
Use the ADD command to add a TRAPDEST object or create one through
SNMP.
°
Stop and restart the NonStop agent with the WARM option after at least one
default TRAPDEST object has been generated.
If you stopped and then restarted the NonStop agent with the WARM option,
even if you have never explicitly added a TRAPDEST object, no new
TRAPDEST objects are dynamically generated. The SNMPCTL file will contain
the #DYNAn objects created when the NonStop agent was previously running.