tdm-encapsulation-number

Function

The tdm-encapsulation-number command configures the number of TDM frames that are encapsulated in a Circuit Emulation Service over Packet Switched Network (CESoPSN) or Structure-Agnostic Time Division Multiplexing over Packet (SAToP) packet in the TDMoPSN application.

The undo tdm-encapsulation-number command restores the default number of TDM frames in a CESoPSN or SAToP packet.

By default, the number of encapsulated TDM frames in a CESoPSN or SAToP packet is 8.

Format

tdm-encapsulation-number tdmEncapNumber

undo tdm-encapsulation-number

Parameters

Parameter Description Value
tdmEncapNumber

Specifies the number of TDM frames encapsulated in a CESoPSN or SAToP packet.

The value is an integer that ranges from 1 to 40. The default value is 8.

Views

PW template view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2vpn write

Usage Guidelines

Usage Scenario

When a dynamic PW is configured on a TDM interface, three parameters need to be negotiated between the two ends of the PW. They are the RTP header, time slot number, and time slot number x number of encapsulated frames.

You can configure the number of TDM frames encapsulated into each PW packet. The smaller the number of frames encapsulated into a packet, the shorter the transmission delay but the larger the encapsulation overhead. The larger the number of frames encapsulated into a packet, the higher the bandwidth utilization but the longer the encapsulation delay.

Prerequisites

A PW template has been created using the pw-template command and the PW template view is displayed.

Configuration Impact

After the tdm-encapsulation-number command is run, the two ends of a PW will negotiate the number of frames encapsulated into each packet. If they cannot reach an agreement, the PW cannot go Up.

Follow-up Procedure

After running the tdm-encapsulation-number command, run the reset pw command to allow the attributes in the PW template to take effect on the PW. To check whether the configuration of the number of TDM frames encapsulated into each packet has taken effect on the PW, run the display mpls l2vc command to view the TDM Encapsulation Number field.

Precautions

The mpls l2vc command can also be used to configure the number of TDM frames encapsulated into each packet if tdm-encapsulation is specified in the command. If both the mpls l2vc command and tdm-encapsulation-number command are used to configure the number of TDM frames encapsulated into each packet, the mpls l2vc command takes precedence over the tdm-encapsulation-number command.

Example

# Set the number of the TDM frames encapsulated in a CESoPSN or SAToP packet to 8.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] quit
[*HUAWEI] mpls l2vpn
[*HUAWEI-l2vpn] quit
[*HUAWEI] pw-template tdmpw
[*HUAWEI-pw-template-tdmpw] tdm-encapsulation-number 8
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >