SNMP Configuration and Management Manual

SCF Commands for the SNMP Agent
SNMP Configuration and Management Manual424777-006
5-18
ALTER TRAPDEST Command
#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.
COMMUNITY "community-name"
specifies the community name included in trap messages sent to the associated
manager.
community-name is a case-sensitive of 1 to 50 character enclosed string
within quotation marks.
NETWORK [\node.]$tcpip-process
specifies the TCP/IP process handling the sending of trap messages by the
NonStop agent process to the manager.
$tcpip-process is from one to five alphanumeric characters preceded by a
dollar sign ($); the first alphanumeric character must be a letter. The process name
can optionally be qualified with a node name (backslash followed by one to seven
alphanumeric characters, the first of which must be a letter) identifying the node on
which the process is running.
HOSTADDR "ip-address"
specifies the Internet address of the manager to which trap messages are to be
sent.
Enter "ip-address" in standard Internet address dotted-decimal format—
consisting of the ASCII values of four bytes separated by periods—enclosed within
quotation marks. For example: “133.50.85.43”
Considerations: ALTER TRAPDEST
The TRAPDEST object must be in the STOPPED or DEFINED state before you can
alter it.
For TRAPDEST configuration restrictions, see Considerations: ADD TRAPDEST on
page 5-11.
Example: ALTER TRAPDEST
The following example disables, alters the configuration of, and reenables the sending
of trap messages by NonStop agent process $ZSNMP to the manager defined by the
#SUNTRAP object:
-> ASSUME PROCESS $ZSNMP
-> STOP TRAPDEST #SUNTRAP
-> ALTER TRAPDEST $ZSNMP.#SUNTRAP, NETWORK $ZTC1
-> START TRAPDEST #SUNTRAP