2-1118
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands
test snmp trap
test snmp trap
To send an SNMP trap message to the trap receivers, use the test snmp trap command.
test snmp trap trap_num [specific_num]
Syntax Description
Defaults This command has no default settings.
Command Types Switch command.
Command Modes Privileged.
Examples This example shows how to run trap 0:
Console> (enable) test snmp trap 0
SNMP trap message sent. (4)
Console> (enable)
Related Commands set snmp trap
show snmp
trap_num Number of the trap.
specific_num (Optional) Number of a predefined trap.