Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Example: Configuring Drop Profile Maps

    A drop-profile map associates a tail-drop profile for traffic of a specified loss priority with a scheduler. When you use a scheduler map to map a scheduler to a forwarding class, the drop profile map associated with the scheduler applies the specified tail-drop profile to traffic in the forwarding class that matches the specified loss priority.

    Requirements

    This example uses the following hardware and software components:

    • A Juniper Networks QFX3500 Switch
    • Junos OS Release 11.1 or later for the QFX Series

    Overview

    Drop profile maps enable you to configure different drop profiles for traffic of different loss priorities within the same scheduler. You can associate different drop profiles with low-priority, medium-high priority, and high-priority traffic within a single scheduler, and then map that scheduler to a forwarding class. This applies the appropriate drop profile to traffic of each loss priority in a forwarding class. Drop profile maps apply to all traffic protocols.

    The following example describes how to configure a drop profile map for a scheduler named mylan that includes:

    • A drop profile called lp-profile for low-priority traffic
    • A drop profile called mh-profile for medium-high priority traffic
    • A drop profile called h-profile for high-priority traffic

    You apply the drop profiles in the drop profile map to a forwarding class by associating the scheduler mylan with a forwarding class in a scheduler map.

    Configuring a Drop Profile Map

    Step-by-Step Procedure

    1. Configure the drop profile for low-priority traffic:
      [edit class-of-service]
      user@switch# set schedulers mylan drop-profile-map loss-priority low protocol any drop-profile lp-profile
    2. Configure the drop profile for medium-high priority traffic:
      [edit class-of-service]
      user@switch# set schedulers mylan drop-profile-map loss-priority medium-high protocol any drop-profile mh-profile
    3. Configure the drop profile for high-priority traffic:
      [edit class-of-service]
      user@switch# set schedulers mylan drop-profile-map loss-priority high protocol any drop-profile h-profile

    Verification

    Verifying the Drop Profile Map Configuration

    Purpose

    Verify that you configured the drop profile map for the scheduler mylan with the correct loss priorities and drop profiles.

    Action

    Verify the results of the drop profile map configuration using the operational mode command show configuration class-of-service schedulers mylan:

    user@switch> show configuration class-of-service schedulers mylan
    transmit-rate 3g;
    shaping-rate percent 100;
    priority low;
    drop-profile-map loss-priority low protocol any drop-profile lp-profile;
    drop-profile-map loss-priority medium-high protocol any drop-profile mh-profile;
    drop-profile-map loss-priority high protocol any drop-profile h-profile;
    

    Note: This example does not include configuring scheduler bandwidth and priority. This information (transmit rate, shaping rate, and priority) is shown for completeness.

    Published: 2013-08-15