Users Guide

Table Of Contents
Switch Management Commands 2204
snmp-server source-interface
Use the snmp-server source-interface command to select the interface from
which to use the IP address in the source IP address field of transmitted
SNMP traps and informs. Use the no form of the command to revert to the
default IP address.
Syntax
snmp-server source-interface { loopback loopback-id | vlan vlan-id }
no snmp-server source-interface
loopback-id — A loopback interface identifier.
vlan-id — A VLAN identifier.
Default Configuration
By default, the switch uses the assigned switch IP address as the source IP
address for SNMP packets. This is either the IP address assigned to the VLAN
from which the SNMP packet originates or the out-of-band interface IP
address.
Command Mode
Global Configuration
User Guidelines
The source interface must have an assigned IP address (either manually or via
another method such as DHCP). This command is not supported on Dell
EMC N1100-ON switches. Dell EMC N1100-ON switches support
configuration of a single IP address in interface vlan configuration mode.
That IP address is used as the source interface address for this function.
Command History
Introduced in version 6.3.0.1 firmware.
Example
console#conf
console(config)#interface vlan 1
console(config-if-vlan1)#ip address dhcp