Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

Example: Configuring Fragmentation by Forwarding Class

date_range 19-Feb-21

This example shows you how to configure fragmentation maps for specific forwarding classes on Multiservices PICs or Services PICs.

Requirements

This example uses the following hardware and software components:

  • Multiservices PIC or Services PIC.

Overview

Configure two logical units on an LSQ interface. The logical units use two different fragmentation maps.

Configuration

To configure fragmentation maps for specific forwarding classes, perform these tasks:

CLI Quick Configuration

To quickly configure this example, copy the following commands, paste them in a text file, remove any line breaks, change any details necessary to match your network configuration, and then copy and paste the commands into the CLI at the [edit] hierarchy level:

Define the Fragmentation Maps

content_copy zoom_out_map
set class-of-service fragmentation-maps frag-map-A forwarding-class AF no-fragmentation
set class-of-service fragmentation-maps frag-map-A forwarding-class EF no-fragmentation
set class-of-service fragmentation-maps frag-map-A forwarding-class BE fragment-threshold 100
set class-of-service fragmentation-maps frag-map-B forwarding-class EF fragment-threshold 200
set class-of-service fragmentation-maps frag-map-B forwarding-class BE fragment-threshold 200
set class-of-service fragmentation-maps frag-map-B forwarding-class AF fragment-threshold 200

Associate the Fragmentation Map with an Interface

content_copy zoom_out_map
set class-of-service interfaces lsq-1/0/0 unit 1 fragmentation-map frag-map-A
set class-of-service interfaces lsq-1/0/0 unit 2 fragmentation-map frag-map-B

Define the Fragmentation Maps

Step-by-Step Procedure

The following example requires you to navigate various levels in the configuration hierarchy. For information about navigating the CLI, see Using the CLI Editor in Configuration Mode in the CLI User Guide.

To define the fragmentation maps:

  1. Specify a name for the first fragmentation map.

    content_copy zoom_out_map
    [edit]
    user@host# edit class-of-service fragmentation-maps frag-map-A
    
  2. Define the first fragmentation map.

    1. Define the fragmentation properties for the AF forwarding class to be interleaved, rather than fragmented.

      content_copy zoom_out_map
      [edit class-of-service fragmentation-maps frag-map-A]
      user@ost# set forwarding-class AF no-fragmentation
      
    2. Define the fragmentation properties for the EF forwarding class to be interleaved, rather than fragmented.

      content_copy zoom_out_map
      [edit class-of-service fragmentation-maps frag-map-A]
      user@ost# set forwarding-class EF no-fragmentation
      
    3. Define the fragmentation properties for the BE forwarding class to be fragmented.

      content_copy zoom_out_map
      [edit class-of-service fragmentation-maps frag-map-A]
      user@ost# set forwarding-class BE fragment-threshold 100
      
  3. Define the second fragmentation map.

    1. Specify a name for the second fragmentation map.

      content_copy zoom_out_map
      [edit class-of-service fragmentation-maps]
      user@host# edit frag-map-B
      
    2. Define the fragmentation properties for the EF forwarding class to be fragmented.

      content_copy zoom_out_map
      [edit class-of-service fragmentation-maps frag-map-B]
      user@ost# set forwarding-class EF fragment-threshold 200
      
    3. Define the fragmentation properties for the BE forwarding class to be fragmented.

      content_copy zoom_out_map
      [edit class-of-service fragmentation-maps frag-map-B]
      user@ost# set forwarding-class BEfragment-threshold 200
      
    4. Define the fragmentation properties for the AF forwarding class to be fragmented.

      content_copy zoom_out_map
      [edit class-of-service fragmentation-maps frag-map-B]
      user@ost# set forwarding-class AF fragment-threshold 200
      

Results

Verify the configuration of the fragmentation maps and forwarding classes.

content_copy zoom_out_map
[edit class-of-service fragmentation-maps]
user@host# show 
frag-map-A {
    forwarding-class {
        AF {
            no-fragmentation;
        }
        EF {
            no-fragmentation;
        }
        BE {
            fragment-threshold 100;
        }
    }
}
frag-map-B {
    forwarding-class {
        EF {
            fragment-threshold 200;
        }
        BE {
            fragment-threshold 200;
        }
        AF {
            fragment-threshold 200;
        }
    }
}

Associate the Fragmentation Maps with the MLPPP Interface

Step-by-Step Procedure

To associate a fragmentation map with an interface:

  1. Associate each fragmentation map with a logical interface.

    content_copy zoom_out_map
    [edit]
    user@host# edit class-of-service interfaces lsq-1/0/0
    user@host# set unit 1 fragmentation-map frag-map-A
    user@host# set unit 2 fragmentation-map frag-map-B
    

Results

Verify that the fragmentation maps are associated with the interfaces.

content_copy zoom_out_map
[edit class-of-service]
user@host# show
interfaces {
 lsq-1/0/0 {
        unit 1 {
            fragmentation-map frag-map-A;
        }
        unit 2 {
            fragmentation-map frag-map-B;
        }
    }

Verification

Verifying the Fragmentation Properties

Purpose

Verify the fragmentation properties for specific forwarding classes.

Action

The following output displays the fragmentation properties and forwarding class association.

content_copy zoom_out_map
user@host> show class-of-service fragmentation-map
  Fragmentation map: frag-map-A, Index: 19801
    Forwarding class: AF
    No Fragmentation
    
	 Forwarding class: EF
    No Fragmentation

    Forwarding class: BE
    Fragmentation threshold: 100

  Fragmentation map: frag-map-B, Index: 19855
    Forwarding class: EF
    Fragmentation threshold: 200
    
	 Forwarding class: BE
    Fragmentation threshold: 200

    Forwarding class: AF
    Fragmentation threshold: 200

Meaning

The output shows the forwarding class associated with each fragmentation map, as well as the fragmentation properties associated with the forwarding class.

footer-navigation