Configuring resilient hashing

To configure resilient hashing, perform the following tasks:
  1. Create a static or dynamic LAG using the existing LAG command line interfaces.
    
    device(config)# lag test static   
    device(config-lag-test)# ports ethernet 1/1/1 to 1/1/3
  2. In the LAG mode, enter the trunk-type command to enable resilient hashing on the LAG.
    
    device(config-lag-test)# trunk-type resilient-hash
    

The following example enables resilient hashing on the "test" LAG.

device(config)# lag test static id 11   
device(config-lag-test)# ports ethernet 1/1/1 to 1/1/3
device(config-lag-test)# trunk-type resilient-hash
The following warning messages are displayed when symmetric hashing and resilient hashing exist together in the system.
  • User configures symmetric load balancing on a device that also has the resilient hashing enabled.
    Warning: system has resilient-hash lags, symmetric hashing may not work for RH lags.
  • User deploys resilient hashing LAG on a device that already has symmetric hashing enabled.
    Warning: system has symmetric hashing enabled, symmetric hashing may not work on resilient-hash lag <LAG_NAME>