Command Reference Guide
SNMP Commands
CLI Command Reference
September 2014 Page 110
HP Moonshot Switch Module CLI Command Reference
snmptrap source-interface
Use this command in Global Configuration mode to configure the global source-interface (Source IP address)
for all SNMP communication between the SNMP client and the server.
no snmptrap source-interface
Use this command in Global Configuration mode to remove the global source-interface (Source IP selection)
for all SNMP communication between the SNMP client and the server.
retries Number of times to resend an Inform. The default is 3 attempts. The range is 0 to 255
retries.
auth Enables authentication but not encryption.
noauth No authentication or encryption. This is the default.
priv Enables authentication and encryption.
port The SNMP Trap receiver port. This value defaults to port 162.
filter-name The filter name to associate with this host. Filters can be used to specify which traps are
sent to this host. The range is 1 to 30 characters.
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.
Format
no snmptrap source-interface
Mode Global Configuration
Parameter Description