116 Alphabetical list of commands
set snmp-parameters
Description
Sets SNMP parameters for event notification. To enable or disable SNMP requests to the MIB use the
command.
Min. role
manage
Syntax
set snmp-parameters
[add-trap-host
address
]
[del-trap-host
address
]
[enable crit|error|warn|info|none]
[read-community
string
]
[trap-host-list
trap-host-list
]
[write-community
string
]
Parameters
add-trap-host
address
Optional. Specifies the IP address of a destination host that will receive traps. Three trap hosts can
be set.
del-trap-host
address
Optional. Deletes a trap destination host.
enable crit|error|warn|info|none
Optional. Sets the level of trap notification:
•
crit
: Sends notifications for Critical events only.
•
error
: Sends notifications for Error and Critical events.
•
warn
: Sends notifications for Warning, Error, and Critical events.
•
info
: Sends notifications for all events.
•
none
: All events are excluded from trap notification and traps are disabled.
read-community
string
Optional. Sets a community string for read-only access. Input rules:
•
The value is case sensitive.
•
The value can have a maximum of 31 bytes, where ASCII characters are 1 byte, most Latin
(Western European) characters with diacritics are 2 bytes, and most Asian characters are 3
bytes.
•
The value can include any character except: " < >
•
A value that includes a space must be enclosed in double quotes.
trap-host-list
trap-hosts
Optional. Replaces the current list.
write-community
string
Optional. Sets a community string for write access. Input rules:
•
The value is case sensitive.
•
The value can have a maximum of 31 bytes, where ASCII characters are 1 byte, most Latin
(Western European) characters with diacritics are 2 bytes, and most Asian characters are 3
bytes.
•
The value can include any character except: " < >
•
A value that includes a space must be enclosed in double quotes.
Example
Enable Critical events only, specify a trap host, and set the community string for read-only access.
# set snmp-parameters enable crit add-trap-host 172.22.4.171 read-community
public
See also •
•
•
(with the
snmp
parameter)
Summary of Contents for AssuredSAN 6004
Page 11: ...Document conventions and symbols 11 TIP Provides helpful hints and shortcuts...
Page 114: ...114 Alphabetical list of commands See also set cli parameters show protocols...
Page 139: ...show controller statistics 139 See also reset all statistics reset controller statistics...
Page 162: ...162 Alphabetical list of commands See also show power supplies...