Junos OS

 View Only
last person joined: 2 days ago 

Ask questions and share experiences about Junos OS.
  • 1.  BGP advertisement

    Posted 01-30-2024 15:17
    Edited by spuluka 03-07-2024 19:25

    Hello, I know this is doable. but for the life of me I can't remember how. Currently I have this for my BGP export policy statement, but I need to combine the two /25s into a /24 for advertisement. 

    term 1 {
        from {
            protocol direct;
            route-filter xx.xx.xxx.0/25 exact;
            route-filter xx.xx.xxx.128/25 exact;



  • 2.  RE: BGP advertisement

    Posted 01-31-2024 08:52

    You can use aggregate and summary-only.

    policy-options {
        policy-statement aggregate-export {
            term 1 {
                from {
                    route-filter xx.xx.xxx.0/25 exact;
                    route-filter xx.xx.xxx.128/25 exact;
                }
                then {
                    aggregate {
                        route xx.xx.xxx.0/24 {
                            summary-only;
                        }
                    }
                    accept;
                }
            }
        }
    }
    





    ------------------------------
    Leo Chan
    ------------------------------