cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
371
Views
0
Helpful
2
Replies

syslog message

sarahr202
Level 5
Level 5

Hi every body!

Please consider the following config:

routerA

line console 0

logging console notice

terminal monitor

logging monitor debug

Will the syslog messages upto severity level 7(debug) be sent on vty lines or only the syslog message upto seveity level 5(notice) be sent on vty lines ?

From my earlier post, I got one of the response that says " terminal monitor" command instructs the router to send the copies of all syslog messages from console line to vty lines.

Based on the above response, syslog messages up severity level 5( notice) will be sent on vty lines because console is receiving the syslog messages upto severity level 5 because of the configured command" logging console notice". ?

Thanks a lot and have a nice day!

2 Accepted Solutions

Accepted Solutions

Edison Ortiz
Hall of Fame
Hall of Fame

You will be getting the logging level that is allocated to the monitor as when you type the 'terminal monitor' command that's exactly what you are doing, redirecting monitor logging to your vty, not console logging.

HTH,

__

Edison.

View solution in original post

John Blakley
VIP Alumni
VIP Alumni

Sarah,

The above config will send logging messages when consoled into the router for levels notifications and below.

The logging monitor debug command will send everything from level 7 down.

If you're really wanting messages to be sent to a syslog server, you need to trap those levels like:

logging trap debug

logging host 192.168.1.5 <- syslog server resides here

So, in short, you're first config logs 5,4,3,2, and 1 messages when consoled in, and your second config will logg 7,6,5,4,3,2, and 1. Terminal monitor allows the messages to show up when telnetted into the device so you can see them as they happen.

HTH,

John

HTH, John *** Please rate all useful posts ***

View solution in original post

2 Replies 2

Edison Ortiz
Hall of Fame
Hall of Fame

You will be getting the logging level that is allocated to the monitor as when you type the 'terminal monitor' command that's exactly what you are doing, redirecting monitor logging to your vty, not console logging.

HTH,

__

Edison.

John Blakley
VIP Alumni
VIP Alumni

Sarah,

The above config will send logging messages when consoled into the router for levels notifications and below.

The logging monitor debug command will send everything from level 7 down.

If you're really wanting messages to be sent to a syslog server, you need to trap those levels like:

logging trap debug

logging host 192.168.1.5 <- syslog server resides here

So, in short, you're first config logs 5,4,3,2, and 1 messages when consoled in, and your second config will logg 7,6,5,4,3,2, and 1. Terminal monitor allows the messages to show up when telnetted into the device so you can see them as they happen.

HTH,

John

HTH, John *** Please rate all useful posts ***
Review Cisco Networking products for a $25 gift card