Thursday, 4 June 2020

Equal-cost multipath (ECMP) or Load-Balance in Juniper



Step1:Configure ECMP routing policy
set policy-options policy-statement LBPOLICY then load-balance per-packet

Step2: Export the policy to forwarding table
set routing-options forwarding-table export LBPOLICY 

Verification: (Use the command "show route forwarding-table")

user1@QFX-re0> show route forwarding-table
Routing table: default.inet
Internet:
Enabled protocols: Bridging,
Destination        Type RtRef Next hop           Type Index    NhRef Netif


192.168.200.0/24    user     0                    ulst  2097150  4215
                              192.168.0.1     ucst     1876    12 ae10.0
                              192.168.0.5     ucst     1869     4  ae11.0

Two exit path for 192.168.200.0.24.

No comments:

Post a Comment