snmp-server trap-source
Configures an interface as the source for all traps.
Syntax
snmp-server trap-source
{
ethernet
stack-id/slot/port
|
loopback
number
|
ve
number
}
no snmp-server trap-source
{
ethernet
stack-id/slot/port
|
loopback
number
|
ve
number
}
Command Default
An SNMP trap generator is not configured.
Parameters
Modes
Global configuration mode
Usage Guidelines
Regardless of the port that the device uses to send traps to the receiver, the traps always arrive from the same source IP address.
The
no form of the command removes the configured interface as the SNMP trap generator.