set interface ecmp hash-mapping field ingress-interface disable


In the default setting, all fields are hashed by"ip-source," "port-destination," "port-source," and "vlan." Users can also enable additional fields like ingress-interface.

NOTE:

EVPN multihoming aliasing function uses the ECMP hash fields "ingress-interface","ip-destination", "ip-source," "port-destination," "port-source," and "vlan" for equivalent paths calculation. By default, all these fields are enabled. Users can run the following CLI commands to enable or disable the ECMP hash fields:

set interface ecmp hash-mapping field ingress-interface disable
set interface ecmp hash-mapping field ip-destination disable
set interface ecmp hash-mapping field ip-protocol disable
set interface ecmp hash-mapping field ip-source disable
set interface ecmp hash-mapping field port-destination disable
set interface ecmp hash-mapping field port-source disable
set interface ecmp hash-mapping field vlan disable


Command Syntax
set interface ecmp hash-mapping field ingress-interface disable <bool>
delete interface ecmp hash-mapping field ingress-interface disable


Parameter
•<bool> disable including the field

  • true disable ingress-interface
  • false enable ingress-interface. This is the default value.


Example
• This example is to enable ingress interface:

admin@XorPlus# set interface ecmp hash-mapping field ingress-interface disable false
admin@XorPlus# commit 

Copyright © 2024 Pica8 Inc. All Rights Reserved.