Cisco save log

Tujuan

Mengirimkan apa saja yang terjadi di router agar di kirimkan ke server. Sehingga admininstrator dapat melihat aktifitas  yang terjadi di router dari tempat lain.

Kali ini kita akan mencoba menyimpan log dari cisco router, pada praktek kali ini akan membutuhkan software Kiwi Syslog (cari aja di google softwarenya).

1

Metode

• Track all changes to the running configuration.
• Notify the syslog server 10.1YY.69.100 when any configuration change happens.
• Retain the last 10 entries in the configuration log.
• Suppress the display of password information in the configuration log files.
• Ensure that configuration changes are not saved to the local file system.

Konfigurasi

no logging buffered
logging on
logging host 10.10.10.2
archive
logconfig
logging enable
logging size 10
hidekeys
notify syslog
service timestamps log datetimemsec

sh archive log config all
sh log

Verifikasi, di program Kiwi Syslog akan muncul logging.

2Logging level terdiri dari 8 level, berikut levelnya

Severity level    Keyword           Meaning

0                 emergencies       System unusable

1                 alerts            Immediate action required

2                 critical          Critical conditions

3                 errors            Errorconditions

4                 warnings          Warning conditions

5                 notifications     Normal but significant condition

6                 informational     Informational messages

7                 debugging         Debugging messages

Secara default , system loggin berada pada level 6, untuk merubahnya jalankan perintah berikut :

R1(config)#logging trap warnings

Secara default, logging level yang kita pilih akan include dengan level yang lebih rendah, misalkan jika kita mengaktifkan logging level 4, maka pesan loggin mulai 4,3,2,dan 1 akan ditampilkan.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.