Switch(config)# snmp-
server trap-type [all |anti-
bcast |auth-fail | case-fan |
cold-start | port-link |
power-down | sfp | storm |
upper-limit [0-148810] pps
| warm-start]
Specify a trap type that will be sent when a
certain situation occurs.
all: A trap will be sent when authentication
fails, broadcast packets exceed the
threshold value, the device cold /warm
starts, port link is up or down and power is
down.
anti-bcast: A trap will be sent when
broadcast packets exceed the specified
threshold value.
auth-fail: A trap will be sent when any
unauthorized user attempts to login.
case-fan: A trap will be sent when the fan is
not working or fails.
cold-start: A trap will be sent when the
device boots up.
port-link: A trap will be sent when the link
is up or down.
power-down: A trap will be sent when the
device‟s power is down.
sfp: A trap will be sent when slide-in SFP
modules function abnormally.
storm: A trap will be sent when broadcast
packets reach the upper limit.
upper–limit [0-148810]: Maximum
broadcast packets number per second. The
broadcast storm trap will be sent when the
Managed Switch exceeds the specified
limit.
warm-start: A trap will be sent when the
device restarts.