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

Page 80

Advertising
background image

Command line 80

Item

Description

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

[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.

You can configure up to five VC-Enet and five VC-FC SNMP trap destinations.

Advertising