09-20-2006 03:45 PM - edited 03-03-2019 05:09 AM
I have not been having luck syslogging telnet connections to my cat 2948. Am I missing something? Thanks.
#syslog
set logging console disable
set logging telnet disable
set logging server enable
set logging server 10.1.9.42
set logging level telnet 6 default
set logging level ethc 2 default
set logging server facility LOCAL6
set logging server severity 6
09-20-2006 05:27 PM
Take a look at your other logging options as that would fall under one of those which may be set to low to logg any telnet connections . It will be one of the "set logging level" commands ,probably is too low , not sure which one is is right off hand might be the mgmt level...
09-21-2006 01:55 AM
Thanks Glen. As you can see I tried "set logging level telnet 6 default". Earlier I had tried "set logging level telnet 7 default". But neither gave the desired result. You think telnet connections might fall under another set logging level service? Thanks.
09-21-2006 03:38 AM
In your first message it says you have "set logging telnet disable" , have you tried enabling that first ? Also "set the logging level mgmt 6 default" and see what happens . Think the telnet login info actually falls under that , real intuitive huh ???
09-21-2006 07:48 AM
I'll give it a try. But from the document I saw on CCO - I thought "set logging telnet enable" was for permitting you to see logged messages in your telnet windows when you login to a swittch. I am just trying to get the fact that someone has logged in via telnet to go into the logging buffer and sent to the syslog server.
09-21-2006 08:35 AM
Try setting the logging for mgmt at 6 then I think it will be what you want... You are right about the telnet logging that is just whether or not it will send logg messages to your screen when telnetted into the switch...
09-21-2006 09:25 AM
My 6509's syslog upon telnet.
show log
Logging server: enabled
server facility: LOCAL7
server severity: information(6)
All facilities are set to level 6.
make sure you have the logging server set
set logging server enable
set logging server x.x.x.x
set logging server severity 6
set logging level telnet 6 default
Darren
09-21-2006 11:22 AM
I wound up setting all to 6
"set logging level all 6 default"
..and that seems to it logging telnet correctly now. I had the set logging level telnet 6 default earlier and that was not doing it. The logging of telnet connections is perhaps handled by another facility?
09-21-2006 02:34 PM
Yes as I said in my prevois note it is handled by the mgmt logging statement , by setting that to 6 it enables you to see who logged in via telnet...
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide