8/20q Fibre Channel Switch command line interface guide 225
Operands
trap [trap_number]
Prompts you in a line-by-line fashion to change SNMP trap parameters for the trap number given
by [trap_number]. [trap_number] can be 1–5. For each parameter, enter a new value or press
Enter
to accept the current value. To configure common parameters and trap parameters, omit the
trap
operand.
Table 52
describes the trap parameters.
Table 52
SNMP trap configuration parameters
Parameter
Description
Trap
[1-5]
Address
Specifies the workstation IP address to which SNMP traps are sent. The
default address for trap 1 is 10.0.0.254. The default address for traps
2–5 is
0.0.0.0
. Addresses, other than
0.0.0.0
, for all traps must be
unique.
Trap
[1-5]
Port
Specifies the workstation port to which SNMP traps are sent. Valid
workstation port numbers are 1–65535. The default is
162
.
Trap
[1-5]
Severity
Specifies the severity level to use when monitoring trap events. The
default is
Warning
.
Trap
[1-5]
Version
Specifies the SNMP version (
1
or
2
) to use in formatting traps. The
default is
2
.
Trap
[1-5]
Enabled
Specifies whether traps (event information) are enabled (
True
) or
disabled (
False
). The default is
False
.
Examples
The following is an example of the
set setup snmp common
command:
8/20q FC Switch (admin) #> set setup snmp common
A list of attributes with formatting and current values will follow.
Enter a new value or simply press the ENTER key to accept the current
value.
If you wish to terminate this process before reaching the end of the list
press 'q' or 'Q' and the ENTER key to do so.
Current Values:
SnmpEnabled True
Contact <sysContact undefined>
Location <sysLocation undefined>
ReadCommunity public
WriteCommunity private
AuthFailureTrap False
ProxyEnabled True
SNMPv3Enabled False
New Value (press ENTER to not specify value, 'q' to quit):
SnmpEnabled (True / False) :
Contact (string, max=64 chars) :
Location (string, max=64 chars) :
ReadCommunity (string, max=32 chars) :
WriteCommunity (string, max=32 chars) :
AuthFailureTrap (True / False) :
ProxyEnabled (True / False) :
SNMPv3Enabled (True / False) :
Do you want to save and activate this snmp setup? (y/n): [n]
Содержание 8/20q
Страница 14: ...14 About this guide ...
Страница 20: ...20 Command line interface usage ...
Страница 24: ...24 User account configuration ...
Страница 38: ...38 Network configuration ...
Страница 90: ...90 Connection security configuration ...
Страница 100: ...100 Device security configuration ...
Страница 104: ...104 RADIUS server configuration ...
Страница 110: ...110 Event log configuration ...
Страница 130: ...130 Simple Network Management Protocol configuration ...
Страница 322: ...322 Command reference ...
Страница 332: ...332 Index ...