Configuring ECMP Static Routes
1. Add a static route (IP address, subnet mask, gateway, and interface number).
2. Add another static route with the same IP address and mask, but a different
gateway address.
3. Select an ECMP hashing method (optional).
© Copyright Lenovo 2016
To configure ECMP static routes, add the same route multiple times, each with the
same destination IP address, but with a different gateway IP address. These routes
become ECMP routes.
RS G8264(config)# ip route 10.10.1.1 255.255.255.255 100.10.1.1 1
RS G8264(config)# ip route 10.10.1.1 255.255.255.255 200.20.2.2 1
RS G8264(config)# ip route ecmphash [sip|dipsip]
You may add up to 32 gateways for each static route.
Use the following commands to check the status of ECMP static routes:
RS G8264(config)# show ip route static
Current static routes:
Destination Mask Gateway If ECMP
10.20.2.2 255.255.255.255 10.4.4.1 *
10.5.5.1 *
10.6.6.1 *
...
10.35.35.1 *
ECMP healthcheck ping interval: 1
ECMP healthcheck retries number: 3
ECMP Hash Mechanism: dipsip
Gateway healthcheck: enabled
RS G8264(config)# show ip ecmp
Current ecmp static routes:
Destination Mask Gateway If GW Status
10.20.2.2 255.255.255.255 10.4.4.1 up
10.5.5.1 up
10.6.6.1 up
10.34.34.1 up
10.35.35.1 up
...
Chapter 26: Basic IP Routing
439