source-address
Syntax
Hierarchy Level
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:lo0or a valid IPv4 address configured on one of the router interfaces. The valuelo0indicates that the source address of all SNMP trap packets will be set to the lowest loopback address configured at interfacelo0.Default: disabled (The source address is the address of 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.