Snmp-Agent Source - HP 6125XLG Command Reference Manual

Blade switch network management and monitoring
Table of Contents

Advertisement

Parameters
ip-address: Specifies the IP address of a remote SNMP entity.
ipv6 ipv6-address: Specifies the IPv6 address of a remote SNMP entity.
vpn-instance vpn-instance-name: Specifies the VPN for a remote SNMP entity. The vpn-instance-name
argument specifies the name of the MPLS L3VPN, a case-sensitive string of 1 to 31 characters. If this
parameter is not specified, the remote SNMP entity is in public network.
engineid: Specifies the SNMP engine ID of the remote SNMP entity. This argument must be a
hexadecimal string that comprises an even number of characters, in the range of 10 to 64. All-zero and
all-F strings are invalid.
Usage guidelines
To send informs to an NMS, you must configure the SNMP engine ID of the NMS on the SNMP agent.
The NMS accepts the SNMPv3 informs from the SNMP agent only if the engine ID in the informs is the
same as its local engine ID.
You can configure up to 20 remote SNMP engine IDs.
Examples
# Configure the SNMP engine ID (123456789A) of the SNMP manager (10.1.1.1).
<Sysname> system-view
[Sysname] snmp-agent remote 10.1.1.1 engineid 123456789A
Related commands
display snmp-agent remote

snmp-agent source

Use snmp-agent source to specify a source IP address for the informs or traps sent by the SNMP agent.
Use undo snmp-agent source to restore the default.
Syntax
snmp-agent { inform | trap } source interface-type interface-number
undo snmp-agent { inform | trap } source
Default
The SNMP agent uses the IP address of the outgoing routed interface as the source IP address of
notifications.
Views
System view
Predefined user roles
network-admin
Parameters
inform: Specifies informs.
trap: Specifies traps.
interface-type interface-number: Specifies an interface by its type and number. The interface-number
argument specifies a main interface number.
100

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents