8-37
Cisco 4700 Series Application Control Engine Appliance Administration Guide
OL-11157-01
Chapter 8 Configuring SNMP
Assigning a Trap-Source Interface for SNMP Traps
Assigning a Trap-Source Interface for SNMP Traps
To specify the VLAN interface that is the trap source address contained in the
SNMP v1 trap PDU, use the
snmp-server trap-source
command in configuration
mode.
The syntax of this command is as follows:
snmp-server trap-source vlan
number
The
number
argument specifies the number of the VLAN interface that is the trap
source address contained in the SNMP v1 trap PDU.
Enter a value from 2 to 4094
for an existing VLAN interface.
Note the following operating considerations for the
snmp-server trap-source
vlan
number command:
•
If you do not configure the
snmp-server trap-source
command, the ACE
takes the source IP address from the internal routing table, which is
dependant on the destination host address where the notification is to be sent.
•
If you specify a VLAN number of an interface that does not have a valid IP
address, the ACE fails in sending notifications for SNMP v1 traps.
For example, to specify VLAN 50 as the VLAN interface that is trap source
address contained in the SNMP v1 trap PDU, enter:
host1/Admin(config)#
snmp-server trap-source vlan 50
To remove the specified VLAN interface that is trap source address contained in
the SNMP v1 trap PDU, enter:
host1/Admin(config)#
no snmp-server trap-source