HP Virtual Connect 1.10Gb-F Ethernet Module for c-Class BladeSystem User Manual

Page 58

Advertising
background image

Command line 58

Item Description

->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; the severities will be 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. If "*" is specified, then all traps

are removed.

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=<trap destination

address>][Community=<community name

string>][Format=<SNMPv1 | SNMPv2>][Severity=<trap severity

| All|None>][DomainCategory=<domain trap category |

All|None>][EnetCategory=<enet trap category |

All|None>][FcCategory=<fc trap category | All|None>]

Parameter

TrapName (required) The name of the trap to be modified
Properties

Name

New name of the trap

Address (required) IPv4 address or DNS name for the trap destination

Community

(optional)

The SNMP community name string for the specified trap. For VC-Enet modules,

the maximum string length is 39. For VC-FC modules, the maximum string length
is 12. If not specified, the default community name is "public".

Format

Format of the new trap. Valid values are "SNMP1v" and "SNMPv2". The default

is "SNMPv1". SNMPv2 traps are not supported on VC-FC modules.

Severity

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

"Unknown", "Info", "Warning", "Minor", "Major", "Critical", "All", and
"None".
Multiple severities can be provided, 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.

Advertising