Configure Cisco Router to Send Messages to Remote Syslog Server

Posted June 13, 2006 by Quinn McHenry in Cisco router

Centralizing log messages to a syslog server can improve the manageability of any size network and can decrease response times to resolve problems. Sending router log messages to a remote server also allows longer archiving of messages than in a router’s limited storage. Messages stored by syslog have permanence that a router does not. When a router is reloaded or power cycled, the messages in its log are erased. This tech-recipe describes the configuration steps required to make a router send messages to a remote syslog server.


To send messages to the syslog server at 192.168.51.4, use this command from enable mode:

conf t
logging 192.168.51.4

The remote server must, of course, be configured to act as a syslog server and accept messages from the router.

 

About Quinn McHenry

Quinn was one of the original co-founders of Tech-Recipes. He is currently crafting iOS applications as a senior developer at Small Planet Digital in Brooklyn, New York.
View more articles by Quinn McHenry

The Conversation

Follow the reactions below and share your own thoughts.