Syslog Server Logging


Scenario:

Router MasterMind has a large memory but due to security reasons you want to make sure all logging information isn’t saved locally but dumped to an external syslog server. You don’t want to use the default configuration though so let’s see how you can tune syslog logging…

Goal:

  • All IP addresses have been preconfigured for you.
  • Router MasterMind has a loopback0 interface with IP address 1.1.1.1 /24.
  • Optional: You can use the cloud interface to connect your router to a free syslog server like Kiwi Syslog Server.
  • Configure router MasterMind so it sends all logging information to a syslog server with IP address 192.168.12.2.
  • Configure router MasterMind so a reliable protocol is used for logging messages and use port 4040.
  • Configure router MasterMind so logging messages are sent from the loopback0 interface.
  • Configure router MasterMind so all messages are logged up to the emergencies level.
  • Configure router MasterMind so it uses origin-ID string “MasterMind” and facility local1.

IOS:

c3640-jk9s-mz.124-16.bin

Topology:

Syslog Server

Configuration Files

You need to register to download the GNS3 topology file. (Registration is free!)

Once you are logged in you will find the configuration files right here.

Opt In Image
Do you want your CCNA or CCNP Certificate?

The How to Master series helps you to understand complex topics like spanning-tree, VLANs, trunks, OSPF, EIGRP, BGP and more.

Written by René Molenaar - CCIE #41726

You May Also Like

About the Author: Rene Molenaar

René - CCIE #41726 is the creator of GNS3Vault.com where he shares CCNA, CCNP and CCIE R&S labs. He also blogs about networking on http://networklessons.com

2 Comments

  1. logging trap emergencies
    logging facility local1
    logging source-interface Loopback0
    logging host 192.168.12.2 transport tcp port 4040

    Regards

    Anton

  2. logging trap debugging
    logging origin-id string MasterMind
    logging facility local1
    logging source-interface Loopback0
    logging host 192.168.12.2 transport tcp port 4040

Comments are closed.