Routing

last person joined: 2 days ago 

Ask questions and share experiences about ACX Series, CTP Series, MX Series, PTX Series, SSR Series, JRR Series, and all things routing, including portfolios and protocols.
  • 1.  How to Apply a Prefix-List to a BGP neighbor

    Posted 09-19-2016 14:45

    Hello Community,

     

       I hope everyone is fine today. I am setting up a multihome BGP device. I am currently setting up the neighbors and some other stuff but got stuck trying to set a Prefix-List to a BGP neighbor.

     

    So. In Cisco. This is the command that I have running. 

     

    #-neighbor 1.1.1.1 prefix-list PREFIX_TEST out

     

     

    This the prefix that i've set up

     

    set policy-options policy-statement PREFIX_TEST term 1 from prefix-list PREFIX_TEST
    set policy-options policy-statement PREFIX_TEST term 1 then accept

     

    So All the routes added to the Prefix-List go through that link only. 

     

     

    Could you please help me out trying to apply this PL into the neighbor?

     

    Thanks



  • 2.  RE: How to Apply a Prefix-List to a BGP neighbor
    Best Answer

    Posted 09-19-2016 23:01

    You have to apply PREFIX_TEST as an export policy:

     

    set protocols bgp group <group> neighbor 1.1.1.1 export PREFIX_TEST

     

    Cheers,

    Carsten



  • 3.  RE: How to Apply a Prefix-List to a BGP neighbor

    Posted 09-20-2016 09:29

    Thanks Camtable. I will give it a try and let you know.