[j-nsp] BGP behaviour with Juniper router

Benoit Plessis b.plessis at doyousoft.com
Thu Jun 4 03:45:53 EDT 2015


Here is what i know, and what i've been able to find:

I don't think there is automatic grouping of neighbor in junos, you have
to make the groups by yourself, example:

> show configuration protocols bgp
group external-peers {
    type external;
    export bgp_public_out;
    peer-as ...;
    neighbor ....;
    neighbor ....;
group internal-peers {
    type internal;
    export ibgp_export;
    neighbor ...;
    neighbor ...;
    neighbor ...;

As for the advertisement interval, the junos term seem to be "out-delay"
and default to 0, but you can set it to the value you like
in each of your group

As for the output of a very simple bgp router:

> show bgp group                         
Group Type: External                               Local AS: 65530
  Name: external-peers  Index: 1                   Flags: <>
  Export: [ bgp_public_out ]
  Options: <GracefulRestart>
  Holdtime: 0
  Total peers: 2        Established: 2
  Trace options: state, normal
  Trace file: /var/log/log-bgp size 1048576 files 5
  inet.0: 1/1/1/0
  inet6.0: 1/1/1/0

Group Type: Internal    AS: 65530                  Local AS: 65530
  Name: internal-peers  Index: 0                   Flags: <>
  Export: [ ibgp_export ]
  Options: <GracefulRestart>
  Holdtime: 0
  Total peers: 4        Established: 4
  Trace options: state, normal
  Trace file: /var/log/log-bgp size 1048576 files 5
  inet.0: 6/17/17/0
  inet6.0: 18/24/24/0

Groups: 2  Peers: 6    External: 2    Internal: 4    Down peers: 0  
Flaps: 3
Table          Tot Paths  Act Paths Suppressed    History Damp State   
                      18          7          0          0         
0          0
                      25         19          0          0         
0          0

Le 04/06/2015 08:40, Eng. Bahaa via juniper-nsp a écrit :
> Hi Charles,Thanks for your reply.As I explained in my previous e-mail, Cisco router that run BGP deals with its neighbor as two groups by defaults, one for  external peers with 30 seconds as Minimum time between advertisement and 0 second for internal peers.this an example of the output of the command show ip bgp update-group :
> BGP version 4 update-group 1, external, Address Family: IPv4 Unicast  BGP Update version : 30/0, messages 0, active RGs: 1  Topology: global, highest version: 30, tail marker: 30  Format state: Current working (OK, last minimum advertisement interval)                Refresh blocked (not in list, last not in list)  Update messages formatted 27, replicated 54, current 0, refresh 0, limit 1000  Number of NLRIs in the update sent: max 1, min 0  Minimum time between advertisement runs is 30 seconds  Has 2 members:       
> What I need is simply output of an equivalent command in Juniper router or how is the behavior of BGP with Juniper router.
> Regards
> Bahaa 
>       From: Charles van Niman <charles at phukish.com>
>  To: Eng. Bahaa <bahaaqm at yahoo.com> 
> Cc: "juniper-nsp at puck.nether.net" <juniper-nsp at puck.nether.net> 
>  Sent: Wednesday, June 3, 2015 11:04 PM
>  Subject: Re: [j-nsp] BGP behaviour with Juniper router
> Hello,
>         Not quite sure what you mean by groups, I usually just refer
> to them in cisco-land as "types, ibgp/ebgp" until I'm actually using
> the peer-group neighbor statements. As for the command, you might try
> show route receive-protocol bgp <neighbor>. This is a pretty good
> reference: http://networking.ringofsaturn.com/Cisco/ciscojuniper.php
> and Juniper has some pretty good documentation as well.
> /Charles
> On Wed, Jun 3, 2015 at 7:39 AM, Eng. Bahaa via juniper-nsp
> <juniper-nsp at puck.nether.net> wrote:
>> Hi Guys,I am new with this group and with Juniper products as well.I curious to know the behaviour of BGP routing with Juniper routers.With Cisco router, a BGP speaker deals by default with all external peers as one group and with internal peers as another group.With external peers,it starts a timer of 30 seconds after each announce or forwarded update/updates to other neighbors while it send it directly with 0 seconds to internal peers (on the same AS).My question is Juniper routers work in the same behaviour?I really appreciate if someone has configured BGP in Juniper router and send me the o/p of show ip bgp update-groups (this a cisco command not really sure how it looks like in Juniper).
>> Regards
>> Bahaa
>> _______________________________________________
>> juniper-nsp mailing list juniper-nsp at puck.nether.net
>> https://puck.nether.net/mailman/listinfo/juniper-nsp
> _______________________________________________
> 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