03-07-2012 01:03 AM
I'd like to know how to configure Log forwarding on the JunOS device to forward all but Traffic logs. This is what my config looks like:
set system syslog host 192.168.2.21 any any
set system syslog host 192.168.2.21 facility-override authorization
[edit system syslog host 192.168.2.21]
with 192.168.2.21 beeing my Syslog Server obviously.
How do you do this in JunOS?
Solved! Go to Solution.
03-07-2012 07:15 AM
if you are asking how to code for loging some info from your device on your remote server, have not you replied it yourself.... i mean this is how it is::
set system syslog host <ip-address> <faclity> <severity level>
faclity -> u have to decide yourself like authorization, interactive comands, change-log or any
severity-> again u have to decide like info, error, any
(Although any any will generate too much of logs, so its better to be specific)....
So isnt it what u askd and replied??? or am i mistaken to get your question????
03-07-2012 08:44 AM
does either of these help:
03-07-2012 09:16 AM
That worked, thanks Ulf!
(You really need the quotes in the match statement! My mistake trying to make a filter without the quotes ", it will end up in a filter called match "!", which is senseless)