beautypg.com

Snmp-trap – HP Integrity BL870c i2 Server-Blade User Manual

Page 57

background image

Command line 57

Item

Description

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 Address=

[Community=

string>][Format=][Severity=

severity|All|None>][DomainCategories=

category|All|None>][EnetCategories=

category|All|None>][FcCategories=

category|All|None>]

Parameter

Name (required)

A unique name for the new trap being added

Properties

Address (required) IPv4 address or DNS name for the trap destination
Community

(optional)

The SNMP community name string for the specified trap. The default value is

"public" if not specified. For VC-Enet modules, the maximum string length is 39.