Cisco Systems 12000 series manual Show logging count, ReleaseModification, CF-698

Page 22

show logging count

show logging count

To display a summary of the number of times certain system error messages are occuring, use the show logging command in privileged EXEC mode.

show logging count

Syntax Description This command has no arguements or keywords.

Command Modes

Command History

Privileged EXEC

ReleaseModification

12.2(8)T

This command was introduced.

 

 

Usage Guidelines To enable the error log count capability (syslog counting feature), use the logging count command in global configuration mode.

This feature works independently of the various settings of the other logging commands (such as [no] logging on, [no] logging buffered, and so on). In other words, turning off logging by other means does not stop the counting and timestamping from occuring.

This command displays information such as the number of times a particular system error message occurs and the time stamp of the last occurrence of the specified message. System error messages are grouped into logical units called “Facilities” based on Cisco IOS software components.

To determine if system error message counting is enabled, use the show logging command.

The service timestamps command configuration determines the timestamp format (shown in the “Last Time” column) of show logging count command output. There is not quite enough space for all options of the possible options (datetime, milliseconds, and timezone) of the service timestamps datetime command to be displayed at the same time. As a result, if msec is selected, timezone will not be displayed. If show-timezoneis selected but not msec, then the time zone will be displayed.

Occasionally, the length of the message name plus the facility name contains too many characters to be printed on one line. The CLI attempts to keep the name and facility name on one line but, if necessary, the line will be wrapped, so that the first line contains the facility name and the second line contains the message name and the rest of the columns.

Examples

The following example shows the number of times syslog messages have occurred and the most recent

 

time that each error message occurred. In this example, the show logging command is used to determine

 

if the syslog counting feature is enabled:

 

 

Router# show logging include count

 

 

Count and timestamp logging messages: enabled

 

 

Router# show logging count

 

 

Facility

Message Name

Sev Occur Last Time

 

=============================================================================

 

Cisco IOS Configuration Fundamentals Command Reference

CF-698

July 2008

