HP 9304m Installation And Getting Started Manual page 84

Procurve routing switches
Table of Contents

Advertisement

also specify a community string. The HP device sends all the SNMP traps to the specified host(s) and includes
the specified community string. Administrators can therefore filter for traps from an HP device based on IP
address or community string.
When you add a trap receiver, the software automatically encrypts the community string you associate with the
receiver when the string is displayed by the CLI or Web management interface. If you want the software to show
the community string in the clear, you must explicitly specify this when you add a trap receiver. In either case, the
software does not encrypt the string in the SNMP traps sent to the receiver.
To specify the host to which the device sends all SNMP traps, use one of the following methods.
USING THE CLI
To add a trap receiver and encrypt the display of the community string, enter commands such as the following:
HP9300(config)# snmp-server host 2.2.2.2 HP9300-12
HP9300(config)# write memory
Syntax: snmp-server host <ip-addr> [0 | 1] <string>
The <ip-addr> parameter specifies the IP address of the trap receiver.
The 0 | 1 parameter specifies whether you want the software to encrypt the string (1) or show the string in the clear
(0). The default is 1.
The <string> parameter specifies an SNMP community string configured on the HP device. The string can be a
read-only string or a read-write string. The string is not used to authenticate access to the trap host but is instead
a useful method for filtering traps on the host. For example, if you configure each of your HP devices that use the
trap host to send a different community string, you can easily distinguish among the traps from different HP
devices based on the community strings.
The command in the example above adds trap receiver 2.2.2.2 and configures the software to encrypt display of
the community string. When you save the new community string to the startup-config file (using the write
memory command), the software adds the following command to the file:
snmp-server host 2.2.2.2 1 <encrypted-string>
To add a trap receiver and configure the software to encrypt display of the community string in the CLI and Web
management interface, enter commands such as the following:
HP9300(config)# snmp-server host 2.2.2.2 0 HP9300-12
HP9300(config)# write memory
The command in the example above adds trap receiver 2.2.2.2 and configures the software to display the
community string associated with the receiver in the clear. When you save the new community string to the
startup-config file, the software adds the following command to the file:
snmp-server host 2.2.2.2 0 HP9300-12
USING THE WEB MANAGEMENT INTERFACE
1.
Log on to the device using a valid user name and password for read-write access.
2.
Click the Management link to display the Management configuration panel.
3.
Click the Trap Receiver link to display the Trap Receiver panel.
4.
Enter the IP address of the receiver in the IP Address field.
5.
Enter the community string you want the Routing Switch to send in traps sent to this host in the Community
String field.
6.
Select the Encrypt checkbox to remove the checkmark if you want to disable encryption of the string display.
Encryption prevents other users from seeing the string in the CLI or Web management interface. If you
disable encryption, other users can view the community string. Encryption is enabled by default.
To re-enable encryption, select the checkbox to place a checkmark in the box.
7.
Click Add to apply the change to the device's running-config file.
Configuring Basic Features
4 - 5

Advertisement

Table of Contents
loading

This manual is also suitable for:

9315m

Table of Contents