2-667
Catalyst 6500 Series Switch Command Reference—Release8.4
OL-6244-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands set snmp trap
Console> (enable)
This example shows how to enable all traps:
Console> (enable) set snmp trap enable
All SNMP traps enabled.
Console> (enable)
This example shows how to disable SNMP chassis traps:
Console> (enable) set snmp trap disable chassis
SNMP chassis alarm traps disabled.
Console> (enable)
This example shows how to enable SNMP MAC address notification traps:
Console> (enable) set snmp trap enable macnotification
SNMP MAC notification trap enabled.
Console> (enable)
This example shows how to add an entry in the SNMP trap receiver table:
Console> (enable) set snmp trap 192.122.173.42 public
SNMP trap receiver added.
Console> (enable)
This example shows how to enable the SNMP MAC move notification trap:
Console> (enable) set snmp trap enable macmove
SNMP MAC move notification trap enabled.
Console> (enable)
This example shows how to enable the SNMP MAC threshold notification trap:
Console> (enable) set snmp trap enable macthreshold
SNMP MAC threshold notification trap enabled.
Console> (enable)
This example shows to enable the automatic module shutdown traps:
Console> (enable) set snmp trap enable autoshutdown
SNMP module auto shutdown traps enabled.
Console> (enable)
Related Commands clear snmp trap
set port trap
show snmp
test snmp trap