Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Configuring CESoPSN Encapsulation on DS Interfaces

 

This configuration applies to the mobile backhaul application shown in Mobile Backhaul Application.

Setting the Encapsulation Mode

To configure a DS interface on Circuit Emulation MICs with CESoPSN encapsulation at the provider edge (PE) router:

  1. In configuration mode, go to the [edit interfaces ds-mpc-slot/mic-slot/port<:channel>] hierarchy level.

    For example:

  2. Configure CESoPSN as the encapsulation type and set the logical interface for the DS interface.

    For example:

To verify this configuration, use the show command at the [edit interfaces ds-1/0/0:1:1:1] hierarchy level:

You do not need to configure any circuit cross-connect family because it is automatically created for the CESoPSN encapsulation.

Setting the CESoPSN Options

To configure CESoPSN options:

  1. In configuration mode, go to the [edit interfaces ds-fpc-slot/pic-slot/port:channel] hierarchy level.

    For example:

  2. Use the edit command to go to the [edit cesopsn-options] hierarchy level.
  3. At this hierarchy level, using the set command you can configure the following CESoPSN options:Note

    When you stitch pseudowires by using interworking (iw) interfaces, the device stitching the pseudowire cannot interpret the characteristics of the circuit because the circuits originate and terminate in other nodes. To negotiate between the stitching point and circuit endpoints, you need to configure the following options.

    • excessive-packet-loss-rate—Set packet loss options. The options are sample-period and threshold.

      • sample-period—Time required to calculate excessive packet loss rate (from 1000 through 65,535 milliseconds).

      • threshold—Percentile designating the threshold of excessive packet loss rate (1–100 percent).

    • idle-pattern—An 8-bit hexadecimal pattern to replace TDM data in a lost packet (from 0 through 255).

    • jitter-buffer-latency—Time delay in the jitter buffer (from 1 through 1000 milliseconds).

    • jitter-buffer-packets—Number of packets in the jitter buffer (from 1 through 64 packets).

    • packetization-latency—Time required to create packets (from 1000 through 8000 microseconds).

    • payload-size—Payload size for virtual circuits that terminate on Layer 2 interworking (iw) logical interfaces (from 32 through 1024 bytes).

    Note

    This topic shows the configuration of only one CESoPSN option. You can follow the same method to configure all the other CESoPSN options.

    For example:

To verify the configuration using the values shown in the examples, use the show command at the [edit interfaces ds-1/0/0:1:1:1] hierarchy level:

Configuring the Pseudowire Interface

To configure the TDM pseudowire at the provider edge (PE) router, use the existing Layer 2 circuit infrastructure, as shown in the following procedure:

  1. In configuration mode, go to the [edit protocols l2circuit] hierarchy level.
  2. Configure the IP address of the neighboring router or switch, the interface forming the Layer 2 circuit, and the identifier for the Layer 2 circuit.

    For example:

To verify this configuration, use the show command at the [edit protocols l2circuit] hierarchy level.

After the customer edge (CE)-bound interfaces (for both PE routers) are configured with proper encapsulation, packetization latency, and other parameters, the two PE routers try to establish a pseudowire with Pseudowire Emulation Edge-to-Edge (PWE3) signaling extensions. The following pseudowire interface configurations are disabled or ignored for TDM pseudowires:

  • ignore-encapsulation

  • mtu

The supported pseudowire type is 0x0015 CESoPSN basic mode.

When the local interface parameters match the received parameters, and the pseudowire type and control word bit are equal, the pseudowire is established.

For detailed information about configuring TDM pseudowire, see the Junos OS VPNs Library for Routing Devices.

For detailed information about PICs, see the PIC Guide for your router.