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:.

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.

  1. Configure the link interface.
    host1(config)#interface atm 2/0
  2. 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
  3. 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.

  1. Configure the MLPPP bundle.
    host1(config)#interface mlppp group1
  2. 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

  1. From Global Configuration mode, create a profile by assigning it a name, and access Profile Configuration mode.
    host1(config)#profile dynamicMlppp
  2. Enable the creation of dynamic MLPPP interfaces.
    host1(config-profile)#ppp multilink enable
  3. Enable use of hash-based algorithm on a dynamic MLPPP interface.
    host1(config-subif)#ppp hash-link-selection

Related Documentation