cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
271
Views
0
Helpful
3
Replies

error logging

carl_townshend
Spotlight
Spotlight

Is there any way I can set logging up on my cisco devices so they all log any errors to a server ?

3 Replies 3

right_guy12
Level 1
Level 1

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

spremkumar
Level 9
Level 9

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

Do I need to create a directory on my pc where these files are created ? where would it put them ?

Getting Started

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: