Supported Platforms
family inet
Syntax
Hierarchy Level
Release Information
Statement introduced before Junos OS Release 7.4.
Description
Configure layer information for the load-balancing specification. Only the IPv4 protocol is supported.
Options
family inet—Incorporate port data into the hash key for flow determination. By default, port data is ignored when determining flows.
- layer-3—Incorporate Layer 3 (IP)
data into the hash key. You must include the layer-3 statement.
If you omit the layer-3 statement, the management process
removes the hash-key statement from the configuration and
the router behaves as if you specified layer-3.
By default, or if you specify only the layer-3 statement, the router uses the following Layer 3 information in the packet header for per-flow load balancing:
- Source IP address
- Destination IP address
- Protocol
- Incoming interface index
- layer-4—Incorporate Layer 4 Transmission
Control Protocol (TCP) or User Datagram Protocol (UDP) data into the
hash key.
If you include the layer-4 statement, the router uses the following Layer 4 information to load-balance:
- Source port number
- Destination port number
- IP type of service
- session-id—Include the session ID in the hash key.
- symmetric-hash—Create the symmetric hash
key with source and destination ports.
- complement—Create the complement of the symmetric hash key.
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.