August 2005
Intermediate to advanced
798 pages
31h 12m
English
snmp-server trap-source — global
snmp-server trap-source interface
no snmp-server trap-sourceSNMP agent; trap behavior
The router uses the closest interface to the destination
This command specifies the interface (and consequently the IP address) that should be used to send SNMP traps. If you have a separate network for management tasks (a good idea), you can use this command to ensure that traps are sent only over the management network.
The following command tells the router that all SNMP traps should be sent via the ethernet0 interface:
snmp-server trap -source ethernet0