Setting Up Trap Logging
Sending router messages to a remote host running syslog is more useful than local logging methods, but it requires a little more work. In addition to configuring the router, you must set up a host to process the syslog messages. Syslog comes with most standard UNIX implementations and is available as an add-on service for Windows NT. Some resources for NT syslog are the following:
Here is an IOS trap logging configuration example:
Local-AS#config t Enter configuration commands, one per line. End with CNTL/Z. local-AS(config)#logging 18.104.22.168 local-AS(config)#logging trap informational local-AS(config)#logging ...