Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Configuring Syslog

Status
Not open for further replies.

jps3700

IS-IT--Management
Feb 25, 2001
35
US
Hello:

I have configured syslog on a 1720 Router with the following commands:

logging trap debugging
logging 192.168.1.148

I then have a series of statements in my access lists that end with log.

However I am noticing that the only time the router seems to send any messages to the syslog server is when I access the router via the console port, and leave the connection up and running.

Is there an addtional command required to have the system send messages to the syslog server without being logged in on the console?

Thanks in advance for any assistance.

John
 
For access-list statements to log to a syslog server you need to use the command below:

logging trap informational

debugging will only output debugging information

Daniel,
 
Logging trap <level> will output all messages at that level and lower.

emergencies 0 System unusable
alerts 1 Immediate action needed
critical 2 Critical conditions
errors 3 Error conditions
warnings 4 Warning conditions
notifications 5 Normal but significant condition
informational 6 Informational messages only
debugging 7 Debugging messages

----------------------------------------
Wassabi Pop Tarts! Write Kellogs today!
 
Just wanted to ask this question again, as I still haven't gotten it working....these are the commands I have in the router:

These were automatically entered in the config...
logging exception 4096
no logging buffered
logging rate-limit console 10 except errors

I added the following:
logging trap debugging
logging facility local1
logging 192.168.1.148

Any assistanace you can provide would be greatly appreciated..

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top