Hi Thanks for finding and trying GoBGP!
https://github.com/osrg/gobgp/commit/1460ef0ba46d0a0836fc5314d5e5c23ba76fd047 just added the feature to set local preference $ gobgp global rib add 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> > 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 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 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 | 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 ------------------------------------------------------------------------------ _______________________________________________ gobgp-devel mailing list gobgp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gobgp-devel