show running-config lag
hash
Displays non-default LAG hash
values.
Syntax
show running-config lag hash
[
bos
]
[
hdr-count
]
[
hdr-start
]
[
normalize]
[
pwctrlword
]
[
rotate
]
[
speculate-mpls
]
[
srcport
]
Parameters
- bos
- (DNX devices only)
Ignore the entire MPLS
label stack and pick only the BOS label for hashing.
- hdr-count
count
- Specifies the number of
headers to be considered for LAG hashing. Values range from 1 through 3. The
default is 1.
- hdr-start
- Specifies where to start
picking headers for the key
generation.
- normalize
- (DNX devices only) Configures using the same
hash in both
directions. The default
is disabled.
- pwctrlword
- (DNX devices only) Include or exclude the PW
control word in
hashing.
- rotate
rotate-number
- (DNX devices only) Specify hashing
randomness. Values range from 0 through 15. The default is 3.
- speculate-mpls
- (DNX devices only) Enable MPLS speculate or
Ethernet/IP.
- srcport
- Includes the source port in
the hashing configuration. The default is not to include it.
Modes
Privileged EXEC mode
Usage Guidelines
To display all configured values (including defaults), enter the show
port-channel load-balance command.
Examples
The following example displays the output of the basic show running-config lag
hash command.
device# show running-config lag hash
lag hash hdr-start term
lag hash hdr-count 2
lag hash srcport