Notification Configurations
User Guide
779
Step 2
snmp-server traps
{
rate-limit | cpu | flash | lldp remtableschange | lldp topologychange |
loopback-detection | storm-control | spanning-tree | memory
}
Enable the corresponding SNMP extended traps. By default, all SNMP extended traps are
disabled.
rate-limit
:
Monitors whether the bandwidth has reached the limit you have set. The trap can
be triggered when the Rate Limit feature is enabled and packets are sent to the port with a
rate higher than what you have set.
cpu:
Monitors the load status of the switch CPU. The trap can be triggered when the
utilization rate of the CPU exceeds 80%.
flash:
Triggered when flash is modified during operations such as backup, reset, firmware
upgrade, and configuration import.
lldp remtableschange:
Indicates that the switch senses an LLDP topology change. The
trap can be triggered when adding or removing a remote device, and when the information
of some remote devices is aged out or cannot be stored into the switch because of
insufficient resources. This trap can be used by an NMS to trigger LLDP remote systems
table maintenance polls.
lldp topologychange:
Indicates that the switch senses an LLDP-MED topology change (the
topology change of media endpoints). The trap can be triggered when adding or removing
a media endpoint that supports LLDP, such as an IP Phone. An LLDP Remtableschange trap
will be also triggered every time LLDP Topologychange trap is triggered.
loopback-detection:
Triggered when the Loopback Detection feature is enabled and a
loopback is detected or cleared.
storm-control:
Monitors whether the storm rate has reached the limit that you have set. The
trap can be triggered when the Strom Control feature is enabled and broadcast/multicast/
unknown-unicast frames are sent to the port with a rate higher than what you have set.
spanning-tree:
Indicates spanning tree changes. The trap can be triggered in the following
situations: a port changes from non-forwarding state to forwarding state or the other way
round; a port receives a TCN (Topology Change Notification) BPDU or a Configuration BPDU
with the TC (Topology Change) bit set.
memory:
Monitors the load status of the switch memory. The trap can be triggered when
the memory utilization exceeds 80%.
Step 3
end
Return to Privileged EXEC Mode.
Step 4
copy running-config startup-config
Save the settings in the configuration file.
The following example shows how to configure the switch to enable bandwidth-control
traps:
Switch#configure
Switch(config)#snmp-server traps
bandwidth-control
Switch(config)#end
Switch#copy running-config startup-config
Downloaded from