Configuring The Source Ip Address For Snmp Notifications - HP PROCURVE 6120 Management And Configuration Manual

Procurve series 6120 switches
Table of Contents

Advertisement

Configuring for Network Management Applications
Using SNMP Tools To Manage the Switch
13-30

Configuring the Source IP Address for SNMP Notifications

The switch uses an interface IP address as the source IP address in IP headers
when sending SNMP notifications (traps and informs) or responses to SNMP
requests.
For multi-netted interfaces, the source IP address is the IP address of the
outbound interface of the SNMP reply, which may differ from the destination
IP address in the IP header of the received request. For security reasons, it
may be desirable to send an SNMP reply with the IP address of the destination
interface (or a specified IP address) on which the corresponding SNMP
request was received.
To configure the switch to use the source IP address on which an SNMP
request was received in SNMP notification/traps and replies, enter the snmp-
server response-source and snmp-server trap-source commands.
Syntax: [no] snmp-server response-source [dst-ip-of-request | <ipv4-addr | ipv6-
addr>]
Specifies the source IP address of the SNMP response PDU.
The default SNMP response PDU uses the IP address of the
active interface from which the SNMP response was sent as
the source IP address.
The no form of the command resets the switch to the default
behavior (compliant with rfc-1517).
Default: Interface IP address
dst-ip-of-request: Destination IP address of the SNMP request
PDU that is used as the source IP address in an SNMP
response PDU.
<ipv4-addr | ipv6-addr>: User-defined interface IP address that
is used as the source IP address in an SNMP response PDU.
Both IPv4 and IPv6 addresses are supported.
For example, to use the IP address of the destination interface on which an
SNMP request was received as the source IP address in the IP header of SNMP
traps and replies, enter the following command:
ProCurve(config)# snmp-server response-source
dst-ip-of-request

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Procurve 6120g/xgProcurve 6120xg

Table of Contents