beautypg.com

Snmp-server source-interface – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 1807

background image

SNMP Commands

Software Reference for x310 Series Switches

C613-50046-01 REV A

AlliedWare Plus

TM

Operating System - Version 5.4.4C

68.25

snmp-server source-interface

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:

To reset the interface to the default source interface (the Egress interface) that SNMP traps
originate from for trap packets, use the following commands:

Validation

Commands

show running-config

Parameter

Description

traps

SNMP traps.

informs

SNMP informs.

<interface-name>

Interface name (with an IP address already assigned).

awplus#

configure terminal

awplus(config)#

snmp-server source-interface informs port1.0.2

awplus#

configure terminal

awplus(config)#

no snmp-server source-interface traps