EasyManua.ls Logo

Aruba 2530 - Source IP Address for SNMP Notifications

Aruba 2530
479 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Syntax:
[no] snmp-server enable traps link-change <port-list> [all]
Enables or disables the switch to send a link-change trap to configured trap receivers when the link state on a
port goes from up to down or down to up.
Enter all to enable or disable link-change traps on all ports on the switch.
Readable interface names in traps
The SNMP trap notification messages for linkup and linkdown events on an interface includes IfDesc and IfAlias
var-bind information.
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 (
Configuring the source IP address for SNMP notifications (CLI)).
Configuring the source IP address for SNMP notifications (CLI)
For more information, see Source IP address for SNMP notifications on page 164.
Syntax:
[no] snmp-server response-source [dst-ip-of-request | [ipv4-addr | ipv6-addr] | loopback <0-7>]
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.
loopback <0-7>
IP address configured for the specified loopback interface that is used as
the source IP address in an SNMP response PDU. If multiple loopback IP
addresses are configured, the lowest alphanumeric address is used.
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:
switch(config)# snmp-server response-source dst-ip-of-request
164 Aruba 2530 Management and Configuration Guide for
ArubaOS-Switch 16.05

Table of Contents