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

Command line 55
Item Description
TrapID (required)
(Required) The reference name of the new trap destination to be added. The
format of the trap ID is
address of the trap destination host.
Property
Community
(optional)
The SNMP community name string for the specified trap.Default is "public". For
VC-ENET modules, maximum string length is 39. For VC-FC modules, maximum
string length is 24.
Examples
->add snmp-trap ENET:192.112.34.89 community=datacenter1
Adds a new trap destination for VC-Enet modules
->add snmp-trap FC:192.112.34.89 community=public
Adds a new trap destination for VC-FC modules
Item Description
remove snmp-trap
Remove a previously configured SNMP trap destination.
Syntax
remove snmp-trap
Parameter
TrapID (required)
(Required) The reference name of the trap destination to be removed. The format
of the trap ID is
the trap destination host. "*" removes all the configured SNMP traps.
Example
->remove snmp-trap ENET:192.135.67.89
Removes an SNMP trap destination for VC-Enet modules
Item Description
set snmp-trap
Modify SNMP trap configuration properties.
Syntax
set snmp-trap
Parameter
TrapID (required)
(Required) The reference name of the trap destination to be modified. The format
of the trap ID is
the trap destination host.
Property
Community
(optional)
The SNMP community name string for the trap. For ENET modules, maximum
string length is 39. For FC modules, maximum string length is 24. The default
community name is "public", if not specified.
Example
->set snmp-trap ENET:192.135.67.89
Community=MyNewCommunityName
Modifies an SNMP trap destination for VC-Enet modules
Item Description
->show snmp-trap
Display the SNMP Traps that have been configured.
Syntax
show snmp-trap [
Parameter