C613-50170-01 Rev B
Command Reference for x510 Series
2601
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
SNMP C
OMMANDS
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
By default, the source interface is the originating egress interface of the traps and
informs messages.
Mode
Global Configuration
Usage
An SNMP trap or inform message that is sent from an SNMP server carries the
notification IP address of its originating interface. Use this command to assign this
interface.
Example
The following commands set VLAN20 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 vlan20
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
Parameter
Description
traps
SNMP traps.
informs
SNMP informs.
<
interface-name
>
Interface name (must already have an IP address assigned).