10-23-2011 02:51 PM - edited 03-07-2019 03:00 AM
I have a couple of Cisco 2960's sending syslog messages to a remote syslog-ng on port 514 (standard).
I need to set another Swtich so it sends traffic to the same syslog server but on another UDP port (such as 714),, is that possible,?
I cannot find the option on the documentation.
Thanks!
Solved! Go to Solution.
10-23-2011 04:25 PM
It appear that the 2960s do not support this command
here the reference guide for 12.2(55)
HTH
10-23-2011 03:13 PM
Hello,
Try using:
logging host X.X.X.X transport udp port 714
Best regards,
Peter
10-23-2011 03:27 PM
Hello Peter
Switch(config)#logging 192.168.200.223 transport udp port 714
^
% Invalid input detected at '^' marker.
According to the documentation, the command is > logging host <
where host is the destination IP.
Doestn say anything about ports or protocol. :-(
10-23-2011 03:43 PM
Hi,
The command Peter provided is correct.
see example:
Switch(config)#logging host 192.168.200.223 transport udp port 174
Switch(config)#
can you provide a model number for your 2960?
HTH
10-23-2011 04:08 PM
cisco WS-C2960G-48TC-L (PowerPC405) processor (revision C0) with 61440K/4088K bytes of memory
C2960 Software (C2960-LANBASE-M), Version 12.2(35)SE5
Maybe my IOS is too old.
10-23-2011 04:20 PM
In the global can you do an l and ? to see the options?
Switch(config)#l?
l2protocol-tunnel lacp li-view license
line link lldp location
logging login
Switch(config)#l
10-23-2011 04:29 PM
returns:
lacp line link logging login
10-23-2011 04:25 PM
It appear that the 2960s do not support this command
here the reference guide for 12.2(55)
HTH
10-23-2011 04:32 PM
:-( Thats what I was afraid of.
I didnt see it on the Documentation.
I might have then to try another trick, maybe a Middleware Syslog, with some filters and then a forward to another port.
Thats a shame it doesnt support it.
10-24-2011 04:57 PM
You can accomplish what you need by filtering on the receiving end for that one switch. Here's a link to a very good whitepaper on syslog management:
http://www.cisco.com/en/US/technologies/collateral/tk869/tk769/white_paper_c11-557812.html
You can easily set up syslog-ng or rsyslog to filter out messages from that device.
11-04-2024 03:04 PM
Hi Peter.
This command works with the Cisco Nexus 9k?
logging host X.X.X.X transport udp port 714
Regards
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