SNMP CLI Commands
2/1553-ZAT 759 94 Uen B – December 2005
615
20.8
snmp set trapdestination
20.8.1 Syntax
snmp set trapdestination <name> [[community <community>]
[destination <ipaddress>] [permanently
<enabled|disabled>] [port <portNumber>] [temporarily
<enabled|disabled>] [version <v1|v2c>]]
20.8.2 Description
This command allows you to change settings to a trap destination previously
added to the system using the
snmp add trapdestination
command.
20.8.3 Options
The following table gives the range of values for each option which can be
specified with this command and a default value (if applicable).
Option Description
Default
value
name
A name that identifies an existing trap
destination. To display trap destination
names, use the
snmp list
trapdestinations
command.
N/A
community
The trap community name of an
existing community. To display
community names, use the
snmp
list communitynames
command.
N/A
destination
The IP address of the machine that
you want traps to be send to.
N/A
permanently
Enabled
temporarily
Enabled
port
The port number to which traps are
sent. A value of 0 means that traps are
sent to the SNMP agent’s default trap
port number (usually 162).
0
version
v1 | v2c
The trap version to be used.
v1: trap, v2s: notification.
v1