Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Supported Platforms

Example: Configuring Layer 2 Circuit Transport Mode on ATM MICs

This example shows how to configure Layer 2 circuit transport mode on ATM MICs.

Requirements

This example uses the following hardware and software components:

  • Junos OS Release 12.1 or later for MX Series routers
  • A single MX Series router with an ATM MIC with SFP

Overview

This example provides information about configuring the Layer 2 circuit transport mode on MX Series routers with ATM MICs with SFP. You can configure the Layer 2 circuit cell-relay or Layer 2 circuit AAL5 transport mode. Layer 2 circuit cell-relay and Layer 2 circuit AAL5 transport modes allow you to send ATM cells between ATM interfaces across a Layer 2 circuit-enabled network. Layer 2 circuits are designed to transport Layer 2 frames between provider edge (PE) routers across an MPLS backbone. In Layer 2 circuit cell-relay transport mode, ATM cells are bundled together and transported in packet form to the far-end router, where they are segmented back into individual ATM cells and forwarded to the ATM virtual circuit configured for the far-end router. You use Layer 2 circuit AAL5 transport mode to send AAL5 segmentation and reassembly protocol data units (SAR-PDUs) over the Layer 2 circuit.

Configuration

To configure Layer 2 circuit transport mode, perform these tasks:

Configuring Layer 2 Circuit AAL5 Transport Mode

CLI Quick Configuration

To quickly configure interface-level Layer 2 circuit AAL5 transport mode, copy and paste the following commands into the CLI:

[edit]set interface at-0/2/2 atm-options vpi 9set interface at-0/2/2 unit 0 encaps atm-ccc-vc-mux set interface at-0/2/2 unit 0 vci 9.99

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 in the CLI User Guide.

Step-by-Step Procedure

To configure Layer 2 circuit AAL5 transport mode on the ATM MIC with SFP, perform the following tasks:

  1. In configuration mode, go to the [edit interfaces] hierarchy level and set the interface as at-0/2/2.
    [edit]user@host# edit interfaces at-0/2/2
  2. Set the ATM virtual path identifier (VPI) to 9, by including the vpi 9 statement.
    [edit interfaces at-0/2/2]user@host# set vpi 9
  3. Configure unit 0 and the physical interface encapsulation.
    [edit interfaces at-0/2/2]user@host# edit unit 0[edit interfaces at-0/2/2 unit 0]user@host# set encapsulation atm-ccc-vc-mux
  4. Specify the ATM virtual circuit identifier (VCI) as 9.9.
    [edit interfaces at-0/2/2 unit 0]user@host#set vci 9.9

Results

To view the configuration of AAL5 transport mode:

[edit]user@host# show
[edit interfaces]at-0/1/0 {atm-options {vpi 9;}unit 0 {encapsulation atm-ccc-vc-mux;vci 9.9;}}

Configuring Layer 2 Circuit Cell-Relay Transport Mode

CLI Quick Configuration

To quickly configure interface-level Layer 2 circuit cell-relay transport mode, copy and paste the following commands into the CLI:

[edit]set interface at-0/2/2 atm-options vpi 10set interface at-0/2/2 unit 0 encaps atm-ccc-cell-relayset interface at-0/2/2 unit 0 vci 10.100



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 in the CLI User Guide.

Step-by-Step Procedure

To configure Layer 2 circuit cell-relay transport mode on the ATM MIC with SFP, perform the following tasks:

  1. In configuration mode, go to the [edit interfaces] hierarchy level and set the interface as at-0/2/2.
    [edit]user@host# edit interfaces at-0/2/2
  2. Set the ATM virtual path identifier (VPI) to 10, by including the vpi 10 statement.
    [edit interfaces at-0/2/2]user@host# set vpi 10
  3. Configure unit 0 and the physical interface encapsulation.
    [edit interfaces at-0/2/2]user@host# edit unit 0[edit interfaces at-0/2/2]user@host# set encapsulation atm-ccc-cell-relay
  4. Specify the ATM virtual circuit identifier (VCI) as 10.100.
    [edit interfaces at-0/2/2 unit 0]user@host#set vci 10.100

Results

To view the configuration of cell-relay transport mode:

[edit]user@host# show
[edit interfaces]at-0/1/0 {atm-options {vpi 10;}unit 0 {encapsulation atm-ccc-cell-relay;vci 10.100;}}

Published: 2013-07-30

Supported Platforms

Published: 2013-07-30