Syslog Server and port

Jun 16, 2005 6 Replies

Hi all,



am using on my routers "logging " command to send messages to the syslog server. The routers use default protocol/port, so UDP/514 to send message to the syslog.



How can i specify another port ?



I can change port and protocol on the pix firewall but don't know if it's possible to do it on the router.



On the PIX, the command is : logging host /



ThankYou very much for your help



Best Regards NS


I think you can't do it. What you may do is to specify a facility code. This is what we do to have separate logs for pixen and routers.

Regards, Christoph Gartmann

You could probably use PAT to change destination port if that is what are you asking about.

hummm... ok.

ThankYou very much for your help.

NS

"Ivan Ostres" a écrit dans le message de news: snipped-for-privacy@news.aioe.org...

messages to

ThankYou very much for your help.

NS

"Christ> >am using on my routers "logging " command to send messages

to

Well, I can see that I confused you a bit. Why not try something like this:

(I assume that packets to syslog server go through Ethernet0)

Interface Ethernet 0 ip address a.a.a.a ip nat outside

ip nat outside source static udp 514

logging host

You can observe how it works using 'debug ip nat det'. If it does not work (or if it does) post your results ;-).

HTH,

Thanks a lot Ivan !!

Best Regards NS

"Ivan Ostres" a écrit dans le message de news: snipped-for-privacy@news.aioe.org...

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required