Difference between revisions of "Show logging"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{Draft}}
 
{{Draft}}
 +
 +
show logging ?
 +
  [[show logging count|count]]      Show counts of each logging message
 +
  [[show logging history|history]]    Show the contents of syslog history table
 +
  onboard    Onboard logging information
 +
  [[show logging persistent|persistent]]  Show the contents of the logging persistent
 +
  xml        Show the contents of XML logging buffer
 +
  |          Output modifiers
 +
  <cr>
 +
  
 
https://www.cisco.com/E-Learning/bulk/public/tac/cim/cib/using_cisco_ios_software/cmdrefs/show_logging.htm
 
https://www.cisco.com/E-Learning/bulk/public/tac/cim/cib/using_cisco_ios_software/cmdrefs/show_logging.htm
 
  
 
  Jan 20 09:58:19.457: %SEC_LOGIN-5-LOGIN_SUCCESS: Login Success [user: USERNAME] [Source: 10.10.10.12] [localport: 22] at 09:58:19 UTC Mon Jan 20 2020
 
  Jan 20 09:58:19.457: %SEC_LOGIN-5-LOGIN_SUCCESS: Login Success [user: USERNAME] [Source: 10.10.10.12] [localport: 22] at 09:58:19 UTC Mon Jan 20 2020
 
  
 
  2w2d: %SYS-5-CONFIG_I: Configured from console by YOUR_USER on vty0 (10.10.10.10)
 
  2w2d: %SYS-5-CONFIG_I: Configured from console by YOUR_USER on vty0 (10.10.10.10)
 
  
 
  Jan 20 07:06:28.820: %'''LINEPROTO-5-UPDOWN''': Line protocol on Interface GigabitEthernet1/0/47, '''changed state to down'''
 
  Jan 20 07:06:28.820: %'''LINEPROTO-5-UPDOWN''': Line protocol on Interface GigabitEthernet1/0/47, '''changed state to down'''
Line 17: Line 24:
 
  Oct 14 10:00:26.381: %LINEPROTO-5-UPDOWN: Line protocol on Interface VlanXXX, changed state to up
 
  Oct 14 10:00:26.381: %LINEPROTO-5-UPDOWN: Line protocol on Interface VlanXXX, changed state to up
  
  Oct  5 10:31:41.348: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet222/0/37 (111), with SW-XXX GigabitEthernet1111/0/24 (80).
+
  Oct  5 10:31:41.348: %[[CDP-4-NATIVE_VLAN_MISMATCH]]: Native VLAN mismatch discovered on GigabitEthernet222/0/37 (111), with SW-XXX GigabitEthernet1111/0/24 (80).
 +
 
 +
Apr 14 09:54:36.023: %SSH-4-SSH2_UNEXPECTED_MSG: Unexpected message type has arrived. Terminating the connection from 10.10.10.5
  
  
 
== Related commands ==
 
== Related commands ==
 +
* <code>[[show logging]]</code>
 
* <code>[[show logging history]]</code>
 
* <code>[[show logging history]]</code>
 +
* <code>[[logging enable]]</code>
 
* <code>[[logging history]]</code>
 
* <code>[[logging history]]</code>
 
* <code>[[logging history size number]]</code>
 
* <code>[[logging history size number]]</code>
Line 30: Line 41:
 
* <code>[[show memory]]</code>, <code>sh memory platform</code>
 
* <code>[[show memory]]</code>, <code>sh memory platform</code>
 
* <code>[[show archive]]</code>
 
* <code>[[show archive]]</code>
* [[show interfaces]]
+
* <code>[[show interfaces]]</code>
 +
* <code>[[logging trap level]]</code>
 
* [[PAN-OS]]: <code>[[show log]]</code>
 
* [[PAN-OS]]: <code>[[show log]]</code>
 +
* <code>no [[device-tracking logging theft]]</code>
  
 
== See also ==
 
== See also ==
* {{IOS}}
+
* {{show logging}}
* [[Logging]]
+
* {{IOS logging}}
 +
* {{Cisco IOS}}
 +
 
  
 
[[Category:IOS]]
 
[[Category:IOS]]

Latest revision as of 06:46, 14 April 2021

This article is a Draft. Help us to complete it.
show logging ?
  count       Show counts of each logging message
  history     Show the contents of syslog history table
  onboard     Onboard logging information
  persistent  Show the contents of the logging persistent
  xml         Show the contents of XML logging buffer
  |           Output modifiers
  <cr>


https://www.cisco.com/E-Learning/bulk/public/tac/cim/cib/using_cisco_ios_software/cmdrefs/show_logging.htm

Jan 20 09:58:19.457: %SEC_LOGIN-5-LOGIN_SUCCESS: Login Success [user: USERNAME] [Source: 10.10.10.12] [localport: 22] at 09:58:19 UTC Mon Jan 20 2020
2w2d: %SYS-5-CONFIG_I: Configured from console by YOUR_USER on vty0 (10.10.10.10)
Jan 20 07:06:28.820: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0/47, changed state to down
Jan 20 07:06:29.824: %LINK-3-UPDOWN: Interface GigabitEthernet1/0/47, changed state to down
Jun 14 07:31:29.792: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0/9, changed state to up
Oct 14 10:00:26.381: %LINEPROTO-5-UPDOWN: Line protocol on Interface VlanXXX, changed state to up
Oct  5 10:31:41.348: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet222/0/37 (111), with SW-XXX GigabitEthernet1111/0/24 (80).
Apr 14 09:54:36.023: %SSH-4-SSH2_UNEXPECTED_MSG: Unexpected message type has arrived. Terminating the connection from 10.10.10.5


Related commands[edit]

See also[edit]

Advertising: