Snmp – HP Virtual Connect Flex-10 10Gb Ethernet Module for c-Class BladeSystem User Manual

Page 52

Advertising
background image

Command line 52

Item

Description

->show server-port-map MyProfile:1

Displays the server port mapping for a profile

->show server-port-map *

Displays detailed output of all the server port mappings

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

[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

Advertising