Junos OS

Expand all | Collapse all

EX4300 and BGP

Jump to Best Answer
  • 1.  EX4300 and BGP

    Posted 04-25-2018 01:11

    Hi everyone,

    1) Consider the following example:

    set protocols bgp group external-peers HELLO
    et policy-options policy-statement HELLO term 1 from route-filter 10.0.0.0/16 orlonger
    set policy-options policy-statement HELLO term 1 from route-filter 192.168.0.0/16 orlonger
    set policy-options policy-statement HELLO term 1 then accept

     

    If we do not define the protocol , does it all routes in inet.0 will be advertsied to BGP peers?

     


    2)set policy-options policy-statement JOO term 1 from route-filter 0.0.0.0/0 orlonger

    will above policy will match all routes?

    3) Deos EX4300 support BGP?


    Sorry did not have access to gear.

    Thanks



  • 2.  RE: EX4300 and BGP
    Best Answer

     
    Posted 04-25-2018 03:05

    1) Consider the following example:

    set protocols bgp group external-peers HELLO
    et policy-options policy-statement HELLO term 1 from route-filter 10.0.0.0/16 orlonger
    set policy-options policy-statement HELLO term 1 from route-filter 192.168.0.0/16 orlonger
    set policy-options policy-statement HELLO term 1 then accept

     

    If we do not define the protocol , does it all routes in inet.0 will be advertsied to BGP peers?

    no routes will go to the table they are part of ipv4 to inet.0 and ipv6 to inet6.0

     

    For this example you need to assign the policy to the peer group.  They are not automatically assigned by name but explicity assigned in the bgp group stanza and you need to declare the BGP type as external.

     

    https://www.juniper.net/documentation/en_US/junos/topics/example/policy-bgp-levels.html

     
    2)set policy-options policy-statement JOO term 1 from route-filter 0.0.0.0/0 orlonger

    will above policy will match all routes?

     

    Yes, but you also need to add the then accept line

     

    3) Deos EX4300 support BGP?

     

    BGP is an additional license feature for the ex4300

    https://www.juniper.net/us/en/local/pdf/datasheets/1000467-en.pdf

     



  • 3.  RE: EX4300 and BGP

    Posted 04-25-2018 22:50

    Thanks Puluka!!