show log counters

show log counters {event condition | [all | event component]} {include | notified | occurred} {severity severity {only}}}

Description

Displays the incident counters for events.

Syntax Description

event condition Specifies the event condition to display.
all Specifies that all events are to be displayed.
event component Specifies that all the events associated with a particular component or subcomponent should be displayed.
include Specifies if one or more targets should be included in this event.
notified Specifies the number of times this event has occurred.
occurred Specifies the number of times this event has occurred since the last clear or reboot.
severity Specifies the minimum severity level of events to display (if the keyword only is omitted).
only Specifies that only events of the specified severity level are to be displayed.

Default

If severity is not specified, then events of all severity are displayed.

Usage Guidelines

This command displays the incident counters for each event specified. Two incident counters are displayed. One counter displays the number of times an event has occurred, and the other displays the number of times that notification for the event was made to the system (an incident record was injected into the system for further processing). Both incident counters reflect totals accumulated since reboot or since the counters were cleared using the clear log counters or clear counters command, regardless of whether it was filtered or not.

The keywords include, notified, and occurred only display events with non-zero counter values for the corresponding counter.

This command also displays a reference count (the column titled Rf in the output). The reference count is the number of enabled targets receiving notifications of this event.

See the command show log for more information about severity levels.

To get a listing of the event conditions in the system, use the following command:

show log events

To get a listing of the components present in the system, use the following command:

show log components

Example

The following example displays the event counters for event conditions of severity debug-summary or greater in the component STP:

# show log counters stp included severity debug-summary
Component   SubComponent Condition               Severity      Occurred I Ntfd Last Notified Time
----------- ------------ ----------------------- ------------- -------- - ---- ----------------------
STP                      AllocClntMsgFail        Warning              0 Y    0
STP                      BindAutobindFail        Error                0 Y    0
STP                      ChangeTag               Warning              0 Y    0
STP                      CreatDmnFail            Warning              0 Y    0
STP                      DomainDisable           Warning              0 Y    0
STP                      DomainEnable            Warning              1 Y    1 01/05/2001 23:43:39.03
STP                      DsblPortBrdgDtect       Warning              0 Y    0
STP                      DsblPortLoopDtect       Warning              0 Y    0
STP                      EnblPortTimerExp        Warning              0 Y    0
STP                      ESRPConflict            Error                0 Y    0
STP                      GetAvailDomainFail      Error                0 Y    0
STP                      GetAvailPortFail        Error                0 Y    0
STP                      LicenseError            Warning              0 Y    0
STP                      NULLBridgeId            Error                0 Y    0
STP                      PhysPortAssocInv        Warning              0 Y    0
STP                      PhysPortInv             Error                0 Y    0
STP                      PortAlrdyBndDmn         Warning              0 Y    0
STP                      PortInuse               Error                0 Y    0
STP                      PortModeNotExpct        Error                0 Y    0
STP                      SendClntMsgFail         Warning              0 Y    0
STP                      UnsupPhysInterface      Critical             0 Y    0

The following example displays the event counters for the event condition PDUDrop in the component STP.InBPDU:

# show log counters "STP.InBPDU.Drop"
Component   SubComponent Condition               Severity      Occurred I Ntfd Last Notified Time
----------- ------------ ----------------------- ------------- -------- - ---- ----------------------
STP         InBPDU       Drop                    Error                0 Y    0

Occurred  : # of times this event has occurred since last clear or reboot
Flags     : (*) Not all applications responded in time with their counters
I(ncluded): Set to Y(es) if one or more targets filter includes this event
Notified  : # of times this event has occurred when 'Included' was Y(es)
The following example displays the event counters for the AAA component:
# show log counters aaa
Component   SubComponent Condition               Severity      Occurred I Ntfd Last Notified Time
----------- ------------ ----------------------- ------------- -------- - ---- ----------------------
AAA                      accountLockedOut        Warning              0 Y    0
AAA                      accountMod              Info                 0 Y    0
AAA                      authFail                Warning              0 Y    0
AAA                      authPass                Info                 2 Y    2 02/27/2018 16:27:10.80 
AAA                      changePass              Info                 0 Y    0
AAA                      ChgAccntPrvlgFail       Notice               0 Y    0
AAA                      ChgAccntPrvlgOK         Notice               0 Y    0
AAA                      ClearSessAccntDel       Notice               0 Y    0
AAA                      ClearSessAccntPrvlgChg  Notice               0 Y    0
AAA                      createAccount           Info                 0 Y    0
AAA                      CreateEncryptAccnt      Info                 0 Y    0
AAA                      DecryptMaxStrSizExcd    Warning              0 Y    0
AAA                      deleteAccount           Info                 0 Y    0
AAA                      EnblFIPSModeFail        Error                0 Y    0
AAA                      EnblFIPSModeOK          Notice               0 Y    0
AAA                      InitRAccSvVr            Warning              0 Y    0
AAA                      InitRAutSvVr            Warning              0 Y    0
AAA                      InitVlanLibFail         Error                0 Y    0
AAA                      ipv6ForceLocal          Debug-Summary        0 N    0
AAA                      localAuthen             Debug-Summary        2 N    0
AAA                      logout                  Info                 2 Y    2 02/27/2018 16:06:58.31

History

This command was first available in ExtremeXOS 10.1.

Last notified information was added in ExtremeXOS 22.5.

Platform Availability

This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, and X695 series switches.