[j-nsp] JunOS 6.3 not logging BGP state transitions

Erdem Sener erdems at gmail.com
Wed Jun 13 20:10:21 EDT 2007


Hi Jared,

 A couple more questions than, risking that I might be re-stating the obvious:

- do you have that information on what's "sent" to your syslog server?
- is your bgp configured on the main instance, or on a logical router?
- what does your 'show system storage' look like?
- does that happen on all your routers with same release, or just one?

Cheers,
Erdem


On 6/13/07, Jared Gillis <jared at sonic.net> wrote:
> I agree, the config looks proper, but I don't get the expected log messages
> anywhere. I've caused BGP hits on the router with this config and never see any
> log messages in any of the message files or on our syslog server.
>
> % zcat /var/log/messages*.gz | grep -i bgp
> %
> % grep -i bgp /var/log/daemon
> Sep  9 10:34:36  host.name mgd[4421]: UI_COMMIT_EMPTY_CONTAINER: Skipped empty
> object 'bgp'
> %
>
> Erdem Sener wrote:
> > Hi Jared,
> >
> > You should see you neighbor going down in your 'messages' file at
> > least based on the configuration you've sent.
> >
> > Are you trying to have this information somewhere else?
> >
> > Thanks,
> > Erdem
> >
> > On 6/13/07, Jared Gillis <jared at sonic.net> wrote:
> >> Hi,
> >>
> >> I manage a number of M40 routers running JunOS 6.3. I have the log-updown
> >> directive enabled in the protocol bgp hierarchy (via an apply-group),
> >> but I get
> >> no syslog messages anywhere when a BGP session goes down or comes up. I'm
> >> logging all daemon messages level info or higher to a syslog host and
> >> locally.
> >> I've tried manually configuring log-updown at each level of the bgp
> >> configuration (globally, under a group, or under individual
> >> neighbors), I can't
> >> get any BGP syslog messages at all.
> >> Is there a known issue with this on this code rev? Is there other
> >> configuration
> >> necessary?
> >>
> >> Here's sanitized config snips:
> >>
> >> syslog {
> >>     archive size 1m files 20;
> >>     user * {
> >>         any emergency;
> >>     }
> >>     host 1.2.3.4 {
> >>         any notice;
> >>         kernel any;
> >>         authorization info;
> >>         daemon info;
> >>         cron any;
> >>         facility-override local4;
> >>     }
> >>     file messages {
> >>         any notice;
> >>         authorization info;
> >>     }
> >>     file command-history {
> >>         change-log any;
> >>         interactive-commands any;
> >>     }
> >>     file syslog {
> >>         any warning;
> >>     }
> >>     file firewall {
> >>         firewall any;
> >>     }
> >>     file daemon {
> >>         daemon info;
> >>     }
> >>     file kernel {
> >>         kernel any;
> >>     }
> >>     file pfe {
> >>         pfe any;
> >>     }
> >>     file user {
> >>         user any;
> >>     }
> >>     file conflicts {
> >>         conflict-log any;
> >>     }
> >> }
> >>
> >> bgp {
> >>     path-selection always-compare-med;
> >>     advertise-inactive;
> >>     log-updown;
> >>     group ibgp {
> >> <snip>
> >>     }
> >> }
> >>
> >> --
> >> Jared Gillis - jared at corp.sonic.net       Sonic.net, Inc.
> >> Network Operations                        2260 Apollo Way
> >> 707.522.1000 (Voice)                      Santa Rosa, CA 95407
> >> 707.547.3400 (Support)                    http://www.sonic.net/
> >> _______________________________________________
> >> juniper-nsp mailing list juniper-nsp at puck.nether.net
> >> https://puck.nether.net/mailman/listinfo/juniper-nsp
> >>
> >
> >
>
>
> --
> Jared Gillis - jared at corp.sonic.net       Sonic.net, Inc.
> Network Operations                        2260 Apollo Way
> 707.522.1000 (Voice)                      Santa Rosa, CA 95407
> 707.547.3400 (Support)                    http://www.sonic.net/
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/juniper-nsp
>


More information about the juniper-nsp mailing list