snmptrap source-interface

Use this command in Global Configuration mode to configure the global source-interface (Source IP address) for all SNMP (Simple Network Management Protocol) communication between the SNMP client and the server.

Format snmptrap source-interface {unit/slot/port | loopback loopback-id|tunnel tunnel-id|vlan vlan-id}
Mode Global Configuration
Parameter Description
unit/slot/port The unit identifier assigned to the switch.
loopback-id Configures the loopback interface. The range of the loopback ID is 0 to 7.
tunnel-id Configures the IPv6 tunnel interface. The range of the tunnel ID is 0 to 7.
vlan-id Configures the VLAN interface to use as the source IP address. The range of the VLAN ID is 1 to 4093.