Configuring Resilient Hashing for User Created VRF

Describes the process of configuring Resilient Hashing on SLX devices.

About this task

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

Procedure

  1. Navigate to the Configuration context using the conf term command.
    SLX# conf term
    SLX(config)#
  2. Navigate into the VRF that you want to apply Resilient Hashing to.
    SLX (config)# vrf vrf2
    SLX (config-vrf-vrf2)# ?
    Possible completions:
        address-family Enter Address Family command mode
        describe Display transparent command information
        do Run an operational-mode command
        evpn VRF EVPN config
        exit Exit from current mode
        help Provide help information
        ip VRF specific IP commands
        no Negate a command or set its defaults
        pwd Display current mode path
        rd Configure Route Distinguisher
        resilient-hash Resilient hash
        top Exit to top level and optionally run command
        vpn-statistics VPN Statistics
    
  3. Use the resilient-hash command to configure.
    SLX (config-vrf-vrf2)# resilient-hash ?
    Possible completions:
        ecmp        Resilient hash ECMP
        max-path    Resilient hash max path (8|16|64)
    
    SLX (config-vrf-vrf2)# resilient-hash ecmp ?
    Possible completions:
        enable      Enable resilient hash ECMP
    
    SLX (config-vrf-vrf2)# resilient-hash ecmp enable
    SLX (config-vrf-vrf2)#
  4. Optional: If required, configure the max-path value.

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

    SLX (config-vrf-vrf2)# resilient-hash ?
    Possible completions:
        ecmp        Resilient hash ECMP
        max-path    Resilient hash max path (8|16|64)
    
    SLX (config-vrf-vrf2)# resilient-hash max-path 8
    SLX (config-vrf-vrf2)#
  5. Verify the configuration using the do show run vrf <vrf-name> command.
    SLX (config-vrf-vrf2)# do show run vrf vrf2
    vrf vrf2
        resilient-hash ecmp enable
        resilient-hash max-path 8 
        address-family ipv4 unicast
        !
    !
    
  6. You can also verify the configuration using the show ip route system-summary command.
    SLX (config-vrf-vrf2)# 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 (config-vrf-vrf2)#