# PDSN Service RoHC Configuration Mode Commands

The PDSN Service RoHC Configuration Mode is used to configure RoHC (Robust Header Compression) parameters the PDSN service conveys to the PCF in the initial A11 RRP message before PPP authentication.

IMPORTANT:

The commands, keywords and variables in this mode are available dependent on platform type, product version, and installed license(s).
cid-mode

Enters the RoHC Profile Compression Options Configuration mode.and configures options that apply during RoHC compression for the current RoHC profile.
Platform:

ASR 5000

ASR 5500
Product:

PDSN
Privilege:

Security Administrator, Administrator
Syntax

    cid-mode { large | small } max-cid integerdefault cid-mode

default

Reset all options in the RoHC Profile Compression Configuration mode to their default values.
large

Use large packets with optional information for RoHC
small

This is the default packet size.

Use small RoHC packets.
max-cid integer

Default: 15

The highest context ID number to be used by the compressor. integer must be an integer from 0 through 15 when small packet size is selected and must be an integer from 0 through 31 when large packet size is selected.
Usage:

Use this command to set the RoHC packet size and define the maximum
Example:
The following command sets large RoHC packet size and sets the maximum CID to 100:

    cid-mode large max-cid 100

The following command sets the cid-mode to the default settings of small packets and max-cid 0:

    default cid-mode

end

Exits the current configuration mode and returns to the Exec mode.
Product:

All
Privilege:

Security Administrator, Administrator
Syntax

    end

Usage:

Use this command to return to the Exec mode.
exit

Exits the current mode and returns to the parent configuration mode.
Product:

All
Privilege:

Security Administrator, Administrator
Syntax

    exit

Usage:

Use this command to return to the parent configuration mode.
mrru

Sets the size of the largest reconstructed reception unit, in octets, that the decompressor is expected to reassemble from segments. The size includes the CRC. If MRRU is negotiated to be 0, no segment headers are allowed on the channel.
Platform:

ASR 5000

ASR 5500
Product:

PDSN
Privilege:

Security Administrator, Administrator
Syntax

    mrru num_octetsdefault mrru

default

reset the value of this command to its default setting
num_octets

Default: 0

This is the number of octets for the maximum size of the largest reconstructed reception unit allowed. num_octets must be an integer from 0 through 65535.
Usage:

Use this command to set the size, in octets, of the largest reconstructed reception unit, in octets, that the decompressor is expected to reassemble from segments.
Example:
The following command sets the largest reconstructed reception unit to 1024 octets:

    mrru 1024

The following command resets the mrru size to its default of 0 octets:

    default mrru

profile

Specifies the header compression profiles to use. A header compression profile is a specification of how to compress the headers of a specific kind of packet stream over a specific kind of link. At least one profile must be specified.
Platform:

ASR 5000

ASR 5500
Product:

PDSN
Privilege:

Security Administrator, Administrator
Syntax

    profile { [ esp-ip ] [ rtp-udp ] [ udp-ip ]  [ uncompressed-ip ] }default profile

default

Default: esp-ip rtp-udp udp-ip uncompressed-ip

This command sets the RoHC profile configuration back to its default setting.
esp-ip

This enables RoHC Profile 0x0003 which is for ESP/IP compression, compression of the header chain up to and including the first ESP header, but not subsequent subheaders.
rtp-udp

This enables RoHCProfile 0x0001 which is for RTP/UDP/IP compression
udp-ip

This enables RoHC Profile 0x0002 which is for UDP/IP compression, compression of the first 12 octets of the UDP payload is not attempted.
uncompressed-ip

This enables RoHC Profile 0x0000 which is for sending uncompressed IP packets.
Usage:

Us this command to specify the RoHC header compression profiles to use.
Example:
The following command sets the profiles to use as esp-ip and rtp-udp:

    profile esp-ip rtp-udp