fabric advanced-hash
Required Command-Line Mode = Configure
Use the fabric advanced-hash command to select the criteria for advanced-hashing behavior on stack GigaStreams and GigaSMART groups. You can configure fabric-advanced hash at the chassis level.
The fabric advanced-hash command is supported on the following platforms:
GigaVUE‑HC1 |
GigaVUE-HCT |
GigaVUE‑HC1-Plus |
GigaVUE‑HC3-v2 |
GigaVUE‑TA25 |
GigaVUE‑TA25E |
GigaVUE‑TA200 |
GigaVUE‑TA200E |
GigaVUE‑TA400 |
The fabric advanced-hash command has the following syntax:
fabric advanced-hash
all box-id
default
fields
ethertype
gtpteid
ip6dst
ip6nextHeader
ip6src
ipdst
ipsrc
macdst
macsrc
mpls
port6dst
port6src
portdst
portsrc
protocol
ingressport
none
The following table describes the arguments for the fabric advanced-hash command:
Argument |
Description |
||||||||||||||||||||||||||||||||||||||||||||||||
box-id |
Identifies the chassis to which the advanced-hash algorithm will apply. (config) # fabric advanced-hash box-id 12 |
||||||||||||||||||||||||||||||||||||||||||||||||
all |
Enables all hash criteria fields, including Layer 2, Layer 3, and Layer 4 fields. Note: When both Layer 3 (IPv4 or IPv6) and Layer 2 (MAC) fields are enabled for a GigaStream, the hashing behavior depends on the type of incoming traffic. For incoming Layer 3 packets where both Layer 3 (IPv4 or IPv6) fields and Layer 2 (MAC) fields have incremental values, Layer 3 takes precedence. In this case, hashing is performed based on the IPv4 or IPv6 fields, and the MAC fields are not used for hashing. However, for incoming Layer 2 packets that only have incremental MAC addresses, hashing is performed based solely on the MAC fields. Note: When both Layer 3 (IPv4) and Layer 2 (MAC) fields are enabled for a GigaStream, the hashing behavior varies based on the packet type. For incoming Layer 3 IPv4 packets with incremental IPv4 and MAC fields, Layer 3 takes precedence, and hashing is performed based on the IPv4 fields, not the MAC fields. For incoming Layer 3 IPv6 packets with incremental IPv6 and MAC fields, hashing is performed based on the MAC fields. In the case of incoming Layer 2 packets with incremental MAC fields, hashing is also based on the MAC fields. Note: When both Layer 3 (IPv6) and Layer 2 (MAC) fields are enabled for a GigaStream, the hashing behavior is determined by the type of incoming traffic. For incoming Layer 3 IPv6 packets with incremental IPv6 and MAC fields, Layer 3 takes precedence, and hashing is performed based on the IPv6 fields rather than the MAC fields. For incoming Layer 3 IPv4 packets with incremental IPv4 and MAC fields, hashing is performed based on the MAC fields. Similarly, for incoming Layer 2 packets with incremental MAC fields, hashing is also based on the MAC fields. (config) # fabric advanced-hash all |
||||||||||||||||||||||||||||||||||||||||||||||||
default |
Sets the advanced-hash algorithm to its default settings. By default, the advanced-hash algorithm includes source/destination IPv4/IPv6 addresses and ports (ipsrc, ipdst, ip6src, ip6dst, protocol). For example: (config) # fabric advanced-hash default |
||||||||||||||||||||||||||||||||||||||||||||||||
fields |
(config) # fabric advanced-hash fields <fields> Specifies the hash criteria. Includes the following options:
Note: Layer 2 hash criteria (ethertype, macdst, and macsrc) are only honored for Layer 2 packets. They are not used to hash TCP/IP packets. ipsrc, ipdst, ip6src, and ip6dst fields inside an MPLS tunnel can also be used for hashing across GigaStream ports. GTP TEID can also be used for hashing across GigaStream ports. ingress port can also be used for hashing across GigaStream ports. |
||||||||||||||||||||||||||||||||||||||||||||||||
none |
Clears all fields from the advanced hash. For example: (config) # fabric advanced-hash box-id 12 none |
Related Commands
The following table summarizes the command related to the fabric advanced-hash command:
Task |
Command |
Displays fabric advanced hash fields for stack GigaStream or gsports |
show fabric advanced-hash |
Displays fabric advanced hash fields for all the chassis in a table format |
show fabric advanced-hash brief |
Displays fabric advanced hash fields for a specified box ID |
show fabric advanced-hash box-id 24 |
Displays fabric advanced hash fields for a specified box ID in a table format |
show fabric advanced-hash box-id 24 brief |
Note: If the chassis is part of a cluster, then the following show commands will display the fabric advanced hash fields for all the boxes in the cluster:
show fabric advanced-hash
show fabric advanced-hash brief