1684
Command Reference for AT-IX5-28GPX High Availability, High Power Video Surveillance PoE Switch
C613-50057-01 REV A
AlliedWare Plus™ Operating System - Version 5.4.5-0.x
SNMP C
OMMANDS
SNMP
-
SERVER
SOURCE
-
INTERFACE
snmp-server source-interface
Overview
Use this command to specify the interface that SNMP traps or informs originate
from. You cannot specify an interface that does not already have an IP address
assigned to the interface.
Use the
no
variant of this command to reset to the default source interface that
SNMP traps or informs originate from (the Egress interface as sent from by default).
Syntax
snmp-server source-interface {traps|informs} <
interface-name
>
no snmp-server source-interface {traps|informs}
Default
By default the source interface is the Egress interface where traps or informs were
sent from.
Mode
Global Configuration
Usage
An SNMP trap or inform sent from an SNMP server has the notification IP address
of the interface where it was sent from. Use this command to monitor notifications
from an interface.
Example
To set the interface that SNMP informs originate from to port 1.0.2 for inform
packets, use the following commands:
awplus#
configure terminal
awplus(config)#
snmp-server source-interface informs port1.0.2
To reset the interface to the default source interface (the Egress interface) that
SNMP traps originate from for trap packets, use the following commands:
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 (with an IP address already assigned).