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
     

    Related Documentation

     

    Example: Configuring Segmented and Interpolated Style Profiles

    This example shows how to configure segmented and interpolated style profiles.

    Requirements

    No special configuration beyond device initialization is required before configuring this feature.

    Overview

    In this example, you configure the segmented style profile by setting the drop probability to 25 percent when the queue is 25 percent full. The drop probability increases to 50 percent when the queue is 50 percent full. You set the drop probability to 75 percent when the queue is 75 percent full and finally the drop probability is set to 95 percent when the queue is 100 percent full.

    Then you configure the interpolated style profile and set the fill level to 50 percent and 75 percent. Finally you set the drop probability to 25 percent and later to 50 percent.

    Configuration

    Configuring Segmented Style Profiles

    CLI Quick Configuration

    To quickly configure segmented style profiles, copy the following commands and paste them into the CLI:

    [edit]set class-of-service drop-profiles segmented-style-profile fill-level 25 drop-probability 25set class-of-service drop-profiles segmented-style-profile fill-level 50 drop-probability 50 set class-of-service drop-profiles segmented-style-profile fill-level 75 drop-probability 75 set class-of-service drop-profiles segmented-style-profile fill-level 95 drop-probability 100

    Step-by-Step Procedure

    The following example requires you to navigate various levels in the configuration hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration Mode.

    To configure segmented style profiles:

    1. Configure class of service.
      [edit]user@host# edit class-of-service
    2. Configure segmented style profile.
      [edit class-of-service]user@host# edit drop-profiles segmented-style-profile
    3. Specify fill levels and drop probabilities.
      [edit class-of-service drop-profiles segmented-style-profile]user@host# set fill-level 25 drop-probability 25user@host# set fill-level 50 drop-probability 50user@host# set fill-level 75 drop-probability 75user@host# set fill-level 95 drop-probability 100

    Results

    From configuration mode, confirm your configuration by entering the show class-of-service command. If the output does not display the intended configuration, repeat the configuration instructions in this example to correct it.

    [edit]
    user@host# show class-of-servicedrop-profiles {segmented-style-profile {fill-level 25 drop-probability 25;fill-level 50 drop-probability 50;fill-level 75 drop-probability 75;fill-level 95 drop-probability 100;}}

    If you are done configuring the device, enter commit from configuration mode.

    Configuring Interpolated Style Profiles

    CLI Quick Configuration

    To quickly configure interpolated style profiles, copy the following commands and paste them into the CLI:

    [edit]set class-of-service drop-profiles interpolated-style-profile interpolate fill-level 50set class-of-service drop-profiles interpolated-style-profile interpolate fill-level 75 set class-of-service drop-profiles interpolated-style-profile interpolate drop-probability 25 set class-of-service drop-profiles interpolated-style-profile interpolate drop-probability 50

    Step-by-Step Procedure

    The following example requires you to navigate various levels in the configuration hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration Mode.

    To configure interpolated style profile:

    1. Configure class of service.
      [edit]user@host# edit class-of-service
    2. Configure interpolated style profile.
      [edit class-of-service]user@host# edit drop-profiles interpolated-style-profile interpolate
    3. Specify fill levels.
      [edit class-of-service drop-profiles interpolated-style-profile interpolate]user@host# set fill-level 50user@host# set fill-level 75
    4. Specify drop probabilities.
      [edit class-of-service drop-profiles interpolated-style-profile interpolate]user@host# set drop-probability 25user@host# set drop-probability 50

    Results

    From configuration mode, confirm your configuration by entering the show class-of-service command. If the output does not display the intended configuration, repeat the configuration instructions in this example to correct it.

    [edit]
    user@host# show class-of-servicedrop-profiles {interpolated-style-profile {fill-level [ 50 75 ];drop-probability [ 25 50 ];}}}

    If you are done configuring the device, enter commit from configuration mode.

    Verification

    To confirm that the configuration is working properly, perform these tasks:

    Verifying Segmented Style Profile Configuration

    Purpose

    Verify that the segmented style profile is configured properly.

    Action

    From configuration mode, enter the show class-of-service command.

    Verifying Interpolated Style Profile Configuration

    Purpose

    Verify that the interpolated style profile is configured properly.

    Action

    From configuration mode, enter the show class-of-service command.

     

    Related Documentation

     

    Published: 2013-11-07