[Contents] [Prev] [Next] [Index] [Report an Error]

source-address

Syntax

source-address address;

Hierarchy Level

[edit snmp trap-options]

Release Information

Statement introduced before JUNOS Release 7.4.

Description

Set the source address of every SNMP trap packet sent by this router to a single address regardless of the outgoing interface. If the source address is not specified, the default is to use the address of the outgoing interface as the source address.

Options

address—Source address of SNMP traps. You can configure the source address of trap packets two ways: lo0 or a valid IPv4 address configured on one of the router interfaces. The value lo0 indicates that the source address of all SNMP trap packets will be set to the lowest loopback address configured at interface lo0.

Default: disabled (The source address is the address of the outgoing interface.)

Usage Guidelines

See Configuring the Source Address for SNMP Traps.

Required Privilege Level

snmp—To view this statement in the configuration.

snmp-control—To add this statement to the configuration.


[Contents] [Prev] [Next] [Index] [Report an Error]