That's good to hear!
Thank you for the report.

> -----Original Message-----
> From: Angel Lopez Delgado [mailto:a...@ignis-software.com]
> Sent: Wednesday, November 11, 2015 2:31 PM
> To: Wataru Ishida
> Cc: gobgp-devel@lists.sourceforge.net
> Subject: Re: [GoBGP-devel] GoBGP set Local Preference
> 
> I made the update but for some reason it wasn't working as expected so I
> did a fresh install and now everything it's working good, again thank you
> very much for all your help and keep the good work, GoBGP it's awesome!.
> 
> 
> 
> 
> On Tue, Nov 10, 2015 at 5:42 PM, Wataru Ishida <ishida.wat...@lab.ntt.co.jp
> <mailto:ishida.wat...@lab.ntt.co.jp> > wrote:
> 
> 
>       Hi
> 
>       You don’t need any policy configuration to make local-pref work.
>       I tried your configuration, and it’s working...
>       Could you check your gobgpd binary is updated?
> 
>       Thanks
>       Wataru
> 
> 
> 
>       > On Nov 11, 2015, at 4:58 AM, Angel Lopez Delgado
> <a...@ignis-software.com <mailto:a...@ignis-software.com> > wrote:
>       >
>       > Hi Wataru,
>       >
>       > Here is the configuration:
>       >
>       > [Global]
>       >   [Global.GlobalConfig]
>       >     As = 65535
>       >     RouterId = "10.10.10.102"
>       >
>       > [Neighbors]
>       >   [[Neighbors.NeighborList]]
>       >     [Neighbors.NeighborList.NeighborConfig]
>       >       NeighborAddress = "10.10.10.101"
>       >       PeerAs = 65535
>       >
>       >
>       > It is a simple configuration just to establish the ibgp session,
> i don't know if a policy is require.
>       >
>       > Here is the command to add the prefix to the global rib and export
> it:extreme@ubuntu:~$ gobgp global rib add 1.1.0.0/16 <http://1.1.0.0/16>
> med 200 local-pref 200 -a ipv4
>       >
>       > extreme@ubuntu:~$ gobgp global rib
>       >     Network             Next Hop             AS_PATH
> Age        Attrs
>       > *>  1.1.0.0/16 <http://1.1.0.0/16>           0.0.0.0
> 00:00:04   [{Med: 200} {LocalPref: 200} {Origin: ?}]
>       > extreme@ubuntu:~$ gobgp neighbor 10.10.10.101 adj-out
>       >     Network             Next Hop             AS_PATH
> Attrs
>       >     1.1.0.0/16 <http://1.1.0.0/16>           10.10.10.102
> [{Med: 200} {LocalPref: 100} {Origin: ?}]
>       >
>       >
>       > Thank you!.
>       >
>       > Best Regards
>       >
>       > On Tue, Nov 10, 2015 at 7:27 AM, Wataru Ishida
> <ishida.wat...@lab.ntt.co.jp <mailto:ishida.wat...@lab.ntt.co.jp> >
> wrote:
>       > hmm, in my test environment, local-preference is also working
> fine.
>       > Could you show your gobgp configuration file?
>       > I will try with the exactly same configuration.
>       >
>       > Thanks,
>       > Wataru
>       >
>       > > On Nov 9, 2015, at 5:46 PM, Angel Lopez Delgado
> <a...@ignis-software.com <mailto:a...@ignis-software.com> > wrote:
>       > >
>       > > Hi Wataru,
>       > >
>       > > Excellent job!, MED it's working fine:
>       > >
>       > >
> extreme@ubuntu:~/go/src/github.com/osrg/gobgp/gobgp$ <http://github.co
> m/osrg/gobgp/gobgp$>  gobgp neighbor 10.10.10.101 adj-out
>       > >     Network             Next Hop             AS_PATH
> Attrs
>       > >     1.1.1.0/24 <http://1.1.1.0/24>           10.10.10.102
> [{Med: 200} {Origin: ?} {LocalPref: 100}]
>       > >
>       > > But the local-pref path attribute still not  being advertise:
>       > >
>       > >
> extreme@ubuntu:~/go/src/github.com/osrg/gobgp/gobgp$ <http://github.co
> m/osrg/gobgp/gobgp$>  gobgp global rib add 1.1.2.0/24 <http://1.1.2.0/24>
> med 200 local-pref 200
>       > >
> extreme@ubuntu:~/go/src/github.com/osrg/gobgp/gobgp$ <http://github.co
> m/osrg/gobgp/gobgp$>  gobgp neighbor 10.10.10.101 adj-out
>       > >     Network             Next Hop             AS_PATH
> Attrs
>       > >     1.1.1.0/24 <http://1.1.1.0/24>           10.10.10.102
> [{Med: 200} {Origin: ?} {LocalPref: 100}]
>       > >     1.1.2.0/24 <http://1.1.2.0/24>           10.10.10.102
> [{Med: 200} {LocalPref: 100} {Origin: ?}]
>       > >
>       > > Thank you for all your help it is highly appreciated.
>       > >
>       > > Regards
>       > >
>       > >
>       > > On Sun, Nov 8, 2015 at 5:31 PM, Wataru Ishida
> <ishida.wat...@lab.ntt.co.jp <mailto:ishida.wat...@lab.ntt.co.jp> >
> wrote:
>       > > Hi
>       > >
>       > > Sorry for the incomplete fix.
>       > >
>       > >
> https://github.com/osrg/gobgp/commit/2db916a4d3e5783ae3ac68bb436722fea
> 0bbe925
>       > >
>       > > I think this fixes the problem.
>       > >
>       > > Thanks,
>       > > Wataru
>       > >
>       > > > On Nov 6, 2015, at 6:29 PM, Angel Lopez Delgado
> <a...@ignis-software.com <mailto:a...@ignis-software.com> > wrote:
>       > > >
>       > > > Hi Wataru,
>       > > >
>       > > > Thanks! for your quick reply, when I added the prefix to the
> global rib it applies the local-pref correctly:
>       > > >
>       > > >  gobgp global rib add 10.33.0.0/24 <http://10.33.0.0/24>
> local-pref 1000
>       > > >
>       > > > extreme@ubuntu:~$ gobgp global rib
>       > > >     Network             Next Hop             AS_PATH
> Age        Attrs
>       > > > *>  10.33.0.0/24 <http://10.33.0.0/24>         0.0.0.0
> 00:00:14   [{LocalPref: 1000} {Origin: ?}]
>       > > >
>       > > >
>       > > > But when it is advertised to the bgp neighbor the configured
> local-pref is reset back to the original and not the one in the global rib
>       > > >
>       > > > ~$ gobgp neighbor 10.10.10.101 adj-out
>       > > >     Network             Next Hop             AS_PATH
> Attrs
>       > > >     10.33.0.0/24 <http://10.33.0.0/24>
> 10.10.10.102                              [{LocalPref: 100} {Origin: ?}]
>       > > >
>       > > >
>       > > > R1#show ip bgp
>       > > > BGP table version is 1, local router ID is 10.10.10.101
>       > > > Status codes: s suppressed, d damped, h history, * valid,
> > best, i - internal,
>       > > >               r RIB-failure, S Stale
>       > > > Origin codes: i - IGP, e - EGP, ? - incomplete
>       > > >
>       > > >    Network          Next Hop            Metric LocPrf
> Weight Path
>       > > > * i10.33.0.0/24     8.8.8.8                       100
> 0 ?
>       > > >
>       > > > Am I missing something?
>       > > >
>       > > > Thank you very much.
>       > > >
>       > > > Regards.
>       > > >
>       > > >
>       > > >
>       > > > On Thu, Nov 5, 2015 at 10:45 PM, Wataru Ishida
> <ishida.wat...@lab.ntt.co.jp <mailto:ishida.wat...@lab.ntt.co.jp> >
> wrote:
>       > > > Hi
>       > > >
>       > > > Thanks for finding and trying GoBGP!
>       > > >
>       > > >
> https://github.com/osrg/gobgp/commit/1460ef0ba46d0a0836fc5314d5e5c23ba
> 76fd047
>       > > >
>       > > > just added the feature to set local preference
>       > > >
>       > > > $ gobgp global rib add 10.33.0.0/24 <http://10.33.0.0/24>
> local-pref 100
>       > > >
>       > > > Thanks
>       > > > Wataru
>       > > >
>       > > > > On Nov 6, 2015, at 1:25 PM, Angel Lopez Delgado
> <a...@ignis-software.com <mailto:a...@ignis-software.com> > wrote:
>       > > > >
>       > > > > Hi GoBGP Team,
>       > > > >
>       > > > > Thanks for this awesome! software, I have a question
> regarding the local preference attribute, I'm trying to set a local
> preference for a specific prefix but i can't find the way to do that, in
> ExaBGP you can do that like this:
>       > > > >
>       > > > >
>       > > > > route 200.94.181.11/32 <http://200.94.181.11/32>
> next-hop 213.248.72.129 local-preference 600 community 32098:5254;
>       > > > >
>       > > > > Is there a way to set the local preference in GoBGP ? I
> see that you can add the nexthop with:
>       > > > >
>       > > > >  gobgp global rib add 10.33.0.0/24 <http://10.33.0.0/24>
> nexthop 11.22.33.44 -a ipv4
>       > > > >
>       > > > > And also you can set the community and as_path using the
> Policies:
>       > > > >
>       > > > > gobgp policy as-path add <aspath set name> <as path>
>       > > > > gobgp policy community add <community set name> <community>
>       > > > >
>       > > > >
>       > > > > Thank you very much!.
>       > > > >
>       > > > > Regards
>       > > > > Angel Adrián López Delgado
>       > > > > Director Network Engineer
>       > > > >
>       > > > >
>       > > > >
>       > > > >
>       > > > >
>       > > > >
>       > > > > +52 656 150 44 53 |  a...@ignis-software.com
> <mailto:a...@ignis-software.com>  |  Ciudad Juárez, Chihuahua, México |
>       > > > >
>       > > > > This e-mail message may contain confidential or legally
> privileged information and is intended only for the use of the intended
> recipient(s). Any unauthorized disclosure, dissemination, distribution,
> copying or the taking of any action in reliance on the information herein
> is prohibited. E-mails are not secure and cannot be guaranteed to be error
> free as they can be intercepted, amended, or contain viruses. Anyone who
> communicates with us by e-mail is deemed to have accepted these risks.
> Company Name is not responsible for errors or omissions in this message
> and denies any responsibility for any damage arising from the use of e-mail.
> Any opinion and other statement contained in this message and any attachment
> are solely those of the author and do not necessarily represent those of
> the company.
>       > > > >
> ----------------------------------------------------------------------
> --------
>       > > > > _______________________________________________
>       > > > > gobgp-devel mailing list
>       > > > > gobgp-devel@lists.sourceforge.net
> <mailto:gobgp-devel@lists.sourceforge.net>
>       > > > > https://lists.sourceforge.net/lists/listinfo/gobgp-devel
>       > > >
>       > > >
>       > > >
>       > > >
>       > > >
>       > > >
> ----------------------------------------------------------------------
> --------
>       > > > _______________________________________________
>       > > > gobgp-devel mailing list
>       > > > gobgp-devel@lists.sourceforge.net
> <mailto:gobgp-devel@lists.sourceforge.net>
>       > > > https://lists.sourceforge.net/lists/listinfo/gobgp-devel
>       > >
> ----------------------------------------------------------------------
> --------
>       > > Presto, an open source distributed SQL query engine for big
> data, initially
>       > > developed by Facebook, enables you to easily query your data
> on Hadoop in a
>       > > more interactive manner. Teradata is also now providing full
> enterprise
>       > > support for Presto. Download a free open source copy now.
>       > >
> http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140______
> _________________________________________
>       > > gobgp-devel mailing list
>       > > gobgp-devel@lists.sourceforge.net
> <mailto:gobgp-devel@lists.sourceforge.net>
>       > > https://lists.sourceforge.net/lists/listinfo/gobgp-devel
>       >
>       >
>       >
>       >
>       > --
>       > Angel Adrián López Delgado
>       > Director Network Engineer
>       >
>       >
>       >
>       >
>       >
>       >
>       > +52 656 150 44 53 |  a...@ignis-software.com
> <mailto:a...@ignis-software.com>  |  Ciudad Juárez, Chihuahua, México |
>       >
>       > This e-mail message may contain confidential or legally
> privileged information and is intended only for the use of the intended
> recipient(s). Any unauthorized disclosure, dissemination, distribution,
> copying or the taking of any action in reliance on the information herein
> is prohibited. E-mails are not secure and cannot be guaranteed to be error
> free as they can be intercepted, amended, or contain viruses. Anyone who
> communicates with us by e-mail is deemed to have accepted these risks.
> Company Name is not responsible for errors or omissions in this message
> and denies any responsibility for any damage arising from the use of e-mail.
> Any opinion and other statement contained in this message and any attachment
> are solely those of the author and do not necessarily represent those of
> the company.
>       >
> ----------------------------------------------------------------------
> --------
>       > _______________________________________________
>       > gobgp-devel mailing list
>       > gobgp-devel@lists.sourceforge.net
> <mailto:gobgp-devel@lists.sourceforge.net>
>       > https://lists.sourceforge.net/lists/listinfo/gobgp-devel
> 
> 
> 
> 
> 
> 
> --
> 
> Angel Adrián López Delgado
> Director Network Engineer
> 
> 
> 
> 
> <https://docs.google.com/uc?export=download&id=0B0NZsRPs-VSHbWtQZktPcD
> FIM1E&revid=0B0NZsRPs-VSHQzNCczBBazZkTTJaUCtUanVYZXkxS1UrQzdRPQ>
> 
> 
>   <https://www.facebook.com/IgnisSoftware>
> <https://twitter.com/IgnisSoftware>
> <https://docs.google.com/uc?export=download&id=0B0NZsRPs-VSHb0VnOTAxWj
> FYQm8&revid=0B0NZsRPs-VSHbTVncmRtM1VjSEpjclBGTG91YzZESCtrdWVjPQ>
> <http:///>
> 
> 
> 
> 
> +52 656 150 44 53 |  a...@ignis-software.com <http://ignis-software.com>
> |  Ciudad Juárez, Chihuahua, México |
> 
> 
> This e-mail message may contain confidential or legally privileged
> information and is intended only for the use of the intended recipient(s).
> Any unauthorized disclosure, dissemination, distribution, copying or the
> taking of any action in reliance on the information herein is prohibited.
> E-mails are not secure and cannot be guaranteed to be error free as they
> can be intercepted, amended, or contain viruses. Anyone who communicates
> with us by e-mail is deemed to have accepted these risks. Company Name is
> not responsible for errors or omissions in this message and denies any
> responsibility for any damage arising from the use of e-mail. Any opinion
> and other statement contained in this message and any attachment are solely
> those of the author and do not necessarily represent those of the company.



------------------------------------------------------------------------------
_______________________________________________
gobgp-devel mailing list
gobgp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gobgp-devel

Reply via email to