For instance, if you want the hashing algorithm to ignore the Layer 4 destination port,
Layer 4 source port, and protocol fields and instead hash traffic based only on the
IPv4 source and destination addresses:
[edit forwarding-options enhanced-hash-key]
user@switch# set inet no-l4-destination-port no-l4-source-port no-protocol
Configuring the Hashing Algorithm to Use Fields in the IPv6 Payload for Hashing
To configure the hashing algorithm to use fields in the IPv6 payload for hashing:
1. Configure the hash mode to Layer 2 payload:
[edit forwarding-options enhanced-hash-key]
user@switch# set hash-mode layer2-payload
The IPv6 payload is not checked by the hashing algorithm unless the hash mode is
set to Layer 2 payload. The default hash mode is Layer 2 payload.
2. Configure the fields in the IPv6 payload that the hashing algorithm uses for hashing:
[edit forwarding-options enhanced-hash-key]
user@switch# set inet6 {no-ipv6-destination-address | no-ipv6-source-address |
no-l4-destination-port | no-l4-source-port | no-next-header | vlan-id}
For instance, if you want the hashing algorithm to ignore the Layer 4 destination port,
Layer 4 source port, and the Next Header fields and instead hash traffic based only
on the IPv6 source and IPv6 destination address fields only:
[edit forwarding-options enhanced-hash-key]
user@switch# set inet6 no-l4-destination-port no-l4-source-port no-next-header
Related
Documentation
Understanding the Algorithm Used to Hash LAG Bundle and Egress Next-Hop ECMP
Traffic on page 11
•
• Understanding Aggregated Ethernet Interfaces and LACP on page 8
Configuring Tagged Aggregated Ethernet Interfaces
To specify aggregated Ethernet interfaces, include the vlan-tagging statement at the
[edit interfaces aex] hierarchy level:
[edit interfaces aex]
vlan-tagging;
You must also include the vlan-id statement:
vlan-id number;
You can include this statement at the following hierarchy levels:
•
[edit interfaces interface-name unit logical-unit-number]
•
[edit logical-systems logical-system-name interfaces interface-name unit
logical-unit-number]
For more information about the vlan-tagging and vlan-id statements, see “802.1Q VLANs
Overview” on page 26.
Copyright © 2015, Juniper Networks, Inc.96
Network Interfaces for EX4300 Switches