Example: Configuring Hash-Based MLPPP Link Selection
This example shows you how to configure hash-based MLPPP link selection.
Requirements
This example uses the following software and hardware components:.
- E Series router (ERX7xx models, ERX14xx models, the ERX310 router, the E120 router, or the E320 router)
- ASIC-based line modules that support Fast Ethernet or Gigabit Ethernet
- JunosE Release 7.1.0 or higher-numbered releases
Overview
A hash-based algorithm is used to select the link on which the router transmits non-best-effort (high-priority) packets, such as voice or video, on the dynamic MLPPP interfaces created by the profile. Using hash-based link selection instead of the default round-robin link selection for non-best-effort traffic ensures that the router maintains the proper packet order when transmitting high-priority packets. When you configure hash-based link selection, the router uses the IP source address and IP destination address of the packet as a hash to select the MLPPP member link on which to transmit the packet.
![]() | Note: Hash-based MLPPP link selection is available only for non-best-effort traffic. |
Configuring Hash-Based MLPPP Link Selection
Step-by-Step Procedure
The following example creates a hash-based MLPPP link selection for an individual MLPPP member link interface.
- Configure the link interface.host1(config)#interface atm 2/0
- Configure the virtual circuit parameters such as the virtual
circuit ID and encapsulation for the link interface.host1(config-subif)#atm pvc 42 0 42 aal5snap
- Configure MLPPP as the encapsulation method on the interface
and enables use of a hash-based algorithm on the MLPPP interface.host1(config-subif)#encapsulation mlppp host1(config-subif)#ppp hash-link-selection
For All Current Member Links In An MLPPP Bundle
Step-by-Step Procedure
The following commands configure hash-based MLPPP link selection for all current member links in the MLPPP bundle (group1). Doing this has the same effect as issuing the ppp hash-link-selection command separately for each member link in the bundle.
- Configure the MLPPP bundle.host1(config)#interface mlppp group1
- Enable use of a hash-based algorithm to select the link
on which the router transmits high-priority (non-best-effort) packets,
such as voice or video, on the MLPPP bundle interface.host1(config-if)#ppp hash-link-selection
For All Dynamic MLPPP Links
Step-by-Step Procedure
The following commands configure hash-based MLPPP link selection for all dynamic MLPPP interfaces created by the profile named dynamicMlppp
- From Global Configuration mode, create a profile by assigning
it a name, and access Profile Configuration mode.host1(config)#profile dynamicMlppp
- Enable the creation of dynamic MLPPP interfaces.host1(config-profile)#ppp multilink enable
- Enable use of hash-based algorithm on a dynamic MLPPP
interface.host1(config-subif)#ppp hash-link-selection
Hide Navigation Pane
Show Navigation Pane
SHA1
