Configuring Resilient Hashing

To configure resilient hashing, perform the following tasks:
  1. Enter the global configuration mode.
    device# configure terminal
  2. Create a static or dynamic LAG.
    device(config)# lag test static id 11
  3. Add ports to the LAG.
    device(config-lag-test)# ports ethernet 1/1/1 to 1/1/3
  4. 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.

  • Scenario 1: You configure symmetric load balancing on a device that also has resilient hashing enabled.
    Warning: system has resilient-hash lags, symmetric hashing may not work for RH lags.
  • Scenario 2: You deploy a 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>