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

Page 88

Advertising
background image

Command line 88

Item

Description

Properties

Address (required) IPv4 address or DNS name for the trap destination
Community (optional) The SNMP community name string for the specified trap. If not specified, the default

value is "public". For VC-Enet modules, the maximum string length is 39. For VC-FC

modules, the maximum string length is 24.

Format

Format of the new trap. Valid values are "SNMPv1" and "SNMPv2". If not

specified, the default is "SNMPv1".

Severities

Trap severities to send to the destination. Valid values are "Normal", "Unknown",

"Info", "Warning", "Minor", "Major", "Critical", "All", and "None". Multiple

severities can be specified, separated by commas. The default severity is "None".

DomainCategories

The Virtual Connect domain trap categories to send to the destination. Valid values
are "Legacy", "DomainStatus", "NetworkStatus", "FabricStatus", "ProfileStatus",

"ServerStatus", "EnetStatus", FcStatus", "All", and "None". Multiple categories can

be specified, separated by commas.

EnetCategories

The Virtual Connect Ethernet trap categories to send to the destination. Valid values
are "PortStatus", "PortThreshold", "Other", "All", and "None". Multiple categories

can be specified, separated by commas.

FcCategories

The Virtual Connect Fibre Channel trap categories to send to the destination. Valid

values are "PortStatus", "Other", "All", and "None". Multiple categories can be
specified, separated by commas.

Examples

->add snmp-trap EnetManagementStation Address=192.112.34.10

Community=private Format=SNMPv1 Severity=Normal,Critical

EnetCategories=Other

Adds a new trap destination for VC-Enet modules

->add snmp-trap FcManagementStation Address=192.112.72.3

Community=private Format=SNMPv1 FcCategories=Other

Adds a new trap destination for VC-FC modules

->add snmp-trap MyTrap Address=192.112.66.12

Adds a new trap using typical defaults

->add snmp-trap MyTrap Address=192.112.42.5 Severity=All

FcCategories=All DomainCategories=All

Adds a trap with all severity and category properties set. Severities are allowed

even though FC categories are set, but the severities are applied to the domain
categories.

Item

Description

remove snmp-trap

Removes a previously configured SNMP trap destination.

Syntax

remove snmp-trap <Name|*>

Parameter

Name (required)

The name of the trap destination to be removed. Use "*" to remove all traps.

Examples

->remove snmp-trap MyTrap1

Removes an SNMP trap destination

->remove snmp-trap *

Removes all configured SNMP trap destinations

Item

Description

set snmp-trap

Modifies an existing SNMP trap destination.

Syntax

set snmp-trap <TrapName> [Name=<trap destination

name>][Address=<IPv4Address|DNSname>] [Community=<community

Advertising