SNMP Configuration and Management Manual

SCF Commands for the SNMP Agent
SNMP Configuration and Management Manual424777-006
5-10
ADD TRAPDEST Command
Examples: ADD PROFILE
The following example configures and activates an entry in the authentication table
that directs the NonStop agent to process SNMP Set, Get, and GetNext requests
from the manager at Internet address “130.252.86.10” sent under the “Private
community:
-> ADD PROFILE $ZSNMP.#LANMGR, COMMUNITY "Private", &
-> ACCESS READWRITE, HOSTADDR "130.252.86.10"
-> START PROFILE $ZSNMP.#LANMGR
Unless you have explicitly inactivated (with the STOP or ABORT command) the
delivered PROFILE $ZSNMP.#DEFAULT entry, the NonStop agent also processes
Get and GetNext requests generated under the “public” community from this
manager.
Because default values are assumed when an attribute keyword/value pair is
omitted, the following SCF commands have the same result:
-> ADD PROFILE $ZSNMP.#UBLAN, COMMUNITY "GetComm"
-> ADD PROFILE $ZSNMP.#UBLAN, COMMUNITY "GetComm", &
-> HOSTADDR "0.0.0.0", ACCESS READONLY
ADD TRAPDEST Command
Use the ADD TRAPDEST command to define a manager to which traps are to be sent
(trap destination).
[$agent-process.]#trapdest-name
identifies the trap destination being defined.
$agent-process
identifies the NonStop agent process to which the TRAPDEST object belongs.
It consists of a dollar sign ($) followed by one to five alphanumeric characters,
the first of which must be alphabetic.
#trapdest-name
identifies the TRAPDEST object. It consists of a pound sign (#) followed by one
to seven alphanumeric characters, the first of which must be alphabetic.
ADD TRAPDEST [$agent-process.]#trapdest-name
[ , COMMUNITY "community-name" ]
[ , NETWORK [\node.]$tcpip-process ]
, HOSTADDR "ip-address"