Difference between revisions of "Cisco IOS logging"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
Tags: Mobile web edit, Mobile edit |
||
(7 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
Disable logging: | 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]] | [[conf t]] | ||
[[logging host]] xx.xx.xx.xx | [[logging host]] xx.xx.xx.xx | ||
Line 29: | Line 36: | ||
* <code>[[logging monitor]] [level]</code> | * <code>[[logging monitor]] [level]</code> | ||
* <code>[[debug ip]]</code> | * <code>[[debug ip]]</code> | ||
− | |||
* <code>[[show archive]]</code> | * <code>[[show archive]]</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}} | ||
* {{logging}} | * {{logging}} | ||
* {{Cisco IOS}} | * {{Cisco IOS}} | ||
[[Category:Cisco IOS]] | [[Category:Cisco IOS]] |
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]
show logging
show logging history
logging enable
logging host xx.xx.xx.xx
logging trap LEVEL_TO_SELECT
logging history
logging history size number
logging on
andno logging on
logging console [level]
logging monitor [level]
debug ip
show archive
- PAN-OS:
show log
no device-tracking logging theft
See also[edit]
- Cisco IOS logging:
show logging
,show archive
,show logging history
,logging buffered
,clear logging
- Cisco IOS logging:
show logging
- Linux logging, Cisco IOS logging
- Cisco IOS: Cisco IOS XE, Config (mode), VLANs, Cisco IOS logging, VTP, ACLs,
show logging
,show logging history
,show interface status
,debug
,archive
,show archive
,conf t
,int
,ip http server
,ip ssh
,ip address
, vty,show mac address-table
,show access-list
, Access-list,ip access-group
,admin
Advertising: