To display the state of system logging (syslog) and the contents of the standard system logging buffer, use the show logging
command in privileged EXEC or user EXEC mode.
Syntax Description
This command has no arguments or keywords.
Command Modes
User EXEC (>)
Privileged EXEC (#)
Command History
Release
|
Modification
|
Cisco IOS XE Fuji 16.9.x |
This command was introduced.
|
Examples
This example shows the output of the show logging command:
device# show logging
Syslog logging: enabled (0 messages dropped, 2 messages rate-limited, 0 flushes, 0 overruns, xml disabled, filtering disabled)
No Active Message Discriminator.
No Inactive Message Discriminator.
Console logging: level debugging, 67 messages logged, xml disabled,
filtering disabled
Monitor logging: level debugging, 0 messages logged, xml disabled,
filtering disabled
Buffer logging: level debugging, 160 messages logged, xml disabled,
filtering disabled
Exception Logging: size (4096 bytes)
Count and timestamp logging messages: disabled
File logging: disabled
Persistent logging: disabled
No active filter modules.
Trap logging: level informational, 157 message lines logged
Logging Source-Interface: VRF Name:
TLS Profiles:
Log Buffer (102400 bytes):
*Mar 9 11:32:47.051: %SMART_LIC-6-AGENT_ENABLED: Smart Agent for Licensing is enabled
*Mar 9 11:32:50.053: pagp init: platform supports EC/LACP xFSURA Tracing tool registry return: 0
*Mar 9 11:32:50.103: LACP-GR: infra cb, GR_NONE
*Mar 9 11:32:50.104: BFD: brace register success
*Mar 9 11:32:52.617: %CRYPTO-4-AUDITWARN: Encryption audit check could not be performed
*Mar 9 11:32:52.617: %CRYPTO_ENGINE-4-CSDL_COMPLIANCE_DISABLED: Cisco PSB security compliance has been disabled
*Mar 9 11:32:52.630: %SPANTREE-5-EXTENDED_SYSID: Extended SysId enabled for type vlan
*Mar 9 11:32:52.964: %LINK-3-UPDOWN: Interface Lsmpi18/3, changed state to up
*Mar 9 11:32:52.976: %LINK-3-UPDOWN: Interface EOBC18/1, changed state to up
*Mar 9 11:32:52.976: %LINEPROTO-5-UPDOWN: Line protocol on Interface LI-Null0, changed state to up
*Mar 9 11:32:52.977: %LINK-3-UPDOWN: Interface GigabitEthernet0/0, changed state to down
*Mar 9 11:32:52.977: %LINK-3-UPDOWN: Interface LIIN18/2, changed state to up
*Mar 9 11:32:52.977: %LINK-5-CHANGED: Interface Bluetooth0/4, changed state to administratively down
*Mar 9 11:32:53.072: %PNP-6-PNP_DISCOVERY_STARTED: PnP Discovery started
*Mar 9 11:32:53.075: %HMANRP-6-HMAN_IOS_CHANNEL_INFO: HMAN-IOS channel event for switch 1: EMP_RELAY: Channel UP!
<output truncated>
Examples
This example shows the output of show logging command for switching devices:
device# show logging
Syslog logging: enabled (0 messages dropped, 2 messages rate-limited, 0 flushes, 0 overruns, xml disabled, filtering disabled)
No Active Message Discriminator.
No Inactive Message Discriminator.
Console logging: level debugging, 97 messages logged, xml disabled,
filtering disabled
Monitor logging: level debugging, 0 messages logged, xml disabled,
filtering disabled
Buffer logging: level debugging, 190 messages logged, xml disabled,
filtering disabled
Exception Logging: size (4096 bytes)
Count and timestamp logging messages: disabled
File logging: disabled
Persistent logging: disabled
No active filter modules.
Trap logging: level informational, 187 message lines logged
Logging Source-Interface: VRF Name:
TLS Profiles:
Log Buffer (102400 bytes):
*Mar 9 11:32:47.051: %SMART_LIC-6-AGENT_ENABLED: Smart Agent for Licensing is enabled
*Mar 9 11:32:50.053: pagp init: platform supports EC/LACP xFSURA Tracing tool registry return: 0
*Mar 9 11:32:50.103: LACP-GR: infra cb, GR_NONE
*Mar 9 11:32:50.104: BFD: brace register success
*Mar 9 11:32:52.617: %CRYPTO-4-AUDITWARN: Encryption audit check could not be performed
*Mar 9 11:32:52.617: %CRYPTO_ENGINE-4-CSDL_COMPLIANCE_DISABLED: Cisco PSB security compliance has been disabled
*Mar 9 11:32:52.630: %SPANTREE-5-EXTENDED_SYSID: Extended SysId enabled for type vlan
*Mar 9 11:32:52.964: %LINK-3-UPDOWN: Interface Lsmpi18/3, changed state to up
*Mar 9 11:32:52.976: %LINK-3-UPDOWN: Interface EOBC18/1, changed state to up
*Mar 9 11:32:52.976: %LINEPROTO-5-UPDOWN: Line protocol on Interface LI-Null0, changed state to up
*Mar 9 11:32:52.977: %LINK-3-UPDOWN: Interface GigabitEthernet0/0, changed state to down
*Mar 9 11:32:52.977: %LINK-3-UPDOWN: Interface LIIN18/2, changed state to up
*Mar 9 11:32:52.977: %LINK-5-CHANGED: Interface Bluetooth0/4, changed state to administratively down
*Mar 9 11:32:53.072: %PNP-6-PNP_DISCOVERY_STARTED: PnP Discovery started
*Mar 9 11:32:53.075: %HMANRP-6-HMAN_IOS_CHANNEL_INFO: HMAN-IOS channel event for switch 1: EMP_RELAY: Channel UP!
*Mar 9 11:32:35.689: %STACKMGR-6-STACK_LINK_CHANGE: Switch 1 R0/0: stack_mgr: Stack port 1 on Switch 1 is cable-not-connected
*Mar 9 11:32:35.689: %STACKMGR-6-STACK_LINK_CHANGE: Switch 1 R0/0: stack_mgr: Stack port 2 on Switch 1 is down
*Mar 9 11:32:35.689: %STACKMGR-6-STACK_LINK_CHANGE: Switch 1 R0/0: stack_mgr: Stack port 2 on Switch 1 is cable-not-connected
*Mar 9 11:32:36.114: %STACKMGR-4-SWITCH_ADDED: Switch 1 R0/0: stack_mgr: Switch 1 has been added to the stack.
*Mar 9 11:32:38.537: %STACKMGR-4-SWITCH_ADDED: Switch 1 R0/0: stack_mgr: Switch 1 has been added to the stack.
*Mar 9 11:32:40.548: %STACKMGR-4-SWITCH_ADDED: Switch 1 R0/0: stack_mgr: Switch 1 has been added to the stack.
*Mar 9 11:32:40.548: %STACKMGR-6-ACTIVE_ELECTED: Switch 1 R0/0: stack_mgr: Switch 1 has been elected ACTIVE.
*Mar 9 11:32:53.079: %HMANRP-6-EMP_NO_ELECTION_INFO: Could not elect active EMP switch, setting emp active switch to 0: EMP_RELAY: Could not elect switch with mgmt port UP
*Mar 9 11:32:53.541: %SYS-5-CONFIG_P: Configured programmatically by process MGMT VRF Process from console as vty0
<output truncated>
Examples
This example shows the output of show logging command for routing devices:
Syslog logging: enabled (0 messages dropped, 5 messages rate-limited, 0 flushes, 0 overruns, xml disabled, filtering disabled)
No Active Message Discriminator.
No Inactive Message Discriminator.
Console logging: disabled
Monitor logging: level debugging, 0 messages logged, xml disabled,
filtering disabled
Buffer logging: level debugging, 117 messages logged, xml disabled,
filtering disabled
Exception Logging: size (4096 bytes)
Count and timestamp logging messages: disabled
Persistent logging: disabled
No active filter modules.
Trap logging: level informational, 114 message lines logged
Logging Source-Interface: VRF Name:
TLS Profiles:
Log Buffer (102400 bytes):
*Mar 10 08:51:07.464: %CRYPTO-5-SELF_TEST_START: Crypto algorithms release (Rel5b), Entropy release (3.4.1)
begin self-test
*Mar 10 08:51:07.687: %CRYPTO-5-SELF_TEST_END: Crypto algorithms self-test completed successfully
All tests passed.
*Mar 10 08:51:10.262: %SMART_LIC-6-AGENT_ENABLED: Smart Agent for Licensing is enabled
*Mar 10 08:51:10.428: %SMART_LIC-6-EXPORT_CONTROLLED: Usage of export controlled features is not allowed
*Mar 10 08:51:13.266: SDWAN INFO: sdwan_if subsys init for autonomous mode
*Mar 10 08:51:13.266: SDWAN INFO: Received ctrl_mng_mode Enable event
*Mar 10 08:51:13.483: SDWAN INFO: IOS-SDWAN-RP: Registered for chasfs events, rc 0
*Mar 10 08:51:14.309: %SPANTREE-5-EXTENDED_SYSID: Extended SysId enabled for type vlan
*Mar 10 08:51:14.312: %TLSCLIENT-5-TLSCLIENT_IOS: TLS Client is IOS based
*Mar 10 08:51:14.420: %CRYPTO_ENGINE-5-CSDL_COMPLIANCE_ENFORCED: Cisco PSB security compliance is being enforced
*Mar 10 08:51:14.420: %CRYPTO_ENGINE-5-CSDL_COMPLIANCE_EXCEPTION_ADDED: Cisco PSB security compliance exception has been added by this platform for use of RSA Key Size
*Mar 10 08:51:14.459: %CUBE-3-LICENSING: SIP trunking (CUBE) licensing is now based on dynamic sessions counting, static license capacity configuration through 'mode border-element license capacity' would be ignored.
*Mar 10 08:51:14.459: %SIP-5-LICENSING: CUBE license reporting period has been set to the minimum value of 8 hours.
*Mar 10 08:51:14.496: %VOICE_HA-7-STATUS: CUBE HA-supported platform detected.pm_platform_init() line :3156
*Mar 10 08:51:16.689: %IOSXE_RP_ALARM-2-PEM: ASSERT CRITICAL Power Supply Bay 1 Power Supply/FAN Module Missing
*Mar 10 08:51:16.712: %CRYPTO_SL_TP_LEVELS-6-ROMMON_VAL: Current rommon value: T1
*Mar 10 08:51:16.712: %CRYPTO_SL_TP_LEVELS-6-TIER_BASED_LIC: Tier Based License Support: 1
*Mar 10 08:51:16.713: %CRYPTO_SL_TP_LEVELS-6-TP_THROTTLE_STATE: Crypto throughput is throttled. New level is 250000
*Mar 10 08:51:16.762: %LINK-3-UPDOWN: Interface EOBC0, changed state to up
*Mar 10 08:51:16.779: %LINK-3-UPDOWN: Interface Lsmpi0, changed state to up
*Mar 10 08:51:16.779: %LINEPROTO-5-UPDOWN: Line protocol on Interface LI-Null0, changed state to up
*Mar 10 08:51:16.780: %LINEPROTO-5-UPDOWN: Line protocol on Interface VoIP-Null0, changed state to up
*Mar 10 08:51:16.780: %LINEPROTO-5-UPDOWN: Line protocol on Interface SR0, changed state to up
*Mar 10 08:51:16.781: %LINK-3-UPDOWN: Interface LIIN0, changed state to up
*Mar 10 08:51:16.929: %PNP-6-PNP_DISCOVERY_STARTED: PnP Discovery started
*Mar 10 08:50:14.051: %IOSXE-6-PLATFORM: R0/0: disk-module: Number of disks detected:1
*Mar 10 08:50:24.124: %IOSXE-6-PLATFORM: R0/0: disk-module: forcing config of LVM in non-raid-enable case
*Mar 10 08:50:24.143: %IOSXE-6-PLATFORM: R0/0: disk-module: /obfl is not mounted yet, sleeping...
*Mar 10 08:50:25.152: %IOSXE-6-PLATFORM: R0/0: disk-module: /obfl is not mounted yet, sleeping...
*Mar 10 08:50:26.161: %IOSXE-6-PLATFORM: R0/0: disk-module: /obfl is not mounted yet, sleeping...
*Mar 10 08:50:27.171: %IOSXE-6-PLATFORM: R0/0: disk-module: /obfl is not mounted yet, sleeping...
*Mar 10 08:50:28.181: %IOSXE-6-PLATFORM: R0/0: disk-module: /obfl is not mounted yet, sleeping...
*Mar 10 08:50:29.200: %IOSXE-6-PLATFORM: R0/0: disk-module: /obfl is not mounted yet, sleeping...
*Mar 10 08:50:31.555: %IOSXE-6-PLATFORM: R0/0: disk-module: check_lvm_mismatch: disk_count=1, pv_count=1, db_pv_uuid=PVUUID:vcxG9z-fWQg-Q1yS-eeFk-kEVA-hmTX-Wiklni uuid_count=1
*Mar 10 08:50:31.783: %IOSXE-6-PLATFORM: R0/0: disk-module: no mismatch found
*Mar 10 08:50:32.138: %IOSXE-6-PLATFORM: R0/0: disk-module: Volume group alredy existing
<output truncated>
Examples
This example shows the output of show logging command for wireless devices:
device#show logging
Syslog logging: enabled (0 messages dropped, 5 messages rate-limited, 0 flushes, 0 overruns, xml disabled, filtering disabled)
No Active Message Discriminator.
No Inactive Message Discriminator.
Console logging: disabled
Monitor logging: level debugging, 0 messages logged, xml disabled,
filtering disabled
Buffer logging: level debugging, 130 messages logged, xml disabled,
filtering disabled
Exception Logging: size (4096 bytes)
Count and timestamp logging messages: disabled
Persistent logging: disabled
No active filter modules.
Trap logging: level informational, 130 message lines logged
Logging Source-Interface: VRF Name:
TLS Profiles:
Log Buffer (102400 bytes):
*Mar 10 08:50:59.304: %CRYPTO-5-SELF_TEST_START: Crypto algorithms release (Rel5b), Entropy release (3.4.1)
begin self-test
*Mar 10 08:50:59.606: %CRYPTO-5-SELF_TEST_END: Crypto algorithms self-test completed successfully
All tests passed.
*Mar 10 08:51:02.432: %SMART_LIC-6-AGENT_ENABLED: Smart Agent for Licensing is enabled
*Mar 10 08:51:02.661: %SMART_LIC-6-EXPORT_CONTROLLED: Usage of export controlled features is not allowed
*Mar 10 08:51:05.434: SDWAN INFO: sdwan_if subsys init for autonomous mode
*Mar 10 08:51:05.434: SDWAN INFO: Received ctrl_mng_mode Enable event
*Mar 10 08:51:05.710: SDWAN INFO: IOS-SDWAN-RP: Registered for chasfs events, rc 0
*Mar 10 08:51:06.812: %SPANTREE-5-EXTENDED_SYSID: Extended SysId enabled for type vlan
*Mar 10 08:51:06.816: %TLSCLIENT-5-TLSCLIENT_IOS: TLS Client is IOS based
*Mar 10 08:51:06.938: %CRYPTO_ENGINE-5-CSDL_COMPLIANCE_ENFORCED: Cisco PSB security compliance is being enforced
*Mar 10 08:51:06.938: %CRYPTO_ENGINE-5-CSDL_COMPLIANCE_EXCEPTION_ADDED: Cisco PSB security compliance exception has been added by this platform for use of RSA Key Size
*Mar 10 08:51:06.982: %CUBE-3-LICENSING: SIP trunking (CUBE) licensing is now based on dynamic sessions counting, static license capacity configuration through 'mode border-element license capacity' would be ignored.
*Mar 10 08:51:06.982: %SIP-5-LICENSING: CUBE license reporting period has been set to the minimum value of 8 hours.
*Mar 10 08:51:07.032: %VOICE_HA-7-STATUS: CUBE HA-supported platform detected.pm_platform_init() line :3156
*Mar 10 08:51:09.341: %IOSXE_RP_ALARM-2-PEM: ASSERT CRITICAL Power Supply Bay 1 Power Supply/FAN Module Missing
*Mar 10 08:51:09.378: %CRYPTO_SL_TP_LEVELS-6-ROMMON_VAL: Current rommon value: 1000000
*Mar 10 08:51:09.378: %CRYPTO_SL_TP_LEVELS-6-TIER_BASED_LIC: Tier Based License Support: 1
<output truncated>