C613-50631-01 Rev A Command Reference for IE340 Series 3206
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
SNMP COMMANDS
SNMP
-SERVER SOURCE-INTERFACE
snmp-server source-interface
Overview Use this command to specify the originating interface for SNMP traps or informs.
An interface specified by this command must already have an IP address assigned
to it.
Use the no variant of this command to reset the interface to its default value (the
originating egress interface).
Syntax
snmp-server source-interface {traps|informs} <interface-name>
no snmp-server source-interface {traps|informs}
Default The originating egress interface of the traps and informs messages
Mode Global Configuration
Usage notes When an SNMP server sends an SNMP trap or inform message, the message carries
the notification IP address of its originating interface. Use this command to assign
this interface.
Example The following commands set vlan2 to be the interface whose IP address is used as
the originating address in SNMP informs packets.
awplus# configure terminal
awplus(config)# snmp-server source-interface informs vlan2
The following commands reset the originating source interface for SNMP trap
messages to be the default interface (the originating egress interface):
awplus# configure terminal
awplus(config)# no snmp-server source-interface traps
Validation
Commands
show running-config
Parameter Description
traps SNMP traps.
informs SNMP informs.
<interface-name> Interface name (must already have an IP address assigned).