Data Center

 View Only
last person joined: 9 days ago 

Ask questions and share experiences about Data Center Architecture and approaches.
  • 1.  Forwarding syslog messages to 2 servers

    Posted 04-09-2024 13:58

    Hello there!

    On the network, It has a CGNAT device where the syslog messages are forwarded to a server collector, but we need to send these messages to another server too. Both servers will be collectors...

    Here is my script, the active server has the address IP: 10.163.90.10 and the address IP of the new server is: 10.229.75.17

    set services service-set SS_NAT_MOBILE_3_0 syslog host 10.163.90.10 services info
    set services service-set SS_NAT_MOBILE_3_0 syslog host 10.163.90.10 port 10518
    set services service-set SS_NAT_MOBILE_3_0 syslog host 10.163.90.10 class nat-logs
    set services service-set SS_NAT_MOBILE_3_0 nat-rules NAT_MOBILE_3_0
    set services service-set SS_NAT_MOBILE_3_0 next-hop-service inside-service-interface ms-3/0/0.1000
    set services service-set SS_NAT_MOBILE_3_0 next-hop-service outside-service-interface ms-3/0/0.2000

    Thank you so much!



    ------------------------------
    Andres El Gharib
    ------------------------------


  • 2.  RE: Forwarding syslog messages to 2 servers

    Posted 04-09-2024 20:14

    Assuming the port is the same you would just add the syslog host commands again with the new ip address.  This will create a second stanza for the new server using the same settings as the first one.



    ------------------------------
    Steve Puluka BSEET - Juniper Ambassador
    IP Architect - DQE Communications Pittsburgh, PA (Metro Ethernet & ISP - Retired)
    http://puluka.com/home
    ------------------------------



  • 3.  RE: Forwarding syslog messages to 2 servers

    Posted 04-11-2024 04:02

    Hello! Thanks for answer.

    Do you mean that I should to re-write these commands but with the new IP? Like this:

    set services service-set SS_NAT_MOBILE_3_0 syslog host 10.163.90.10 services info
    set services service-set SS_NAT_MOBILE_3_0 syslog host 10.163.90.10 port 10518
    set services service-set SS_NAT_MOBILE_3_0 syslog host 10.163.90.10 class nat-logs

    set services service-set SS_NAT_MOBILE_3_0 syslog host 10.229.75.17 services info
    set services service-set SS_NAT_MOBILE_3_0 syslog host 10.229.75.17 port 10518
    set services service-set SS_NAT_MOBILE_3_0 syslog host 10.229.75.17 class nat-logs
    set services service-set SS_NAT_MOBILE_3_0 nat-rules NAT_MOBILE_3_0
    set services service-set SS_NAT_MOBILE_3_0 next-hop-service inside-service-interface ms-3/0/0.1000
    set services service-set SS_NAT_MOBILE_3_0 next-hop-service outside-service-interface ms-3/0/0.2000



    ------------------------------
    Andres El Gharib
    ------------------------------



  • 4.  RE: Forwarding syslog messages to 2 servers
    Best Answer

    Posted 04-11-2024 19:50

    Yes, adding a the second set of identical commands as you note.



    ------------------------------
    Steve Puluka BSEET - Juniper Ambassador
    IP Architect - DQE Communications Pittsburgh, PA (Metro Ethernet & ISP - Retired)
    http://puluka.com/home
    ------------------------------