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
Interfaces User Guide for Security Devices
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

Configuring Compressed Real-Time Transport Protocol

date_range 20-Dec-24

Compressed Real-Time Transport Protocol (CRTP) is typically used for compressing voice and video packets. The topics below discuss the overview of CRTP and its configuration details.

Understanding Compressed Real-Time Transport Protocol

Compressed Real-Time Transport Protocol (CRTP) is typically used for compressing voice and video packets. You can configure CRTP with LFI on a link services interface.

CRTP can be configured as a compression device on a T1 or E1 interface with PPP encapsulation, using the link services interface.

Note:
  • F-max period—Maximum number of compressed packets allowed between transmission of full headers. It has a range from 1 to 65,535.

  • Maximum and Minimum—UDP port values from 1 to 65,536 reserve these ports for RTP compression. CRTP is applied to network traffic on ports within this range. This feature is applicable only to voice services interfaces.

Example: Configuring the Compressed Real-Time Transport Protocol

This example shows how to configure CRTP to improve packet transmission, especially for time-sensitive voice packets.

Requirements

Before you begin, you should have two Juniper Networks devices configured with at least two serial interfaces that communicate over serial links.

Overview

In this example, you create a T1 interface called t1-1/0/0 and set the type of encapsulation to PPP. You set the link services intelligent queuing interface to lsq-0/0/0.0. You then create an interface called lsq-0/0/0 and set the logical unit 0. Finally, you set the F-max period to 2500, the minimum UDP port value to 2000, and the maximum UDP port value to 64009.

Configuration

Procedure

CLI Quick Configuration

To quickly configure this example, copy the following command, paste it into a text file, remove any line breaks, change any details necessary to match your network configuration, copy and paste the command into the CLI at the [edit] hierarchy level, and then enter commit from configuration mode.

content_copy zoom_out_map
set interfaces t1-1/0/0 encapsulation ppp
set interfaces t1-1/0/0 unit 0 compression-device lsq-0/0/0.0 
set interfaces lsq-0/0/0 unit 0 compression rtp f-max-period 2500 port minimum 2000 maximum 64009 
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 CRTP on a device:

  1. Create the T1 interface.

    content_copy zoom_out_map
    [edit]
    user@host# edit interfaces t1-1/0/0
    
  2. Set the type of encapsulation.

    content_copy zoom_out_map
    [edit interfaces t1-1/0/0]
    user@host# set encapsulation ppp
    
  3. Add the link services intelligent queuing interface to the physical interface.

    content_copy zoom_out_map
    [edit interfaces t1-1/0/0]
    user@host# edit unit 0
    user@host# set compression-device lsq-0/0/0.0
    
  4. Create an interface and set the logical unit.

    content_copy zoom_out_map
    [edit interfaces]
    user@host# edit lsq-0/0/0 unit 0
    
  5. Configure the link services intelligent queuing interface.

    content_copy zoom_out_map
    [edit interfaces lsq-0/0/0 unit 0]
    user@host# set compression rtp f-max-period 2500 port minimum 2000 maximum 64009
    
Results

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

content_copy zoom_out_map
[edit]
    user@host# show interfaces
    lsq-0/0/0 {
    unit 0 {
        compression {
        rtp {
        f-max-period 2500;
            port minimum 2000 maximum 64009;
            }
        }
    }
}
    t1-1/0/0 {
        encapsulation ppp;
    unit 0 {
        compression-device lsq-0/0/0.0;
            }
        }

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

Verification

Confirm that the configuration is working properly.

Verifying the CRTP Configuration

Purpose

Verify the CRTP configuration.

Action

From operational mode, enter the show interfaces command.

footer-navigation