[c-nsp] Setting the Remote Syslog Port in IOS

Christian Koch christian at broknrobot.com
Thu Sep 11 16:43:16 EDT 2008


hmm interesting

darn, im out of luck

i dont have it on on my 12ks running 12.0(32)SY4
i do have it on a rsp720/7600 runnng 12.2(33)SRB2
dont have it on sup720/7600 runnin SX7 either

just not enough boxes have it, to  do what i want i guess..

christian






On Thu, Sep 11, 2008 at 9:39 AM, Justin Shore <justin at justinshore.com> wrote:
> I have it on a 7206VXR running 12.4(15)T2.
>
> 7206-1.clr(config)#logging host ?
>  Hostname or A.B.C.D  IP address of the syslog server
>  ipv6                 Configure IPv6 syslog server
>
> 7206-1.clr(config)#logging host 1.2.3.4 ?
>  discriminator         Specify a message discriminator indentifier for this
> logging session
>  filtered              Enable filtered logging
>  sequence-num-session  Include session sequence number tag in syslog message
>  session-id            Specify syslog message session ID tagging
>  transport             Specify the transport protocol (default=UDP)
>  vrf                   Set VRF option
>  xml                   Enable logging in XML
>  <cr>
>
> 7206-1.clr(config)#logging host 1.2.3.4 tr
> 7206-1.clr(config)#logging host 1.2.3.4 transport ?
>  beep  Blocks Extensible Exchange Protocol
>  tcp   Transport Control Protocol
>  udp   User Datagram Protocol
>
> 7206-1.clr(config)#logging host 1.2.3.4 transport udp ?
>  discriminator         Specify a message discriminator indentifier for this
> logging session
>  filtered              Enable filtered logging
>  port                  Specify the UDP port number (default=514)
>  sequence-num-session  Include session sequence number tag in syslog message
>  session-id            Specify syslog message session ID tagging
>  xml                   Enable logging in XML
>  <cr>
>
> 7206-1.clr(config)#logging host 1.2.3.4 transport udp port ?
>  <1-65535>  Port number
>
>
> I also see the command on a 3660 running 12.3(14)T7.  I have it on a 3560E
> running 12.2(44)SE2 but not on a 3750 running 12.2(25)SEB.  I do however
> have it on a 3560G and a basic 3560 running 12.2(44)SE2.  I also have it on
> a Sup720-3BXL in a 7600 running SRB1.
>
> Looks like it's available for the older platforms with the right IOS.
>
> Justin
>
> Christian Koch wrote:
>>
>> checked for any switches after the inputting the ip address on logging
>> host command but nothing was available
>>
>>
>> #logging host 1.1.1.1 transport ?
>> % Unrecognized command
>>
>>
>> On Wed, Sep 10, 2008 at 3:55 PM, Tassos Chatzithomaoglou
>> <achatz at forthnet.gr> wrote:
>>>
>>> Have you tried "logging host XXX transport udp port Y"?
>>>
>>> --
>>> Tassos
>>>
>>> Christian Koch wrote on 10/09/2008 19:41:
>>>>
>>>> I know i can set the remote syslog port on ASA/PIX's, but i don't seem
>>>> to see that it is possible in IOS.
>>>>
>>>> I wanted to segregate logs by sending them from certain devices to
>>>> separate syslog ports
>>>>
>>>> Can anyone confirm this behavior?
>>>>
>>>> Has anyone had the need to do something similar?
>>>>
>>>> Thanks
>>>>
>>>>
>>>> Christian
>>>> _______________________________________________
>>>> cisco-nsp mailing list  cisco-nsp at puck.nether.net
>>>> https://puck.nether.net/mailman/listinfo/cisco-nsp
>>>> archive at http://puck.nether.net/pipermail/cisco-nsp/
>>>>
>>>
>> _______________________________________________
>> cisco-nsp mailing list  cisco-nsp at puck.nether.net
>> https://puck.nether.net/mailman/listinfo/cisco-nsp
>> archive at http://puck.nether.net/pipermail/cisco-nsp/
>


More information about the cisco-nsp mailing list