01-25-2006 03:34 AM - edited 03-03-2019 01:34 AM
Is there any way I can set logging up on my cisco devices so they all log any errors to a server ?
01-25-2006 04:14 AM
Hi! Carl,
Yes, you can configure your cisco devices so that you'll have the logs.
You can use the following commands in configuration mode...
logging host x.x.x.x[IP address of the syslog server]
logging traps alerts
or logging traps critical
or logging traps debugging
or logging traps emergencies
or logging traps errors
or logging traps informational
or logging traps notifications
or logging traps warnings
depending upon the kind of logs [the criteria is the severity level of the log messages] that you would want with you on the syslog server.
You can also give the following command if you want that logging on console and terminal is also enabled at the same time.
In the configuration mode...
logging on
01-25-2006 04:15 AM
hi
you can make use of the command logging host followed by the ip address of the syslog server..
logging host 1.1.1.1
Also you can try kiwisyslog server which is mostly being used..'
Following are the different levels available ..
emergencies 0
alerts 1
critical 2
errors 3
warnings 4
notifications 5
informational 6
debugging 7
you can make use of logging trap and the severity level to select the optional msg flow to the syslog server instead of sending all the level msgs to the server..
logging trap 3
the above command will allow messages at severity levels 0 (emergencies) through 3 error to the syslog server..
regds
01-25-2006 05:36 AM
Do I need to create a directory on my pc where these files are created ? where would it put them ?
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: