HP Virtual Connect Manager Command Line Interface for c-Class BladeSystem Version 4.01 User Guide

Command line 106
Item Description
->remove snmp-trap *
Removes all configured SNMP trap destinations
Item Description
set snmp-trap
Modifies an existing SNMP trap destination.
Syntax
set snmp-trap <TrapName> [Name=<trap destination
name>
][Address=<IPv4Address|DNSname>] [Community=<community
name string>][Format=<SNMPv1 | SNMPv2>][Severity=<trap
severity | All|None>][DomainCategories=<domain trap category
| All|None>][EnetCategories=<enet trap category |
All|None>][FcCategories=<fc trap category | All|None>]
Parameter
TrapName (required)
The name of the trap to be modified
Properties
Name
New name of the trap.
Address (required)
IPv4 address or DNS name for the trap destination.
Community (optional)
The SNMP community name string for the specified trap. For VC-Enet modules, the
maximum string length is 39. For VC-
FC modules, the maximum string length is 24.
If not specified, the default community name is "public".
Format
Format of the new trap. Valid values are "SNMP1v" and "SNMPv2". The default is
"SNMPv1".
Severity
Trap severities to send to the destination. Valid values are "Normal", "Unknown",
"Info", "Warning", "Minor", "Major", "Critical", "All", and "None". Multiple
severities can be specified, separated by commas. The default severity is "None".
DomainCategories
The Virtual Connect domain trap categories to send to the destination. Valid values
are "Legacy", "DomainStatus", "NetworkStatus", "FabricStatus", "ProfileStatus",
"ServerStatus", "EnetStatus", FcStatus", "All", and "None".
Multiple categories can be specified, separated by commas.
EnetCategories
The Virtual Connect Ethernet trap categories to send to the destination. Valid values
are "PortStatus", "PortThreshold", "Other", "All", and "None". Multiple categories
can be specified, separated by commas.
FcCategories
The Virtual Connect Fibre Channel trap categories to send to the destination. Valid
values are "PortStatus", "Other", "All", and "None". Multiple categories can be
specified, separated by commas.
Examples
->set snmp-trap MyTrap1 Community=public
Sets the trap community
->set snmp-trap MyTrap1 Severity=All FcCategories=None
EnetCategories=None
Sets all trap severities and sets the Fibre Channel and Ethernet categories to none
Item Description
->show snmp-trap
Displays the SNMP traps that have been configured.
Syntax
show snmp-trap [Name|*]
Parameter
Name (optional)
The name of the trap configuration to be displayed. If no trap name is specified, or
"*" is entered, all configured traps are displayed.
Examples
->show snmp-trap MyTrap1