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

Command line 103
snmp
View and modify the SNMP configuration for VC-Enet and VC-FC modules, and add, modify, and remove
SNMP trap configurations related to trap destinations.
Supported actions: set, show, help
Item Description
set snmp
Modify the VC SNMP configuration.
Syntax
set snmp <Type> [ReadCommunity=<ReadCommunityString>]
[SystemContact=<SystemContact>] [Enabled=<true|false>]
[SmisEnabled=<true|false>]
Parameter
Type (required)
Indicates which SNMP configuration to modify. Valid values include "Enet" and
"FC".
Properties
ReadCommunity
(optional)
Read-Only Community String for the SNMP configuration. The default value is
"public". If the type is "Enet", the maximum length of the read community string is
39 characters. If the type is FC, the maximum length is 12 characters.
SystemContact
(optional)
SNMP system contact information.
Enabled (optional)
Enables or disables the SNMP agent. The default value is "true". Valid values
include "true" or "false".
SmisEnabled
(optional)
Enables or disables SMIS. This property is valid only for VC-FC modules. The default
value is "false". Valid values include "true" or "false".
Examples
->set snmp enet ReadCommunity=mydatacenter1
SystemContact=admin@datacenter1.com Enabled=true
Enables the SNMP agent for VC-Enet modules and supplies a community string
->set snmp fc ReadCommunity=mydatacenter
SystemContact=FcAdmin Enabled=true
Enables the SNMP agent for VC-FC modules
Item Description
show snmp
Display the SNMP configuration settings for the VC domain.
Syntax
show snmp [Type]
Parameter
Type (optional)
Indicates the type of SNMP configuration to display. If the type is not specified, all
VC SNMP configuration information appears. Valid values include "Enet" and
"FC".
Examples
->show snmp Enet
Displays SNMP configuration for VC-Enet modules only
->show snmp FC
Displays SNMP configuration for VC-FC modules only
->show snmp
Displays SNMP configuration for all modules