Command Reference Guide
3Com Router 5000 Family and Router 6000 Family snmp-agent trap source ● 357
Command Reference
snmp-agent trap source
Purpose Use the snmp-agent trap source command to specify the source address of
traps.
Use the undo snmp-agent trap source command to cancel the current
setting.
Syntax snmp-agent trap source interface-type interface-number
undo snmp-agent trap source
Parameters interface-type
Interface type.
interface-number
Interface number.
Example Specify the IP address of Ethernet interface 1/0/0 as the source address of trap
packets.
[3Com] snmp-agent trap source ethernet 1/0/0
View This command can be used in the following views:
■ System view
Description The SNMP traps from a server have a trap address, regardless of out which interface
they are sent. Through trap addresses configured using this command, you can trace
a particular event.
Related Commands ■ snmp-agent trap enable
■ snmp-agent target-host