Skip to main content
Viptela is now part of Cisco.
Support
Product Documentation
Viptela Documentation

ecmp-hash-key

vpn ecmp-hash-key—Determine how equal-cost paths are chosen (on vEdge routers only). By default, a combination of the source IP address, destination IP address, protocol, and DSCP field is used as the ECMP hash key to determine which of the equal cost paths to choose.

vManage Feature Template

For vEdge routers only:

Configuration ► Templates ► VPN

Command Hierarchy

vpn vpn-id
  ecmp-hash-key layer4

Options

Use the Layer 4 Source and Destination Ports in the ECMP Hash Key
layer4
Use a combination of the Layer 4 source port and Layer 4 destination port, in addition to the combination of the source IP address, destination IP address, protocol, and DSCP field​, as the ECMP hash key. Note that this flag should be enabled only in networks where it can be guaranteed that there will never be IP fragmentation. Otherwise, enabling this could lead to out-of-order packets.

Operational Commands

show running-config vpn

Example

Use the Layer 4 source and destination ports in the EMCP hash key:

vEdge(config-vpn-1)# ecmp-hash-key layer4
vEdge(config-vpn-1)# show config
vpn 1
 ecmp-hash-key layer4
!

Release Information

Command introduced in Viptela Software Release 14.1.​

Additional Information

See the Segmentation (VPN) Overview and Segmentation (VPN) Configuration Examples articles for your software release.

  • Was this article helpful?