Routing

last person joined: 5 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.  EX3300 Not Advertising Routes in BGP

    Posted 05-21-2015 22:25

    I have confiured BGP on Ex3300 VC but i am not able to adverstise my Connected Networks in BGP, The Conifguration and Output is as below:

     

    It shows Adverstised Prefixes as zero, I have written the below export Policy

     

    set policy-options policy-statement BGP_OUT term 1 from protocol bgp
    set policy-options policy-statement BGP_OUT term 1 from route-filter 10.X.X.X/24 exact---------Connected Network
    set policy-options policy-statement BGP_OUT term 1 then accept
    set policy-options policy-statement BGP_OUT term default then reject

     

     

    The above policy is applied as export in BGP configuration. 

     

    show route

     

    10.X.X.X/24 *[Direct/0] 2d 18:39:06
    > via vlan.50

     

    show bgp neighbor 10.X.X.X 

    Type: External State: Established Flags: <Sync RSync>
    Export: [ BGP_OUT ] Import: [ BGP_IN ]
    Options: <Multihop Preference LocalAddress PeerAS Refresh>
    Local Address: 10.X.X.X Holdtime: 90 Preference: 170
    Number of flaps: 0
    Peer ID: 10.X.X.X Local ID: 10.X.X.X Active Holdtime: 90
    Keepalive Interval: 30 Group index: 1 Peer index: 0

    Send state: in sync
    Active prefixes: 2
    Received prefixes: 3
    Accepted prefixes: 3
    Suppressed due to damping: 0
    Advertised prefixes: 0
    Last traffic (seconds): Received 20 Sent 4 Checked 66
    Input messages: Total 737 Updates 10 Refreshes 0 Octets 14366
    Output messages: Total 745 Updates 0 Refreshes 0 Octets 14195
    Output Queue[0]: 0

     

    Please let me know the reason of this.



  • 2.  RE: EX3300 Not Advertising Routes in BGP
    Best Answer

     
    Posted 05-21-2015 22:47

    If you want to advertise connected networks you have to use protocol direct and not bgp as below.

     

    delete policy-options policy-statement BGP_OUT term 1 from protocol bgp

    set policy-options policy-statement BGP_OUT term 1 from protocol direct

    commit

     



  • 3.  RE: EX3300 Not Advertising Routes in BGP

    Posted 05-22-2015 03:34

    Thank You Suraj!

     

    If i was advertising this route learned via BGP, then my policy would have worked, i didnt realize the Keyword!