Supported Platforms
Related Documentation
Configuring CESoPSN Encapsulation on DS Interfaces on Channelized OC3/STM1 (Multi-Rate) Circuit Emulation MIC with SFP
This configuration applies to the mobile backhaul application shown in Mobile Backhaul Application.
This topic includes the following tasks:
Setting the Encapsulation Mode
To configure a DS interface on Circuit Emulation MICs with CESoPSN encapsulation at the provider edge (PE) router:
- In configuration mode, go to the [edit interfaces ds-mpc-slot/mic-slot/port<:channel>] hierarchy level.[edit]user@host# edit interfaces ds-mpc-slot/mic-slot/port<:channel>
For example:
[edit]user@host# edit interfaces ds-1/0/0:1:1:1 - Configure CESoPSN as the encapsulation type and set the
logical interface for the DS interface.[edit interfaces ds-mpc-slot/mic-slot/port<:channel>]user@host# set encapsulation cesopsn unit logical-unit-number
For example:
[edit interfaces ds-1/0/0:1:1:1]user@host# set encapsulation cesopsn unit 0
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:
- In configuration mode, go to the [edit interfaces ds-fpc-slot/pic-slot/port:channel] hierarchy level.[edit]user@host# edit interfaces ds-fpc-slot/pic-slot/port:channel
For example:
[edit]user@host# edit interfaces ds-1/0/0:1:1:1 - Use the edit command to go to the [edit cesopsn-options] hierarchy level.[edit]user@host# edit cesopsn-options
- In this hierarchy level, using the set command
you can configure the following CESoPSN 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).
Note: In this section, we are configuring only one CESoPSN option. You can follow the same method to configure all the other CESoPSN options.
[edit interfaces ds-1/0/0:1:1:1 cesopsn-options]user@host# set excessive-packet-loss-rate sample-period sample-periodFor example:
[edit interfaces ds-1/0/0:1:1:1 cesopsn-options]user@host# set excessive-packet-loss-rate sample-period 4000 - excessive-packet-loss-rate—Set packet
loss options. The options are sample-period and threshold.
To verify this configuration, 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:
- In configuration mode, go to the [edit protocols l2circuit] hierarchy level.[edit]user@host# edit protocol l2circuit
- 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.[edit protocol l2circuit]user@host# set neighbor ip-address interface interface-name-fpc-slot/pic-slot/port.interface-unit-number virtual-circuit-id virtual-circuit-id
For example:
[edit protocol l2circuit]user@host# set neighbor 10.255.0.6 interface ds-1/0/0:1:1:1 virtual-circuit-id 1
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.