Difference between revisions of "Cisco IOS logging"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
 
(2 intermediate revisions by the same user not shown)
Line 8: Line 8:
 
  Router#[[configure terminal]]
 
  Router#[[configure terminal]]
 
  Enter configuration commands, one per line.  End with CNTL/Z.
 
  Enter configuration commands, one per line.  End with CNTL/Z.
  Router(config)#logging buffered informational
+
  Router(config)#[[logging buffered]] informational
 
  Router(config)#end
 
  Router(config)#end
  
Line 37: Line 37:
 
* <code>[[debug ip]]</code>
 
* <code>[[debug ip]]</code>
 
* <code>[[show archive]]</code>
 
* <code>[[show archive]]</code>
* <code>[[show interfaces]]</code>
 
 
* [[PAN-OS]]: <code>[[show log]]</code>
 
* [[PAN-OS]]: <code>[[show log]]</code>
 
* <code>no [[device-tracking logging theft]]</code>
 
* <code>no [[device-tracking logging theft]]</code>
  
 
== See also ==
 
== See also ==
 +
* {{IOS logging}}
 
* {{show logging}}
 
* {{show logging}}
 
* {{logging}}
 
* {{logging}}

Latest revision as of 06:39, 14 April 2021

This article is a Draft. Help us to complete it.


Disable logging:

no logging console

Local storage of messages:

Router#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#logging buffered informational
Router(config)#end


Configure syslog

conf t
logging host xx.xx.xx.xx
logging host X.X.X.X transport udp port 714
logging trap informational

Verify:

sh run | inc logging

Logs[edit]

Apr 14 10:18:23.233: %SYS-5-CONFIG_I: Configured from console by vty0 (10.10.10.5)

Related commands[edit]

See also[edit]

Advertising: