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

Page 87

Advertising
background image

Command line 87

Item

Description

Syntax

add snmp-access Network=<IP Address/Netmask Bits>

Parameter

Network (required)

The network IP address in the format IP Address/Netmask Bits. The IP

address must be unique and the starting address of an IP subnet range.

Example

->add snmp-access Network=192.168.0.0/24

Adds a new range(s) of IP addresses

Item

Description

remove snmp-access

Remove already configured range(s) of IP addresses that were permitted to

access VC Ethernet modules through the SNMP interface.

Syntax

remove snmp-access Network=<IP Address> | *

Parameter

Network (required)

The network IP address of a configured SNMP access

Examples

->remove snmp-access Network=192.168.0.0

Removes a range(s) of IP addresses

->remove snmp-access *

Removes all configured ranges of IP addresses

Item

Description

show snmp-access

Display the ranges of IP addresses that are already configured to access VC

Ethernet modules using the SNMP interface.

Syntax

show snmp-access

Example

->show snmp-access

Displays all configured ranges of IP addresses

snmp-trap

Manage SNMP trap information.
Supported actions: add, help, remove, set, show, test

Item

Description

add snmp-trap

Adds a new SNMP trap destination.

You can configure up to five VC-Enet and five VC-FC SNMP trap destinations.

Avoid using duplicate trap destinations. Setting duplicate trap destinations can
result in duplicate traps being sent to the same destination, or only one of the trap

destinations being configured.

Syntax

add snmp-trap <Name> Address=<IPv4Address|DNSname>

[Community=<community name

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

severity|All|None>][DomainCategories=<domain trap

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

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

category|All|None>]

Parameter

Name (required)

A unique name for the new trap being added

Advertising