Description

Need to check BGP load balancing for per packet level for ISP traffic on SRX .

Symptoms

Need to check BGP load balancing for per packet level for ISP traffic on SRX .

Solution

Here is a sample configuration for the BGP load balancing for the ISP traffic -

user@R1# show protocols
bgp {
    group external {
        type external;
        peer-as 64501;
        multipath;
        neighbor ISP 1;
        neighbor ISP 2;
         neighbor ISP 3,
    }
}

    policy-statement lb {
        from {
            route-filter 0.0.0.0/0 exact;
        }
        then {
            load-balance per-packet;
        }
    }
}
    static {
        route aaa.aaa.aaa.aaa discard;
        route bbb.bbb.bbb.bbb next-hop ccc.ccc.ccc.ccc;
        route ddd.ddd.ddd.ddd next-hop ddd.ddd.ddd.ddd;
        route eee.eee.eee.eee next-hop fff.fff.fff.fff;
       
    }
    forwarding-table {
        export lb;
    }
}

 

Modification History

2024-09-11 : Article Created

Related Information

https://www.juniper.net/documentation/us/en/software/junos/bgp/topics/topic-map/load-balancing-bgp-session.html