The
no
form of the command resets the switch to the default behavior (compliant with rfc-1517).
(Default: Use the interface IP address in generated trap PDUs)
ipv4-addr
User-defined interface IPv4 address that is used as the source IP address in generated
traps. IPv6 addresses are not supported.
loopback <0-7>
P address configured for the specified loopback interface that is used as the source IP
address in a generated trap PDU. If multiple loopback IP addresses are configured, the
lowest alphanumeric address is used.
NOTE:
When you use the
snmp-server response-source
and
snmp-server trap-source
commands, note the following behavior:
• The
snmp-server response-source
and
snmp-server trap-source
commands
configure the source IP address for IPv4 interfaces only.
• You must manually configure the
snmp-server response-source
value if you wish to change
the default user-defined interface IP address that is used as the source IP address in SNMP traps
(RFC 1517).
• The values configured with the
snmp-server response-source
and
snmp-server trap-
source
commands are applied globally to all interfaces that are sending SNMP responses or
SNMP trap PDUs.
• Only the source IP address field in the IP header of the SNMP response PDU can be changed.
• Only the source IP address field in the IP header and the SNMPv1 Agent Address field of the
SNMP trap PDU can be changed.
Verifying the configuration of the interface IP address used as the source IP address in
IP headers for SNMP replies and traps sent from the switch (CLI)
Enter the
show snmp-server
command to display the SNMP policy configuration, as shown in the following
example.
Display of source IP address configuration
switch(config)# show snmp-server
SNMP Communities
Community Name MIB View Write Access
---------------- -------- ------------
public Manager Unrestricted
Trap Receivers
Link-Change Traps Enabled on Ports [All] : All
...
Excluded MIBs
Snmp Response Pdu Source-IP Information
Selection Policy : dstIpOfRequest
1
Trap Pdu Source-IP Information
Selection Policy : Configured IP
206
Aruba 2930F / 2930M Management and Configuration Guide
for ArubaOS-Switch 16.08