Please refer the steps to configure syslog server logging in cisco routers:
1. In order to ensure that logging is enabled, issue the logging on command.
Router(config)# logging on
2. In order to specify the Essentials server that is to receive the router syslog messages, issue the logging ip_address command. ip_address is the address of the server that collects the syslog messages.
Router(config)# logging 2.2.2.2
3. In order to limit the types of messages that can be logged to the Essentials server, set the appropriate logging trap level with the logging trap informational command. The informational portion of the command signifies severity level 6. This means all messages from level 0-5 (from emergencies to notifications) are logged to the Essentials server.
Router(config)# logging trap informational
Please refer the below to setup the syslog server in cent os:
Please also refer below link for more info:
No comments:
Post a Comment