Ano-Tech Computers
Enter keyword:

Cisco: Enable logging to remote syslog server
Problem:
I've entered 'logging #.#.#.#' into the config but nothing happens. (actual IP address hidden)
 
Solution:
Logging to a remote syslog server requires several steps. First of all, make sure there are no firewall rules blocking UDP/514 between the router and the syslog server.

Then remove the current logging setup:
"no logging #.#.#.#"

Finally, add the following:
"logging #.#.#.#"
"logging trap informational"
"logging source-interface Ethernet 0"
"logging facility local7"

Substitute "informational" for the severity level
Substitute "Ethernet 0" for the interface
Substitute "local7" for the facility

This had me puzzled for days, because IOS seems to need these config statements in a sequence.
 
Discuss this solution
Did this article solve your problem? Yes No Did not apply

We welcome anyone who is willing to contribute to this public knowledge base, contact siteadmin@atc.no if you have information you would like to share. The idea is not to replace the commercial support sites, but to publish those hard-to-find solutions you've found yourself looking for over and over again.

Show all articles