2-1179
Catalyst 6500 Series Switch Command Reference—Release8.1
78-15474-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.