Syslog Server and port

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

Reply to
ns
Loading thread data ...

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

Reply to
Christoph Gartmann

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

Reply to
Ivan Ostres

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

Reply to
ns

ThankYou very much for your help.

NS

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

to

Reply to
ns

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,

Reply to
Ivan Ostres

Thanks a lot Ivan !!

Best Regards NS

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

Reply to
ns

Cabling-Design.com Forums website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.