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
Line 5: Line 5:
 
* <code>no logging console</code>
 
* <code>no logging console</code>
  
* Configure [[syslog]]  
+
 
 +
Configure [[syslog]]  
 
  [[conf t]]
 
  [[conf t]]
 
  [[logging host]] xx.xx.xx.xx
 
  [[logging host]] xx.xx.xx.xx

Revision as of 06:25, 14 April 2021

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


Disable logging:

  • no logging console


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

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

Related commands

See also

Advertising: