Configuring Trunk Hashing


 By default, NetVisor OS supports the trunk hashing algorithm based on the fields listed in the About Layer 2 Hardware Hashing section (Table 4-1).


Starting from NetVisor OS release 6.1.0, this default mode is called enhanced hashing. Starting from the same release, NetVisor OS also supports other less granular hashing modes that can be useful in special cases. The supported alternate modes are:


l2-src   src mac based hashing

l2-dst   dst mac based hashing

l2       src+dst mac based hashing

l3-src   src ip based bashing

l3-dst   dst ip based hashing

l3       src+dst ip based hashing


They can be selected with the new hash-mode parameter in the trunk-create and trunk-modify commands. For example like so:


CLI (network-admin@switch) > trunk-modify name trunk1 hash-mode l3


The mode can be verified with the trunk-show command:


CLI (network-admin@switch) > trunk-show format name,trunk-id,ports,hash-mode,status


name                 trunk-id ports hash-mode status

-------------------- -------- ----- --------- ----------------------------------------

trunk1               272      65-68 l3        up,PN-switch,PN-cluster,multicast-router

vxlan-loopback-trunk 397      13-16 enhanced  up,stp-edge-port

north
    keyboard_arrow_up
    keyboard_arrow_down
    description
    print
    feedback
    support
    business
    rss_feed
    south