Configuring Resilient Hashing for Default VRF

Resilient Hashing is available for default VRF as well as user created VRFs. To configure Resilient Hashing on default VRF:

  1. Navigate to the Configuration context using the conf term command.
    SLX# conf term
    SLX(config)#
  2. Use the resilient-hash command to configure.
    SLX (config)# resilient-hash ?
    Possible completions:
        ecmp        Resilient hash ECMP
        max-path    Resilient hash max path (8|16|64)
    
    SLX (config)# resilient-hash ecmp ?
    Possible completions:
        enable      Enable resilient hash ECMP
    
    SLX (config)# resilient-hash ecmp enable
  3. Configure the max-path value.

    The default max-path value is 8. You can choose to use 8, 16, or 64 paths.

    SLX (config)# resilient-hash ?
    Possible completions:
        ecmp        Resilient hash ECMP
        max-path    Resilient hash max path (8|16|64)
    
    SLX (config)# resilient-hash max-path 8
    SLX (config)#
  4. Verify the configuration using the show ip route system-summary command.
    SLX # show ip route system-summary
    System Route Count: 10 Max routes: 358400 (Route limit not exceeded)
    System Nexthop Count: 2 Max nexthops: 4000 (Nexthop limit not exceeded)
    One Path Nexthop Count: 1 Max One Path Nexthops: 48000
    RH Flowset Entries: 2816 Max 32768 (Flowset limit not exceeded)
    
    VRF-Name: default-vrf
        Route count: 0 Max routes: Not Set (Route limit not exceeded)
        0 connected, 0 static, 0 OSPF, 0 BGP, 0 ISIS, 0 unnumbered, 0 EVPN Host
        Resilient Hashing (Flowset Sz: 128, Max RH Paths: 8, RH Nexthops: 12)
        
    VRF-Name: mgmt-vrf
        Route count: 3 Max routes: Not Set (Route limit not exceeded)
        1 connected, 1 static, 0 OSPF, 0 BGP, 0 ISIS, 0 unnumbered, 0 EVPN Host
    
    VRF-Name: vrf2
        Route count: 7 Max routes: Not Set (Route limit not exceeded)
        2 connected, 2 static, 0 OSPF, 1 BGP, 0 ISIS, 0 unnumbered, 0 EVPN Host
        Resilient Hashing (Flowset Sz: 128, Max RH Paths: 16, RH Nexthops: 10)
    
    VRF-Name: vrf3
        Route count: 7 Max routes: Not Set (Route limit not exceeded)
        2 connected, 2 static, 0 OSPF, 1 BGP, 0 ISIS, 0 unnumbered, 0 EVPN Host
    
    SLX #