Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have enabled logging in a Cisco 3560 switch, and forwarding of messages to syslog on a Linux server. Messages like line protocol up and down, and config changes, are being sent to syslog OK. What I am not seeing are messages when I log into the switch or change to enable mode.
I made the following config changes in the switch:
SWP01#config t
Enter configuration commands, one per line. End with CNTL/Z.
SWP01(config)#archive
SWP01(config-archive)#log config
SWP01(config-archive-log-cfg)#notify syslog
SWP01(config-archive-log-cfg)#end
SWP01#config t
Enter configuration commands, one per line. End with CNTL/Z.
SWP01(config)#logging 10.50.147.194
SWP01(config)#logging trap debug
SWP01(config)#end
When I enter show logging, I get:
SWP01#show logging
Syslog logging: enabled (0 messages dropped, 23 messages rate-limited, 0 flushes, 0 overruns, xml disabled, filtering disabled)
Console logging: level debugging, 244216 messages logged, xml disabled,
filtering disabled
Monitor logging: level debugging, 0 messages logged, xml disabled,
filtering disabled
Buffer logging: level debugging, 244238 messages logged, xml disabled,
filtering disabled
Exception Logging: size (4096 bytes)
Count and timestamp logging messages: disabled
File logging: disabled
Trap logging: level debugging, 121155 message lines logged
Logging to 10.50.147.194, 224 message lines logged, xml disabled,
filtering disabled
Is it possible to send login info to syslog, and if so, how? Thanks in advance...
I have enabled logging in a Cisco 3560 switch, and forwarding of messages to syslog on a Linux server. Messages like line protocol up and down, and config changes, are being sent to syslog OK. What I am not seeing are messages when I log into the switch or change to enable mode.
I made the following config changes in the switch:
SWP01#config t
Enter configuration commands, one per line. End with CNTL/Z.
SWP01(config)#archive
SWP01(config-archive)#log config
SWP01(config-archive-log-cfg)#notify syslog
SWP01(config-archive-log-cfg)#end
SWP01#config t
Enter configuration commands, one per line. End with CNTL/Z.
SWP01(config)#logging 10.50.147.194
SWP01(config)#logging trap debug
SWP01(config)#end
When I enter show logging, I get:
SWP01#show logging
Syslog logging: enabled (0 messages dropped, 23 messages rate-limited, 0 flushes, 0 overruns, xml disabled, filtering disabled)
Console logging: level debugging, 244216 messages logged, xml disabled,
filtering disabled
Monitor logging: level debugging, 0 messages logged, xml disabled,
filtering disabled
Buffer logging: level debugging, 244238 messages logged, xml disabled,
filtering disabled
Exception Logging: size (4096 bytes)
Count and timestamp logging messages: disabled
File logging: disabled
Trap logging: level debugging, 121155 message lines logged
Logging to 10.50.147.194, 224 message lines logged, xml disabled,
filtering disabled
Is it possible to send login info to syslog, and if so, how? Thanks in advance...
on syslog server
Code:
SYSLOGD_OPTIONS="-r -m 0"
on router
Code:
service timestamps log datetime localtime
no logging console
no logging monitor
logging 192.x.x.x facility 6
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.