Configure SNMPv1 and SNMPv2 trap flags
You can enable or disable specific traps. When the condition that is identified by an active trap occurs on the switch, a trap message is sent to any enabled SNMP trap receivers, and a message is written to the trap log.
To configure the trap flags:
- Open a web browser and log in to the switch. For more information, see Log in to the main UI with a known IP address.
The System Information page displays.
- Select System > SNMP > SNMP V1/V2 > Trap Flags.
The Trap Flags page displays.
- For one or more trap flags that are displayed in the following table, select the Disable or Enable radio button.
This selection enables or disables the activation of the trap.
Trap Default
Behavior when enabled
Authentication
Enable
A trap is sent when an event involving authentication occurs, such as when a user attempts to access the switch main UI and does not provide a valid user name and password.
Link Up/Down
Enable
A trap is sent when the administrative or operational state of a physical or logical link changes.
Multiple Users
Enable
A trap is sent when the same user ID is logged into the switch more than once at the same time (either through Telnet or the serial port).
Spanning Tree
Enable
A trap is sent when a spanning tree change occurs.
ACL
Disable
A trap is sent when an ACL is triggered.
Captive Portal
Disable
A trap is sent when a user accesses a captive portal.
DVMRP
Disable
A trap is sent when a change in the DVMRP configuration occurs.
PIM
Disable
A trap is sent when a change in the PIM configuration occurs.
PoE
(PoE models only)
Disable
A trap is sent when a change in the PoE configuration occurs.
OSPFv2 Traps
Errors Authentication-failure Disable
A trap is sent when an OSPFv2 authentication failure occurs.
Bad-packet Disable
A trap is sent when a corrupt OSPFv2 packet is detected.
Config-error Disable
A trap is sent when an OSPFv2 configuration error occurs.
Virt-authentication-failure Disable
A trap is sent when a virtual OSPFv2 authentication failure occurs.
Virt-bad-packet Disable
A trap is sent when a corrupt virtual OSPFv2 packet is detected. Virt-config-error Disable
A trap is sent when a virtual OSPFv2 configuration error occurs. LSA LSA-maxage
Disable
A trap is sent when the maximum age of an OSPFv2 link-state advertisement (LSA) is exceeded.
LSA-originate
Disable
A trap is sent when an OSPFv2 LSA originates from the switch (or one of its routing interfaces), for example, when the topology changes.
Overflow Lsdb-overflow
Disable
A trap is sent when The OSPFv2 link-state database (LSDB) is overflowing, that is, the LSDB can no longer be maintained because of resource constraints.
Lsdb-approaching-overflow
Disable
A trap is sent when a critical threshold in the size of the OSPFv2 LSDB is exceeded.
Retransmit Packets
Disable
A trap is sent when an OSPFv2 packet is retransmitted.
Virt-packets
Disable
A trap is sent when a virtual OSPFv2 packet is retransmitted.
State-change If-state-change
Disable
A trap is sent when the state of an OSPFv2 interface changes.
Neighbor-state-change
Disable
A trap is sent when the state of an OSPFv2 neighbor changes.
Virtif-state-change
Disable
A trap is sent when the state of a virtual OSPFv2 interface changes.
Virtneighbor-state-change
Disable
A trap is sent when the state of a virtual OSPFv2 neighbor changes.
OSPFv3 Traps
Errors Bad-packet Disable
A trap is sent when a corrupt OSPFv3 packet is detected.
Config-error Disable
A trap is sent when an OSPFv3 configuration error occurs.
Virt-bad-packet Disable
A trap is sent when a corrupt virtual OSPFv3 packet is detected. Virt-config-error Disable
A trap is sent when a virtual OSPFv3 configuration error occurs. LSA LSA-maxage
Disable
A trap is sent when the maximum age of an OSPFv3 link-state advertisement (LSA) is exceeded.
LSA-originate
Disable
A trap is sent when an OSPFv3 LSA originates from the switch (or one of its routing interfaces), for example, when the topology changes.
Overflow Lsdb-overflow
Disable
A trap is sent when The OSPFv3 link-state database (LSDB) is overflowing, that is, the LSDB can no longer be maintained because of resource constraints.
Lsdb-approaching-overflow
Disable
A trap is sent when a critical threshold in the size of the OSPFv3 LSDB is exceeded.
Retransmit Packets
Disable
A trap is sent when an OSPFv3 packet is retransmitted.
Virt-packets
Disable
A trap is sent when a virtual OSPFv3 packet is retransmitted.
State-change If-state-change
Disable
A trap is sent when the state of an OSPFv3 interface changes.
Neighbor-state-change
Disable
A trap is sent when the state of an OSPFv3 neighbor changes.
Virtif-state-change
Disable
A trap is sent when the state of a virtual OSPFv3 interface changes.
Virtneighbor-state-change
Disable
A trap is sent when the state of a virtual OSPFv3 neighbor changes.
Power Supply Module state
Enable
A trap is sent when the state of an auxiliary power supply (APS, also referred to as an external power supply unit [PSU]) changes. For example, a trap is sent if an APS is inserted, removed, changes to operational, or loses power, of if a warning is generated for the APS or the APS fails.
FAN Status
Enable
A trap is sent when the state of a fan module changes. For example, a trap is sent if a fan module is interted or removed, or if a warning is generated for the fan module or the fan module fails.
Temperature Status
Enable
A trap is sent when a critical temperature threshold is exceeded or if the temperature moves from its normal range.
VRRP
Enable
A trap is sent when one of the following conditions is detected:
Invalid virutal router ID
IP TTL error
Invalid or unsupported version
Checksum failure
Invalid authentication type
Authentication type mismatch from the VRRP packet when compared with the locally configured authentication type
Authentication failure
New VRRP master election
MAC Notification
Disable
A trap is sent when one of the following conditions is detected:
New (MAC address) entry in the forwarding database (FDB)
Removal of an existing entry from the FDB
A change in an existing entry in the FDB
- Click the Apply button.
Your settings are saved.
- To save the settings to the running configuration, click the Save icon.