Fortinet white logo
Fortinet white logo

Hardware Acceleration

config sw-eh-hash

config sw-eh-hash

You can use the following command to configure switch enhanced hashing.

config system npu

config sw-eh-hash

set computation {xor16 | xor8 | xor4 | crc16}

set ip-protocol {exclude | include}

set source-ip-upper-16 {exclude | include}

set source-ip-lower-16 {exclude | include}

set destination-ip-upper-16 {exclude | include}

set destination-ip-lower-16 {exclude | include}

set source-port {exclude | include}

set destination-port {exclude | include}

set tnetmask-length <length>

end

computation set the hashing computation method.

  • xor16 use XOR operator to make 16-bit hashes. The default hashing computation.

  • xor8 use XOR operator to make 8-bit hashes.

  • xor4 use XOR operator to make 4-bit hashes.

  • crc16 use CRC-16-CCITT polynomial to make 16-bit hashes.

ip-protocol include (the default) or exclude the IP protocol when calculating the hash.

source-ip-upper-16 include (the default) or exclude the source IP address upper 16 bits when calculating the hash.

source-ip-lower-16 include (the default) or exclude the source IP address lower 16 bits when calculating the hash.

destination-ip-upper-16 include (the default) or exclude the destination IP address upper 16 bits when calculating the hash.

destination-ip-lower-16 include (the default) or exclude the destination IP address lower 16 bits when calculating the hash.

source-port include (the default) or exclude the source port if TCP/UDP when calculating the hash.

destination-port include (the default) or exclude the destination port got TCP or UDP traffic when calculating the hash.

netmask-length set the network mask length. Range 17 to 32. Default 32.

config sw-eh-hash

config sw-eh-hash

You can use the following command to configure switch enhanced hashing.

config system npu

config sw-eh-hash

set computation {xor16 | xor8 | xor4 | crc16}

set ip-protocol {exclude | include}

set source-ip-upper-16 {exclude | include}

set source-ip-lower-16 {exclude | include}

set destination-ip-upper-16 {exclude | include}

set destination-ip-lower-16 {exclude | include}

set source-port {exclude | include}

set destination-port {exclude | include}

set tnetmask-length <length>

end

computation set the hashing computation method.

  • xor16 use XOR operator to make 16-bit hashes. The default hashing computation.

  • xor8 use XOR operator to make 8-bit hashes.

  • xor4 use XOR operator to make 4-bit hashes.

  • crc16 use CRC-16-CCITT polynomial to make 16-bit hashes.

ip-protocol include (the default) or exclude the IP protocol when calculating the hash.

source-ip-upper-16 include (the default) or exclude the source IP address upper 16 bits when calculating the hash.

source-ip-lower-16 include (the default) or exclude the source IP address lower 16 bits when calculating the hash.

destination-ip-upper-16 include (the default) or exclude the destination IP address upper 16 bits when calculating the hash.

destination-ip-lower-16 include (the default) or exclude the destination IP address lower 16 bits when calculating the hash.

source-port include (the default) or exclude the source port if TCP/UDP when calculating the hash.

destination-port include (the default) or exclude the destination port got TCP or UDP traffic when calculating the hash.

netmask-length set the network mask length. Range 17 to 32. Default 32.