Snmp-trap – HP Virtual Connect 4Gb Fibre Channel Module for c-Class BladeSystem User Manual

Page 65

Advertising
background image

Command line 65

Item

Description

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

[email protected] 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

snmp-trap

Manage SNMP trap information
Supported actions: add, help, remove, set, show, test

Item

Description

add snmp-trap

Adds a new SNMP trap destination.

Avoid using duplicate trap destinations. Setting duplicate trap destinations can
result in duplicate traps being sent to the same destination, or only one of the trap
destinations being configured.

Syntax

add snmp-trap <Name> Address=<trap destination address>

[Community=<community name

string>][Format=<SNMPv1|SNMPv2>][Severity=<trap

severity|All|None>][DomainCategories=<domain trap

category|All|None>][EnetCategories=<enet trap

Advertising