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

Page 86

Advertising
background image

Command line 86

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-access

Manage SNMP access.
Supported actions: add, help, remove, show

Item

Description

add snmp-access

Add new ranges of IP addresses that will be permitted to access VC Ethernet
modules through the SNMP interface.

Advertising