Data Center

 View Only
last person joined: 3 days ago 

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

    Posted 20 days ago

    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 19 days ago

    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 18 days ago

    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 17 days ago

    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
    ------------------------------