SRX

last person joined: yesterday 

Ask questions and share experiences about the SRX Series, vSRX, and cSRX.
  • 1.  BGP log messages

    Posted 09-16-2015 07:26

    Hello all,

     

    I'm trying to log certain BGP messages in the syslog like keepalive messages and state transitions.  Below is a snippet of the code.  When I run a 'show log daemon' it is blank.  Is there something else that needs to be done?


    syslog {
        archive size 100k files 3;
        user * {
            any emergency;
        }
        file messages {
            any critical;
            authorization info;
        }
        file interactive-commands {
            interactive-commands error;
        }
        file daemon {
            daemon info;
        }
    }

     

    bgp {
        log-updown;
        group external-peers {
            type external;
            local-address x.x.x.x;
            export bgp-transit-export;
            peer-as xxxx;
            local-as xxxx;
            neighbor x.x.x.x;
        }
    }



  • 2.  RE: BGP log messages
    Best Answer

     
    Posted 09-16-2015 15:19

    Hi,

     

    If you want events such as keepalive then you will need to enable traceoptions.

     

    http://www.juniper.net/techpubs/en_US/junos12.1/topics/topic-map/bgp-troubleshooting.html

     

    Simply define the flags that you are interested in and then the destination file and you are done.

     

    Tim