Chapter 4 Function/System Settings and Display
4.3 Network Management > set snmp-trap
ETERNUS CLI User’s Guide
Copyright 2015 FUJITSU LIMITED
P2X0-1030-09ENZ0
498
set snmp-trap
This command defines an SNMP trap, which is a definition associating an SNMP community string with an IP
address. A maximum of ten SNMP traps can be defined.
■
Syntax
■
Parameter
■
Example(s)
set snmp-trap -manager-number
manager_number
[-version {v1|v2c|v3}]
[{-community
community_name
| -user
user_name
}]
[-trap-number
trap_number
] [-port-number
port_number
]
-manager-number
This parameter specifies the SNMP manager number to send trap. Any value between 1 and 10
can be specified. This number can be confirmed by using the "show snmp-manager" command.
-version
Optional. This parameter specifies the SNMP version. If this parameter is omitted when setting
an existing trap, the existing setting for this parameter is not changed.
v1
SNMP version 1.
v2c
SNMP version 2c.
v3
SNMP version 3. (default)
-community Optional. This parameter specifies the SNMP community name, which can contain up to 32
alphanumeric characters. A single command cannot define multiple traps. This should be
specified for SNMP version 1 or 2c. This is not necessary for SNMP version 3. If double quotation
marks ("") are specified, the associated community is removed from this trap setting.
-user
Optional. This parameter specifies the SNMP user name. This should be specified for SNMP
version 3. This is not necessary for SNMP version 1 or 2c. If double quotation marks ("") are
specified, the associated user is removed from this trap setting.
-trap-number
This parameter specifies the trap number. The trap number can be confirmed using the "show
snmp-trap" command.
-port-number
Optional. This parameter specifies the port number of the manager. If omitted, the previously
set port number is used. If no port has been previously set, default port number 162 is used.
The following example sets the SNMP trap corresponding to the SNMP community named "community1" and
SNMP manager number 3:
CLI> set snmp-trap -community community1 -manager-number 3
Summary of Contents for Eternus DX410 S2
Page 2: ...This page is intentionally left blank ...
Page 756: ......