Enable Basic Cisco Logging Log Messages

Enable Basic Cisco Logging Log Messages

Log into the Cisco IOS device and issue the following commands. These are basic Cisco logging commands you can enable on your switch or router

 

1.

en

2.

conf t

3.

no logging on

4.

archive

5.

log config





6.

logging enable

7.

logging size 1000

8.

notify syslog contenttype plaintext

9.

hidekeys

10.

exit

12.

logging host (IP address of log collector)

13.

logging trap 6

14.

login on-failure log every 1

15.

login on-success log every 1

16.

logging origin-id hostname

17.

logging source-interface (IP address of log collector)

18.

no service sequence-numbers

19.

no service timestamps

20.

service timestamps log datetime localtime show-timezone

21.

no logging message-counter syslog

22.

no logging console

23.

no logging monitor

24.

logging buffered 16384 informational

25.

logging on

26.

end

27.

wr mem

* Please use the comment form below. Comments are moderated.*



Related Posts

 

Comments

No comments made yet. Be the first to submit a comment
Thursday, 19 December 2024