Image 22
Contents Show gsr CF-677Show gt64010 Command Modes Command HistoryShow gt64010 CF-678CF-679 Show history Entered in Exec mode for this sessionShow history Key FunctionRelated Commands Description CF-681Field Description Show idbShow idb CF-682Show idprom CF-683CF-684 Router# show idprom clockRouter# show idprom power-supply 1 detail Router# show idprom power-supplyCF-685 Router# show idprom module CF-686Router# show idprom backplane Router# show idprom module 2 cleiRouter# show idprom module 5/0 CF-687Clei = VID = SPA-4XOC3-ATMRouter# show idprom module 2/3 clei CF-688Router# show idprom module 2/3 detail Raw Show inventoryShow inventory raw entity CF-689CF-690 GRP PID CF-691Router# show inventory sfslot Show logging slot slot-numbersummary Show loggingCF-692 CF-693 Embedded Syslog Manager ESM featureRouter# show logging Xml , or logging buffered filtered command Xml , or logging console filtered commandXml , or logging monitor filtered command CF-694CF-695 Logging history commandFollowing Line is a Debug Message from NTP CF-696 Error DebugDescription Example Show logging summaryCommand Description CF-697ReleaseModification If the syslog counting feature is enabledShow logging count CF-698CF-699 Enables the system error message log count capabilityShow logging Router# show logging count include totalBe written to the logging history table Show logging historyShow logging history Describes the significant fields shown in the outputSeverity level Disabled through the snmp-server enable traps syslogLogging history Line to messages with a level at or above levelUsage Guidelines Examples DefaultsShow logging system CF-702Field Related CommandsCF-703 CF-704 This command has no arguments or keywords Privileged ExecShow logging xml Router# show logging xmlField Description XML Tag Logging count commandCF-705 Cisco IOS Software Modularity Show memoryCisco IOS Software CF-706Router# show memory Following is sample output from the show memory commandCF-707 Router# show memory free600DDEC 3FCF0 CF-708Router# show memory io TotalRouter# show memory sram CF-709Router# show memory overflow Router# show memory summaryShow processes memory Displays memory used per process OverflowShow memory detailed CF-710Show memory allocating-process totals 12.0 This command was introducedShow memory allocating-process Totals Optional Displays allocating memory totalsCF-712 CF-713 Totals Show memory deadShow memory dead totals CF-714CF-715 Show memory debug incremental CF-716Show memory debug incremental status Command Example Show memory debug incremental leaks summary Command ExampleCF-717 CF-718 Chunks Show memory debug leaksShow memory debug leaks chunks largest lowmem summary LargestShow memory debug leaks chunks Command Example Show memory debug leaks Command ExampleCF-720 CF-721 Show memory debug leaks largest Command ExampleRouter# show memory debug leaks largest CF-722 Show memory debug leaks summary Command ExampleRouter# show memory debug leaks summary CF-723 Optional Displays the possible references to free memory Show memory debug referencesDangling CF-724CF-725 Show memory debug unused Show memory debug unusedCF-726 CF-727 Running Cisco IOS Release 12.023S Show memory eccShow memory ecc CF-728Pool statistics Displays statistics about memory, including memory-freeCF-729 CF-730 Show memory failures allocShow memory failures alloc Router# show memory failures allocExec Processor commandsShow memory fast CF-731CF-732 Fast allocating-process totalsRouter#show memory fast dead totals CF-733Router#show memory fast dead AAA MI SG NameShow memory fragment Syntax Description Command Modes Command History ExamplesCF-734 TCP CB CF-735Ccproxyct CcvpmhtspProcessor fragment detail CF-73660D2AACC Show memory multibus CF-737CF-738 Show memory pci Following is sample output from the show memory pci commandShow memory pci CF-739CF-740 Syntax Description Show memory processorShow memory processor fragment free statistics StatisticsCcsipudpsocket CF-742Tacl FLT Router# show memory processor freeCF-743 Router# show memory processor statisticsCF-744 Show memory scan Show memory scanCF-745 CF-746 Show memory statistics history table Show memory statistics history tableCF-747 CF-748 Memory statistics Changes the memory log time History table CF-749CF-750 Show memory transientRouter# show memory transient CF-751 Show microcode Following is sample output from the show microcode commandShow microcode CF-752Microcode Microcode 7000/7500CF-753 Show mls statistics module num Defaults Command Modes Command HistoryShow mls statistics CF-754CF-755 Router# show mls statistics moduleCF-756 Show module mod-numall provision version Configured with a Supervisor EngineShow module CF-757Router# show module version This example shows how to display version informationCF-758 Router# show module provisionShow fm summary Show environment alarmShow interfaces Show environment statusShow monitor event-trace CF-760Router# show monitor event-trace ipc Component-specific message dataCF-761 Router# show monitor event-trace bfd allCisco Express Forwarding Component Examples SPA Component ExampleCF-762 Router# show monitor event-trace cef interface all CF-763Router# show monitor event-trace cef events all Router# show monitor event-trace cef ipv4 allCF-764 CFD Component for Cisco IOS Release 12.49TRouter# show monitor event-trace cfd all CF-765 Show monitor permit-list Syntax Description Defaults Command Modes Command HistoryShow monitor permit-list Monitor permit-listShow monitor session CF-767CF-768 Switches that are configured with a Supervisor EngineConfiguration for a specific session Router# show monitor sessionRouter# show monitor session erspan-destination detail CF-769Router# show monitor session erspan-destination Router# show monitor session erspan-sourceCF-770 Router# show monitor session erspan-source detailRemote-span Configures a Vlan as an Rspan VlanMonitor session CF-771Show msfc CF-772CF-773 Rsfc CPU IdpromRouter# show msfc netint Router# show msfc faultCF-774 Router# show msfc tlbCF-775 Show pagp group-number counters internal neighbor pgroup Show pagpCF-776 Router# show pagp 1 internal This example shows how to display internal PAgP informationCF-777 Router# show pagp neighborShow parser dump CF-778CF-779 CF-780 CF-781 Router# show parser dump rtrRouter# show parser dump rtr include dhcp CF-782Router# show parser dump rtr extend CF-783 Description Show parser macroBrief Interface interfaceMacro global Configuration Macro interfaceConfiguration CF-785Show parser statistics Commands issued while the parser cache was last enabledShow parser statistics Describes the key output fieldsCF-787 Clear parser cache Cache featureEnables or disables the Parser Cache feature Parser cacheHardware Show pciShow pci hardware bridge register BridgeCF-790 All the PCI bridge registers Show pci hardwareShow pci hardware CF-791CF-792 Show platform CF-793Cisco 7600 Series Routers with Cisco 7600 SIP-400 Hardware pfc mode keywordsConnected keywords CF-794Msfc CPU Idprom CF-795Router# show platform eeprom WS-X6K-SUP3-PFCF-796 Clei =This example shows how to display TLB-register information This example shows how to display fault-date informationThis example shows how to display the PFC-operating mode CF-797Observation period Show msfcPlatform copp CF-798Syntax Description Show platform hardware capacityShow platform hardware capacity resource-type Valid valuesCF-800 Router# show platform hardware capacity eobc CF-801Router# show platform hardware capacity fabric Router# show platform hardware capacity flash CF-802Router# show platform hardware capacity forwarding This example shows how to display Span information This example shows how to display the interface resourcesCF-803 This example shows how to display Vlan information CF-804Show platform software filesystem Command Default Command Modes Command HistoryCF-805 Display line number Platform software filesystem bootflashRouter# show platform software filesystem bootflash details CF-806Show platform software tech-support Show platform software mountCF-807 Show platform software memory CF-808Cpp-ha-server Cpp-service-processCF-809 Ios slot CF-810Process Shell-manager slotSlot. Possible slot values are CF-811CF-812 Specification of a process and slot are requiredCisco ASR 1000 Series RP slot Router# show platform software memory forwarding-manager r0CF-813 Show platform software mount slot brief Show platform software mountCF-814 Router# show platform software mount f0 CF-815Router# show platform software mount Router# show platform software mount rp activeCF-816 CF-817 Show platform software process list CF-818Slot CF-819Router# show platform software process list 0 name sleep Status Priority SizeCF-820 Router# show platform software process list 0 process-idCF-821 Router# show platform software process list 0 summaryCF-822 CF-823 CF-824 Show platform software tech-support Syntax Description Command Default Command ModesCF-825 CF-826 Router# show platform software tech-supportShow power CF-827Router# show power redundancy-mode This command shows how to display the system-power statusRouter show power available Router show powerCF-829 Power Power enableTurns on power for the modules Sets the power-supply redundancy modeUsage Guidelines Cisco IOS Software Modularity Show processesCF-831 CF-832 Router# show processes history CF-833Processes PID TID Process ID Process ID number and process nameCF-834 StateCF-835 Show processes kernel Show processes cpuShow processes detailed CF-836Usage Guidelines Cisco IOS Software Show processes cpuCF-837 Router# show processes cpu Shows total percentage of CPU utilization 0 to 100 percentCF-838 Router# show processes cpu historyRouter# show processes cpu include ARP Describes the fields shown in the outputCF-839 ATM ARP InputCF-840 PID/TID CF-841Router# show processes cpu detailed State CPUCF-842 Show processes memory CF-843Show processes interrupt mask buffer CF-844CF-845 Interrupts have been masked by all processes Show processes interrupt mask detailShow processes interrupt mask detail pid By all processesMasked CF-847Cisco IOS Software Modularity Syntax Show processes memoryCisco IOS Software Syntax CF-848Sorted, and show memory and its variants CF-849Following sections Output Prior to Releases 12.37T, 12.222S, and 12.028SAbout Alternate Memory Pools CF-850Router# show processes memory CF-851PID TTY Cops CF-852Router# show processes memory sorted PPP Ipcp27035232 CF-853Router# show version include IOS 8388608CF-854 Router# show processes memory detailed cdp2.iosproc CF-855Router# show processes memory detailed 12322 taskid CF-856 Router# show processes memory detailed 234567 alloc-summaryDisplays information about the active processes CF-857Show protocols Following is sample output from the show protocols commandShow protocols CF-858Show region address hex-address Show regionCF-859 Show version Show contextCF-860 Show registry CF-861CF-862 Router# show registry atm 3/0/0 briefRouter# show registry CF-863Aaaaccounting Reload Show reloadShow reload CF-864Show rom-monitor Syntax Description Command ModesCommand History Release Modification Cisco ASR 1000 Series RoutersRouter show rom-monitor When you are in Rommon modeCF-866 Router# show rom-monitor r0Show rom-monitor slot num sp rp This example shows how to display Rommon informationShow rom-monitor slot CF-867Related Commands Command Description CF-868Show running-config options Show running-configCF-869 CF-870 Cisco 7600 Series Router Running-config all commandConfigured mode for an interface OutputRouter# show running-config Router# show running-config linenum beginCF-872 CF-873 CommandDescription CF-874Examples All Map Classes Configured on the Router Example Show running-config map-classCF-875 Specific Map Class and Display of Line Numbers Example Router# show running-config map-class frame-relayAll Frame Relay Map Classes Example CF-876CF-877 Show running-config partition CF-878Overly resource intensive and be unacceptably slow Only those access-list-related configuration commandsNone Privileged Exec # System components have been processedCF-880 Show scp CF-881CF-882 Switch-sp#show scp processWS-F6K-PFC3BXL Chips Show slotShow slot all chips detailed err summary ErrSlot all CF-884Slot Intel 28F016SAShow slot0 Dir slot0Dir slot1 Show slot1Show slot0 all chips detailed err summary Show slot0CF-886 CF-887 CF-888 Show slotDisplays information about the Pcmcia flash memory cards Router# show slot0 errShow slot1 all chips detailed err summary Show slot1CF-889 Slot1 all CF-890Slot1 Slot1 chipsCF-891 Router# show slot1 errCF-892 Show stacksShow stacks Router# show stacksCF-893 Show startup-config CF-894Show subsys class class name name Following is sample output from the show subsys commandShow subsys CF-895CF-896 Filesys Show sup-bootflashShow sup-bootflash all chips filesys CF-897Router# show sup-bootflash filesys Router# show sup-bootflash chipsCF-898 CF-899 System jumbomtu Show system jumbomtuShow system jumbomtu CF-900Cisco 7600 Series Show tech-supportCF-901 CF-902 Show dmvpn details CF-903Show fabric channel-counters Show environmentCF-904 For the show commands listed in the Usage Guidelines section CF-905CF-906 CF-907 Show usb controllersShow usb controllers controller-number Router# show usb controllersCF-908 CRCCF-909 Show usb deviceAs appropriate Router# show usb deviceCF-910 CF-911 Information about all drivers is displayed Show usb driverShow usb driver index CF-912Owner Mask Describes the significant field shown in the displayCF-913 Show usb port port-number Show usb portCF-914 Show usb tree 12.314T This command was introducedUSB flash module and a USB eToken are currently enabled Show usb treeShow usbtoken0-9all filesystem Show usbtokenCF-916 CF-917 Show version CF-918Options all became available for the first time CF-919Cisco 3660 Router Output similar to show version on other Cisco routersBeing run on that hardware IOS Release 12.34TCisco 7200 Router CF-921CF-922 CF-923 Combined Dram and Packet Memory Separate Dram and Packet MemoryCF-924 Catalyst 6500 Series Switches and Cisco 7600 Series Routers Factory-default setting for the configuration register isConfiguration file Software image from Flash memory and load the startupCisco uBR7246VXR Router Cable clock card installedDescribes the fields that are shown in the example CF-926Describes significant fields shown in these displays CF-927Router show version Cisco uBR10012 RouterCF-928 12, Development SoftwareRouter#show version installed CF-929CF-930 CF-931 Router#show version provisionedCF-932 CF-933 CF-934 Date the individual sub-package was built Individual sub-package nameConsolidated package version of the individual sub-package Show diagWarm-reboot Enables a router to warm-reboot Show warm-rebootShow warm-reboot Router# show warm-rebootCF-937 Show whoamiShow whoami text Router show whoamiShowmon ShowmonCF-938 Rommon-pref CF-939
Related manuals
Manual 62 pages 45.16 Kb