Management and Configuration Guide K/KA/KB.15.15

3. Enter the name you want in the Community Name field, and use the Space bar to select the
appropriate value in each of the other fields. (Use the [Tab] key to move from one field to the
next.)
4. Press [Enter], then [S] (for Save.)
Configuring an SNMP trap receiver
Syntax
snmp-server host [ ipv4-addr | ipv6-addr ] community name
Configures a destination network management station to receive SNMPv1/v2c traps and (optionally)
Event Log messages sent as traps from the switch, using the specified community name and
destination IPv4 or IPv6 address. You can specify up to ten trap receivers (network management
stations.) (The default community name is public.)
Optional: Configures the security level of the Event Log messages you want
to send as traps to a trap receiver.
[ none | all | not-info |
critical | debug ]
The type of Event Log message that you specify applies only to Event
Log messages, not to threshold traps.
For each configured event level, the switch continues to send threshold
traps to all network management stations that have the appropriate
threshold level configured.
If you do not specify an event level, the switch uses the default value
(none) and sends no Event Log messages as traps.
Optional: Configures the switch to send SNMPv2 inform requests when
certain events occur.
[inform]
Table 17 Security levels for Event Log messages sent as traps
ActionSecurity Level
Sends no Event Log messages.None (default)
Sends all Event Log messages.All
Sends all Event Log messages that are not for information only.Not-Info
Sends only Event Log messages for critical error conditions.Critical
Sends only Event Log messages needed to troubleshoot network- and
switch-level problems.
Debug
Example
To configure a trap receiver in a community named "red-team" with an IP address of 10.28.227.130
to receive only "critical" event log messages, you can enter the following command:
(HP_Switch_name#) snmp-server host 10.28.227.130 red-team critical
Enabling SNMPv2c informs
Syntax
[no] snmp-server host [ ipv4-addr | ipv6-addr ]
community name inform [ retries count ] [ timeout interval ]
202 Configuring for Network Management Applications