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:

  1. 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.
  2. Select System > SNMP > SNMP V1/V2 > Trap Flags.

    The Trap Flags page displays.

  3. 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.

  4. Click the Apply button.

    Your settings are saved.

  5. To save the settings to the running configuration, click the Save icon.