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

Page 117

Advertising
background image

Command line 117

Item

Description

Sets the trap community

->set snmp-trap MyTrap1 Severity=All FcCategories=None

EnetCategories=None

Sets all trap severities and sets the Fibre Channel and Ethernet categories to none

->set snmp-trap MyTrap

Address=fe80:0000:0000:0000:0202:b3ff:fe1e:8329

Sets a trap using an IPv6 address

Item

Description

->show snmp-trap

Displays the SNMP traps that have been configured.

Syntax

show snmp-trap [Name|*]

Parameter

Name (optional)

The name of the trap configuration to be displayed. If no trap name is specified, or

"*" is entered, all configured traps are displayed.

Examples

->show snmp-trap MyTrap1

Displays the SNMP trap configuration for a single trap

->show snmp-trap *

Displays all configured SNMP traps

Item

Description

->test snmp-trap

Generates an SNMP test trap and sends it to all configured destinations.
Traps participating in the test must be configured, at a minimum, with the following

attributes:

DomainCategories=DomainStatus

Severity=Info

Syntax

test snmp-trap

Example

->test snmp-trap

Generates an SNMP test trap and sends it to the configured destinations

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.

Advertising