Snmp-Agent Target-Host - HP E4510-48G Command Reference Manual

4510g series
Table of Contents

Advertisement

all: Specifies SNMPv1, SNMPv2c, and SNMPv3.
v1: SNMPv1.
v2c: SNMPv2c.
v3: SNMPv3.
Description
Use the snmp-agent sys-info command to configure system information, including the contact
information, the location, and the SNMP version in use.
Use the undo snmp-agent sys-info contact and undo snmp-agent sys-info location command to
restore the default.
Use the undo snmp-agent sys-info version command to disable use of the SNMP function of the
specified version.
By default, the location information is Marlborough, MA 01752 USA, version is SNMPv3, and the
contact is 3Com Corporation.
The device can process the SNMP packets of the corresponding version only if SNMP of a specific
version is enabled. If SNMPv1 is enabled, the device will drop the received SNMPv2c packets; if
SNMPv2c is enabled, the device will drop the received SNMPv1 packets. To enable the device to
communicate with different NMSs, you can enable SNMP of different versions on a device.
Related commands: display snmp-agent sys-info.
Network maintenance engineers can use the system contact information to get in touch with the
manufacturer in case of network failures. The system location information is a management variable
under the system branch as defined in RFC1213-MIB, identifying the location of the managed object.
Examples
# Configure the contact information as "Dial System Operator at beeper # 27345".
<Sysname> system-view
[Sysname] snmp-agent sys-info contact Dial System Operator at beeper # 27345

snmp-agent target-host

Syntax
snmp-agent target-host trap address udp-domain { ip-address | ipv6 ipv6-address } [ udp-port
port-number ] params securityname security-string [ v1 | v2c | v3 [ authentication | privacy ] ]
undo snmp-agent target-host trap address udp-domain { ip-address | ipv6 ipv6-address } params
securityname security-string
View
System view
10-20

Advertisement

Table of Contents
loading

Table of Contents